Skip to content

Commit bae9a95

Browse files
committed
Revert "Apply suggestions to add $"
This reverts commit aeac729.
1 parent aeac729 commit bae9a95

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/CUDAKernels/src/CUDAKernels.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,8 @@ afxs = Dict(
417417
)
418418

419419
for (afx, cfx) in afxs
420-
@device_override @inline function $afx(args...)
421-
$cfx(args...)
420+
@device_override @inline function afx(args...)
421+
cfx(args...)
422422
end
423423
end
424424
end

src/cpu.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ if Base.VERSION < v"1.7.0"
255255
atomic_or!, atomic_sub!, atomic_xchg!, atomic_xor!]
256256

257257
for afx in afxs
258-
@inline function $afx(ctx, idx::CartesianIndex)
258+
@inline function afx(ctx, idx::CartesianIndex)
259259
atomic_error(args...)
260260
end
261261
end

0 commit comments

Comments
 (0)