Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • SWIFTsim SWIFTsim
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • SWIFT
  • SWIFTsimSWIFTsim
  • Merge requests
  • !200

Macro vectorisation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged James Willis requested to merge macro-vectorisation into master Jul 14, 2016
  • Overview 3
  • Commits 14
  • Changes 18

Created a macro called WITH_VECTORIZATION in config.h that enables vectorisation throughout the code. Replaced all occurrences of VECTORIZE with WITH_VECTORIZATION throughout the code. Replaced compiler macros, i.e __AVX__,__MIC__ with platform defined macros: HAVE_AVX, HAVE_AVX512_F... in vector.h.

Added place holders for vectorised versions of force and density interactions for Gadget2 and Minimal SPH schemes. An error will be displayed at runtime if the code is compiled with vectorisation enabled and using either Gadget2 or Minimal SPH schemes.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: macro-vectorisation