CHIP-SPV / chipStar

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

Additional mutexes #685

Closed pvelesko closed 11 months ago

pvelesko commented 11 months ago

OpenCL calls MemMap/MemUnmap. This results in queue operations inside hipMalloc, etc.

Also seems to decrease the unit test runtime from 17s to 1s which matches Level Zero performance.

Fixes #657

pjaaskel commented 11 months ago

Shall we include the fix also to Release-1.1?

pvelesko commented 11 months ago

Shall we include the fix also to Release-1.1?

682 should also be included in that case - but I am trying to figure out why the intel cpu runner is not picking up any OpenCL devices even though PoCL works and everything works on cupcake.

pvelesko commented 11 months ago

Actually #682 can wait there's one more thing I need to check on that. But still need to fix the intel runner in either case.

pjaaskel commented 11 months ago

682 looks to intrusive at this point, let's postpone to the next release.