Commit Graph

4 Commits

Author SHA1 Message Date
Tom Deakin
8b83802fb1 [OpenMP 4.5] Swap map and reduction clause on dot kernel
This fixes #42. On the Clang compiler, the map clause should appear
before the reduction clause to ensure that the evaluation order
of the clauses copies the reduction value back correctly.
This makes no difference with the Cray compiler.
2018-02-07 14:16:39 +00:00
James Price
703eb945a2 [OpenMP] Align memory (2MB by default) 2017-03-13 17:17:20 +00:00
Tom Deakin
d75b0004de [OMP] Update deconstructor to only call target region if building for GPU 2016-12-13 11:45:30 +00:00
Tom Deakin
e6615944f4 Use a compiler switch to select OpenMP directives (target or parallel for) 2016-12-09 12:24:08 +00:00