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 23
    • Merge requests 23
  • 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
  • !997

Fixes for checks on optimized AXV2 architectures

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Peter W. Draper requested to merge avx2-optimized-checks into master Jan 10, 2020
  • Overview 8
  • Commits 6
  • Changes 8

Various tweaks to the unit tests that are needed to get them to complete successfully on the COSMA7 Skylake machines and AMD Rome processes, both using the Intel 2018 compiler (although these do also work for GCC/7.3.0 on COSMA7).

The volatile hints are hackish as the errors when calling cbrtf() (which caused a segfault) are only seen when optimizing and all the local variable references are optimized away, but seem to work.

The updates to testPeriodicBC are to fix an issue running on COSMA6, which looks to be down to using aligned structs in non-aligned ways. Like not using posix_memalign to allocate cells, and passing aligned structs by value, i.e. on the stack.

Edited Jan 14, 2020 by Peter W. Draper
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: avx2-optimized-checks