microsoft / OpenCLOn12

The OpenCL-on-D3D12 mapping layer
MIT License
104 stars 13 forks source link

Question about how to debug openclon12 #59

Closed peterer0625 closed 2 months ago

peterer0625 commented 2 months ago

Hello, we’d like to know how to debug openclon12. We installed the pack https://apps.microsoft.com/detail/9nqpsl29bfff?hl=en-US&gl=US from MS store, and then uncovered an issue in openclon12.dll. It looks like there is no simple way to just overlay a private build DLL file. Could you share the method?

jenatali commented 2 months ago

Right, there's no easy to way to replace to DLL in the app package.

For a local debugging/testing environment, you'll need:

Once you have these pieces, you can either use the OpenCL registry keys or OpenCL environment variables, or you can typically just rename OpenCLOn12.dll to OpenCL.dll and put it next to the app.

Please do also report issues discovered.

peterer0625 commented 2 months ago

Actually, the issue is gone with the newest commit, and we'd like to understand what's the root cause. If we uncover the issue is still there, we will report the issue.