No, there is no such tool, but you can profile your code changes. Try measuring the speed of your code, change something, and then measure it again. clEnqueueNDRangeKernel has an Event argument, which can later be used with clGetEventProfilingInfo, the timer is very sharp, accuracy is measured in microsecond order. This is the only way to measure the performance of a particular piece of code ...
Lu4
source share