Page 1 of 1

Gathering Performance counter for OpenCL applications by PAP

PostPosted: Sat Jun 27, 2015 9:46 am
by khaleghzadeh
Hi all,

I intend to collect performance counter values for OpenCL applications, and need to gather CPU and GPU performance counters. I wonder if PAPI is able to support OpenCL programs?

Re: Gathering Performance counter for OpenCL applications by

PostPosted: Tue Jun 30, 2015 11:22 am
by s_ragate
I believe you can use PAPI to gather CPU performance counters in an OpenCl application. For GPU, PAPI uses CUPTI interface to collect the performance counters. So I am not sure if OpenCL GPU kernels can be profiled using PAPI.