CNugteren / CLBlast

Tuned OpenCL BLAS
Apache License 2.0
1.06k stars 202 forks source link

Press a key to 'abort' and 'continue' to next in tuning #555

Closed diverger closed 3 months ago

diverger commented 4 months ago

Hi,

I always frustrated that the tuning never completed on my platform. I know there must be some methods to make it done, by some coding work. Is it possible to add a mechanism to let the user to abort the current test and continue to next one? Then the tuning can jump the invalid configurations and won't stuck there forever.

Thanks.

CNugteren commented 3 months ago

I don't think this is easily possible. I guess what you are looking for is a separate process or something that keeps a counter and than after X seconds (or user input) kills the GPU execution in such a way that the main program can still continue? Sounds too complicated to me - better to fix the issue in either the GPU driver or CLBlast tuning itself I would say.