Open
Description
Objects that have been created with interop APIs often lack important pieces of information, required for info queries. For example, urEventCreateWithNativeHandle
expects a native CUDA handle, and the resulting event handle will lack a reference to a UR queue. However, urEventGetInfo
has no checks for whether an object was created with a native API or not, neither it will return an error in that case. Instead the returned queue handle will be invalid, i.e. == nullptr
:
unified-runtime/source/adapters/cuda/event.cpp
Lines 160 to 183 in 2b7b827