We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7da19f commit 9716bc8Copy full SHA for 9716bc8
src/lbt.jl
@@ -221,6 +221,9 @@ function _clear_config_with(f)
221
end
222
223
function lbt_get_num_threads()
224
+ if (basename(first(lbt_get_config().loaded_libs).libname) === "Accelerate")
225
+ @warn "Apple Accelerate does not report number of threads, returning a hardcoded default instead"
226
+ end
227
return ccall((:lbt_get_num_threads, libblastrampoline), Int32, ())
228
229
0 commit comments