We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78235d0 commit 3bdc448Copy full SHA for 3bdc448
libdevice/cmake/modules/SYCLLibdevice.cmake
@@ -197,8 +197,8 @@ function(add_devicelibs filename)
197
endforeach()
198
199
foreach(arch IN LISTS devicelib_arch)
200
- list(FIND ${ARG_SKIP_ARCHS} ${arch} skip_idx)
201
- if (skip_idx EQUAL -1)
+ list(FIND ${ARG_SKIP_ARCHS} "${arch}" skip_idx)
+ if (${skip_idx} EQUAL -1)
202
compile_lib(${filename}-${arch}
203
FILETYPE bc
204
SRC ${ARG_SRC}
0 commit comments