cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

niravshah00
Journeyman III

GPU Utilization

Hi ,

How can i find what is my Gpu utilization  and also how can i find the time for which the kernel runs

I need this to make sure i am use the processing power of the gpu so need to try some combinations .

 

Thanks,

Nirav

0 Likes
4 Replies
frankas
Journeyman III

On Linux, you could simply do:

frank@quant:~$ aticonfig --adapter=0 --od-getclocks

Adapter 0 - ATI Radeon HD 5800 Series
                            Core (MHz)    Memory (MHz)
           Current Clocks :    725           1000
             Current Peak :    725           1000
  Configurable Peak Range : [550-775]     [900-1125]
                 GPU load :    80%

While running. If you want to do the profiling in code there are CAL extensions for that as well, and you can also simply use gettimeofday() and measure the time it takes for your kernel to complete.

You can see how I have done it in some crypto breaking code here:

http://reflextor.com/trac/a51/browser/tinkering/new_ati_code/A5Slice.cpp

Read the tick() function, especially the commented out parts. (Code is using a homebrewed CAL wrapper, but it should be easier to understand this way)

 

 

0 Likes

i think the wntire process of GPU setting is a bit compkicated, therefore you should consult with an expert before moving out. 

 

commercial steam cleaner
0 Likes

Any idea what the command for Win7 looks like (is it the same?)

0 Likes

In windows environment you can use the standard OpenCL API

clGetEventProfilingInfo.(OpenCL spec)

In addition AMD provedes ATI Stream Profiler which can be used as an add-in with Visual studio.This profiler can reveal many crucial parameters regarding the kernel.



0 Likes