From 62e49c17d954741d5396032d36873b7ca7e4a208 Mon Sep 17 00:00:00 2001 From: Christian Guinard <28689358+christiangnrd@users.noreply.github.com> Date: Fri, 28 Nov 2025 13:40:24 -0400 Subject: [PATCH] Disable setting SUM ptrs only on Windows --- lib/cl/kernel.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/cl/kernel.jl b/lib/cl/kernel.jl index 8533ed3b..4fafec50 100644 --- a/lib/cl/kernel.jl +++ b/lib/cl/kernel.jl @@ -302,7 +302,8 @@ function call( if !isempty(bda_pointers) clSetKernelExecInfo(k, CL_KERNEL_EXEC_INFO_DEVICE_PTRS_EXT, sizeof(bda_pointers), bda_pointers) end - if !isempty(usm_pointers) + # XXX: Causes crashes on Windows + if !isempty(usm_pointers) && !Sys.iswindows() clSetKernelExecInfo(k, CL_KERNEL_EXEC_INFO_USM_PTRS_INTEL, sizeof(usm_pointers), usm_pointers) end end