GPUOpen-Tools / gpu_performance_api

GPU Performance API for AMD GPUs
MIT License
250 stars 46 forks source link

Possibility of getting hardware counters at regular intervals #8

Closed trinayan closed 7 years ago

trinayan commented 7 years ago

I am working on a research project that requires me to have access to the counters at regular intervals instead of at the end of an application. Is it possible to use this tool?

chesik-amd commented 7 years ago

Hi Trinayan,

GPA allows you to bracket GPU workloads in order to collect performance counters for an individual workload. A workload can be one or more draw calls or a dispatch. You should be able to use GPA to sample different workloads while your application is running. However, if you are talking about time-based sampling a particular workload (i.e. you want to see how a particular counter value changes while a single dispatch is running), that is not currently supported.

trinayan commented 7 years ago

Ok thanks a lot for the information

trinayan commented 7 years ago

Is there any example on how to use gpuperf with a opencl application. ?