Skip to content

Commit c34e3e6

Browse files
committed
Disable setting SUM ptrs only on Windows
1 parent 9fd4276 commit c34e3e6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/cl/kernel.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ function call(
302302
if !isempty(bda_pointers)
303303
clSetKernelExecInfo(k, CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT, sizeof(bda_pointers), bda_pointers)
304304
end
305-
if !isempty(usm_pointers)
305+
# XXX: Causes crashes on Windows
306+
if !isempty(usm_pointers) && !Sys.iswindows()
306307
clSetKernelExecInfo(k, CL_KERNEL_EXEC_INFO_USM_PTRS_INTEL, sizeof(usm_pointers), usm_pointers)
307308
end
308309
end

0 commit comments

Comments
 (0)