clMathLibraries / clBLAS

a software library containing BLAS functions written in OpenCL
Apache License 2.0
843 stars 237 forks source link

how abort clAmdBlase Tune module #125

Open binghy opened 9 years ago

binghy commented 9 years ago

Hi everybody,

I just needed to run a Blas function (clAmdBlasiSamax) to get the index of the maximum value in a float array. Tested, worked fine, very happy, but...performance is the aim. Running CodeXL I saw from the host thread resume that calling clAmdBlasSetup invokes clGetDevicesIDs and Info, calling the previous function determines building the program many times, and so on. I found that maybe it should be due to tuning, didn't know at all.

Since I just want to call clAmdBlasiSamax without tuning the system, is there a way to abort\delete\skip clAmdBlas Tune module definitively\completely?

Thanks in advance,

Marco