Skip to content

Commit b313cd3

Browse files
committed
added maxlog=1 to get_num_threads warning for AppleAccelerate
1 parent 92436bd commit b313cd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lbt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ end
222222

223223
function lbt_get_num_threads()
224224
if (basename(first(lbt_get_config().loaded_libs).libname) === "Accelerate")
225-
@warn "Apple Accelerate does not report number of threads, returning 1 instead"
225+
@warn "Apple Accelerate does not report number of threads, returning 1 instead" maxlog=1
226226
end
227227
return ccall((:lbt_get_num_threads, libblastrampoline), Int32, ())
228228
end

0 commit comments

Comments
 (0)