You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are currently only building interoperability programs using clCreateProgram and this always targeting an OpenCL device. The approach works only when the underlying queue is for an OpenCL device. If the device is not an OpenCL device, e.g. a Level-0 device, we get a crash late during kernel submit.
Two things needs to be done:
We should at the very least check to ensure that the queue is for an OpenCL device and give a meaningful error message right at the time of program creation.
We should create the program based on what queue is passed by the caller, i.e., use clCreateProgram or the corresponding Level-0 call.