GPUOpen-Archive/CodeXL

how to debug a OpenCL wrapped in a DLL ?

zlucode opened this issue · 2 comments

hi experts,

Our OpenCL program is not a exe file, it's packed in a DLL file. User can link DLL to use the feature we offer. But seems CodeXL only can only accept exe file as target when create a project.
So could someone tell me how to debug/profiling the DLL file? or debug the exe which links the DLL file? (exe file itself is not a OpenCL program).

thanks.

If the application is linking against your DLL debugging should proceed as expected since the DLL with OpenCL code will be loaded at some point during execution. You just need to point CodeXL to the .exe file and you should be able to proceed as normal.