-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add KOKKOSKERNELS_FORCE_SIMD macro (Fix #1040)
to attempt to force vectorization of a standard for loop, using the pragmas that are available. It won't use "#pragma omp simd" together with either "#pragma vector always" or "#pragma ivdep", because in the OneAPI compilers (dpcpp and icpx) those can't be used together on the same loop.
- Loading branch information
1 parent
4b9e29b
commit ddf68f4
Showing
3 changed files
with
38 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters