Timer for PLASMA

Open forum for general discussions relating to PLASMA.

Timer for PLASMA

Postby jgpallero » Fri Jan 04, 2013 7:54 am

Hello:

Can I use safety functions as gettimeofday() (POSIX) in order to conpute the execution time of PLASMA functions? I ask about because for example in OpenMP the omp_get_wtime() should be used in order to manage the possible various threads that can mislead other standard time functions.

Thanks
jgpallero
 
Posts: 29
Joined: Sat Jul 28, 2012 12:12 pm

Re: Timer for PLASMA

Postby admin » Fri Jan 04, 2013 2:49 pm

You can use safely gettimeofday() to time PLASMA functions.
If you are using the standard (LAPACK) interface, simply put the calls before and after.
If you are using the async interface, remember to put wait after the call (and before the second gettimeofday).
Jakub
admin
Site Admin
 
Posts: 79
Joined: Wed May 13, 2009 1:27 pm


Return to User discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron