https://bugs.freedesktop.org/show_bug.cgi?id=102233
--- Comment #2 from Jan Vesely <[email protected]> ---
Can you try initializing the num_gpu, num_cpu, num_accel variables?
clGetDeviceIDs returns CL_DEVICE_NOT_FOUND error if there are no devices
matching the requested type. This does not set num_devices output parameter to
0.
Unless the variables are initialized to 0, the loop on line 135 accesses devids
array out of bounds.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel