https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51119
--- Comment #19 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> --- If I can get something working I am thinking something like -fexternal-blas-n, if -n not given then default to current libblas behaviour. This way users have some control. With GPUs, it is not unusual to have hundreds of cores. We can also, at run time, see if the opencl is already initialized which may mean used elsewhere so don't mess with it.