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 5f85484 commit 948d7b1Copy full SHA for 948d7b1
lib/mpsgraphs/matmul.jl
@@ -1,4 +1,9 @@
1
-
+#=
2
+Creates a default MPSGraphExecutionDescriptor with a MPSGraphCompilationDescriptor
3
+ set to use optimization level 0 instead of 1. This is because level 1 causes operations
4
+ on eltypes <= 16 bytes to be executed on the ANE instead of the GPU, leading to worse
5
+ performance and hangs when the matrices are too big
6
+=#
7
@static if isdefined(Base, :OncePerProcess) # VERSION >= v"1.12.0-DEV.1421"
8
const default_exec_desc = OncePerProcess{MPSGraphExecutionDescriptor}() do
9
compDesc = MPSGraphCompilationDescriptor()
0 commit comments