Skip to content

Commit 3cbd96a

Browse files
committed
Disable setting SUM ptrs only on Windows
1 parent e3a8ba2 commit 3cbd96a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cl/kernel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ function call(
303303
clSetKernelExecInfo(k, CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT, sizeof(bda_pointers), bda_pointers)
304304
end
305305
# XXX: Causes crashes on Windows
306-
if !isempty(usm_pointers)
306+
if !isempty(usm_pointers) && !Sys.iswindows()
307307
clSetKernelExecInfo(k, CL_KERNEL_EXEC_INFO_USM_PTRS_INTEL, sizeof(usm_pointers), usm_pointers)
308308
end
309309
end

0 commit comments

Comments
 (0)