Closed jjfumero closed 3 years ago
@jjfumero Thanks. This seems like an issue more suitable for the driver repo in https://github.com/intel/compute-runtime. Could you move the issue there so appropriate attention is given?
Closing this issue as I believe it's being handled in compute-runtime issue. Please reopen if needed.
Executing a single thread kernel (without specifying the thread-id intrinsic in the kernel) gives me wrong results.
I simplified the kernel as follows:
After running the SPIRV kernel I get wrong values in the output. However, if I run the following kernel:
I get the correct results when running with a single thread.
This is the kernel dispatch
Note, I am working on a tool that generates SPIRV, sometimes from single treads kernels (so we do not expose thread-ids). I wonder if I am missing something. I am not sure if this is an error in Level Zero, but it works in pure OpenCL.
Full program available here: https://gist.github.com/jjfumero/a15f24c567953af57c3a02a963577980
Any ideas/pointers are appreciated.