CHIP-SPV / chipStar

chipStar is a tool for compiling and running HIP/CUDA on SPIR-V via OpenCL or Level Zero APIs.
Other
182 stars 29 forks source link

[Level Zero] Incorrect event reference count #770

Closed pvelesko closed 6 months ago

pvelesko commented 6 months ago

Event checker was only returning events back to their pool of origin once the shared_ptr use count was 1. It should have been 2 (one for the current reference and one for the vector of origin)

Switching to 2 results in hangs indicating a missing dependency link somewhere.