raja-perf: Fix support for SYCL (#46782)
This commit is contained in:
parent
7bc1316ce4
commit
8a9bfd162d
@ -321,7 +321,7 @@ def initconfig_package_entries(self):
|
||||
entries.append(cmake_cache_option("BUILD_SHARED_LIBS", "+shared" in spec))
|
||||
entries.append(cmake_cache_option("ENABLE_OPENMP", "+openmp" in spec))
|
||||
entries.append(cmake_cache_option("RAJA_ENABLE_OPENMP_TASK", "+omptask" in spec))
|
||||
entries.append(cmake_cache_option("RAJA_ENABLE_SYCL", spec.satisfies("+sycl")))
|
||||
entries.append(cmake_cache_option("ENABLE_SYCL", spec.satisfies("+sycl")))
|
||||
|
||||
# C++17
|
||||
if spec.satisfies("@2024.07.0:") and spec.satisfies("+sycl"):
|
||||
|
Loading…
Reference in New Issue
Block a user