Skip to content

Commit 6132e56

Browse files
authored
Attempt to fix non inlined quirk for throw_boundserror
see EnzymeAD/Reactant.jl#614
1 parent 34767a3 commit 6132e56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/device/quirks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ end
4848
@gputhrow "InexactError" "Inexact conversion"
4949

5050
# abstractarray.jl
51-
@noinline throw_boundserror() =
51+
@inline throw_boundserror() =
5252
@gputhrow "BoundsError" "Out-of-bounds array access"
5353
@device_override @inline Base.throw_boundserror(A, I) = throw_boundserror()
5454

0 commit comments

Comments
 (0)