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.
1718 Discussions

Tune my OpenCL project with Intel® VTune™ Amplifier XE 2013

kevin_c_1
Beginner
242 Views

Hi everyone

    i want to tune my OpenCL application with Vtune. so  i just follow the instructions to profile my project with Vtune.

   here is the url : http://software.intel.com/sites/landingpage/opencl/user-guide/index.htm

   However only i can see is the collecting data for host code. i cann't find the cycle for my kernel.

  Did i miss some setting for my Vtune project? I will be glad if someone can help me or send me a teaching video or document to profile the OpenCL sample.

  And i will list the steps i have done for my setting.

 step1. download the Intel® VTune™ Amplifier XE 2013 and install it.

 step2. open the Vtune gui and create a new profile project

 step3. open the Project Properties window, and add two lines to the User-defined Environment Variables table:

ENABLE_JITPROFILING=1
CL_CONFIG_USE_VTUNE=True

 step4. also include the execution file of my openCL application, this appication is a simple array operation code with adding two element and store the result to another array.

            and the name of my kernel function is hello_world

 step5. then i press the start button, and the Vtune report the result. But i can not fine any information about the kernel.

0 Kudos
1 Reply
Raghupathi_M_Intel
242 Views
You should be able to do analyze performance through sampling profiling using the Intel® VTune™ Amplifier XE. Below are some useful links that'll help you with the process. If you are still facing issues, feel free to post here. http://software.intel.com/sites/landingpage/opencl/user-guide/index.htm http://software.intel.com/en-us/videos/channel/parallel/intel-vtune-amplifier-xe-and-opencl-demo-at-siggraph-2011/1211388216001 http://software.intel.com/sites/default/files/m/d/4/1/d/8/Webinar-3-Creating_and_Optimizing_OpenCL_Apps_-_july-2012.pdf Thanks, Raghu
0 Kudos
Reply