We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0877a32 commit 395871eCopy full SHA for 395871e
CMakeLists.txt
@@ -107,11 +107,13 @@ if ("x${DPNP_SYCL_TARGETS}" STREQUAL "x")
107
else()
108
set(_dpnp_sycl_targets ${DPNP_SYCL_TARGETS})
109
110
- if (DPNP_SYCL_TARGETS MATCHES "nvptx64-nvidia-cuda")
+ if (${DPNP_SYCL_TARGETS} MATCHES "nvptx64-nvidia-cuda")
111
+ set(_use_onemkl_interfaces ON)
112
set(_use_onemkl_interfaces_cuda ON)
113
endif()
114
- if (DPNP_SYCL_TARGETS MATCHES "amdgcn-amd-amdhsa")
115
+ if (${DPNP_SYCL_TARGETS} MATCHES "amdgcn-amd-amdhsa")
116
117
set(_use_onemkl_interfaces_hip ON)
118
119
if (NOT "x${HIP_TARGETS}" STREQUAL "x")
0 commit comments