flexiblas icon indicating copy to clipboard operation
flexiblas copied to clipboard

RFE: per-package default backend

Open Enchufa2 opened this issue 5 years ago • 4 comments

From a distro point of view, a system-wide default works for most cases, but it would be nice to have a way to set a different default for certain packages in a future version.

For example, Fedora's current system-wide default, openblas-openmp, makes some scipy's tests crash randomly. A similar thing was observed for clblast. Checking with FLEXIBLAS=netlib is the safest option and solves all these problems, but it would be better to be able to set a different default altogether for these.

Enchufa2 avatar Aug 20 '20 14:08 Enchufa2

In general a good idea but I have no suitable idea yet, how this could be realized.

grisuthedragon avatar Aug 28 '20 13:08 grisuthedragon

This is long term. I have to think about it too. I'll extend the discussion here if something comes to mind.

Enchufa2 avatar Aug 28 '20 13:08 Enchufa2

I have an first idea. One could parse /proc/self/cmdline on startup for a per-application setting.

grisuthedragon avatar Oct 20 '20 06:10 grisuthedragon

That seems promising!

Enchufa2 avatar Oct 20 '20 07:10 Enchufa2