Hello,
I started using CodeXL only recently and still have some trouble in making it do what I want.
The debugger shows the value of stack variables but so far I could not find any possiblity to show the memory located at an arbitrary address.
Apparently there is supposed to be the option to show the contents of the buffers passed to the function but I always get the error message "Object is currently unavailable".
This happens with every project, even the Teapot example, and I am confused whether this is a bug or I am doing something wrong.
Solved! Go to Solution.
Hi Alol,
The message "Object is currently unavailable" is displayed while the debugger is performing kernel debugging, i.e. while you're stepping through the source code of an OpenCL kernel.
To view the content of buffers you need to pause execution while not debugging a kernel. This can be done in several ways. The 2 most simple ways are:
Hi Alol,
The message "Object is currently unavailable" is displayed while the debugger is performing kernel debugging, i.e. while you're stepping through the source code of an OpenCL kernel.
To view the content of buffers you need to pause execution while not debugging a kernel. This can be done in several ways. The 2 most simple ways are:
Thank you, adding a breakpoint to clEnqueNDRangeKernel is what I was looking for.