summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/kokkos/package.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/kokkos/package.py b/var/spack/repos/builtin/packages/kokkos/package.py
index fef37d2ac7..b5277e40a8 100644
--- a/var/spack/repos/builtin/packages/kokkos/package.py
+++ b/var/spack/repos/builtin/packages/kokkos/package.py
@@ -120,7 +120,12 @@ class Kokkos(CMakePackage, CudaPackage):
"core2": None,
"ivybridge": "SNB",
"broadwell": "BDW",
- "skylake": "SKX",
+ # @AndrewGaspar: Kokkos does not have an arch for plain-skylake - only
+ # for Skylake-X (i.e. Xeon). For now, I'm mapping this to Broadwell
+ # until Kokkos learns to optimize for SkyLake without the AVX-512
+ # extensions. SkyLake with AVX-512 will still be optimized using the
+ # separate `skylake_avx512` arch.
+ "skylake": "BDW",
"icelake": "SKX",
"skylake_avx512": "SKX",
}