OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

How can I enable the image view and the data view for api debugger?

yu__xi
Beginner
331 Views

Hi, I installed the intel opencl sdk. I choose the vs option: enable OpenCL Tools API debugger, but I cannot view the image and the data. How can I solve it? Thanks. I use the GPU template provided by the SDK.

 

0 Kudos
1 Solution
Michael_C_Intel1
Moderator
331 Views

Hello XiYu,

Thanks for the interest. It was determined that buffers and image viewing features of the API debugger are limited. Documentation updates on the status of this feature are pending. Also, the API debugger feature will be removed in the 2020 version of the product.

For alternate API tracing mechanisms, users are encouraged to review clIntercept layer as well as Intel® VTune™ Amplifier.

-MichaelC

View solution in original post

4 Replies
Michael_C_Intel1
Moderator
331 Views

Hi XiY,

Please have a look at the output validation section of the developer guide notes for a reference.

For assigning images and other variables to kernels you may wish to review the kernel development framework dev guide notes. The frame work abstracts opencl kernels... It allows the developer to disassociate from OpenCL boilerplate code and focus on input and output .

The GPU template example kernel file can be populated in a KDF session.

 

-MichaelC

yu__xi
Beginner
331 Views

Hi MICHAEL C,

Thanks for your responce. I may not express my question clearly. I want to use the feature like "https://software.intel.com/en-us/openclsdk-devguide-image-view", in a vs opencl project, not only in the "session". How shall I configure it ? I click the option "enable OpenCL Tools API debugger", but can only view the trace (https://software.intel.com/en-us/openclsdk-devguide-trace-view) and object (https://software.intel.com/en-us/openclsdk-devguide-objects-tree-view), the image  (https://software.intel.com/en-us/openclsdk-devguide-image-view) and data (https://software.intel.com/en-us/openclsdk-devguide-data-view) cannot be viewed.

My OS is win10, CPU is intel 8400, and vs2017.

Thanks a lot.

weck__deniel
Beginner
331 Views

Hello dear,

Please look into the open dat file and you will get the best solution with code. You can easily follow each and every step by manually. If you can't than ping me, I will solve your problem. thanks and regards. Deniel weck

Michael_C_Intel1
Moderator
332 Views

Hello XiYu,

Thanks for the interest. It was determined that buffers and image viewing features of the API debugger are limited. Documentation updates on the status of this feature are pending. Also, the API debugger feature will be removed in the 2020 version of the product.

For alternate API tracing mechanisms, users are encouraged to review clIntercept layer as well as Intel® VTune™ Amplifier.

-MichaelC

Reply