From ab0ee58d2fadc83394b7dbb6bf7523dfb77105bb Mon Sep 17 00:00:00 2001 From: Chris Elrod Date: Wed, 25 Jan 2023 17:07:15 -0500 Subject: [PATCH] max-methods=1 --- Project.toml | 2 +- src/StrideArraysCore.jl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 494c29e..9df674e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "StrideArraysCore" uuid = "7792a7ef-975c-4747-a70f-980b88e8d1da" authors = ["Chris Elrod and contributors"] -version = "0.4.5" +version = "0.4.6" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/StrideArraysCore.jl b/src/StrideArraysCore.jl index 7d03e4b..9ee9e39 100644 --- a/src/StrideArraysCore.jl +++ b/src/StrideArraysCore.jl @@ -1,4 +1,8 @@ module StrideArraysCore +if isdefined(Base, :Experimental) && + isdefined(Base.Experimental, Symbol("@max_methods")) + @eval Base.Experimental.@max_methods 1 +end using LayoutPointers, ArrayInterface, ThreadingUtilities, ManualMemory, IfElse, Static