diff --git a/src/JUDI.jl b/src/JUDI.jl index d2224c90c..a573573a3 100644 --- a/src/JUDI.jl +++ b/src/JUDI.jl @@ -178,6 +178,9 @@ function __init__() copy!(devito, pyimport("devito")) # Initialize lock at session start PYLOCK[] = ReentrantLock() + + # Prevent autopadding to use external allocator + set_devito_config("autopadding", false) # Prevent autopadding to use external allocator set_devito_config("autopadding", false)