Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pxl-th committed Jan 6, 2025
1 parent dc41907 commit 051cd6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/JLArrays/src/JLArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ mutable struct JLArray{T, N} <: AbstractGPUArray{T, N}
end

name = GPUArrays.AllocCache.CacheAllocatorName[]
return name == :none ?
return name :none ?
_alloc_f() :
GPUArrays.AllocCache.alloc!(_alloc_f, JLArray, name, (T, dims))::JLArray{T, N}
end
Expand Down

0 comments on commit 051cd6d

Please sign in to comment.