Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AdaptiveArrayPools"
uuid = "4f381ef7-9af0-4cbe-99d4-cf36d7b0f233"
authors = ["Min-Gu Yoo <[email protected]>"]
version = "0.3.8"
authors = ["Min-Gu Yoo <[email protected]>"]

[deps]
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
Expand All @@ -17,7 +17,7 @@ AdaptiveArrayPoolsCUDAExt = "CUDA"
AdaptiveArrayPoolsMetalExt = "Metal"

[compat]
CUDA = "5"
CUDA = "5, 6"
Metal = "1"
Preferences = "1"
Printf = "1"
Expand Down
2 changes: 1 addition & 1 deletion ext/AdaptiveArrayPoolsCUDAExt/acquire.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ using AdaptiveArrayPools: get_view!, get_array!, allocate_vector, safe_prod,
_acquire_impl!, _acquire_view_impl!, _maybe_record_borrow!,
_MODE_BITS_MASK

using CUDA.GPUArrays: unsafe_free!
using CUDA: unsafe_free!

# Guard against CUDA.jl internal API changes (tested with v5.x).
@static if !(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ using Metal
@static if VERSION >= v"1.12-"

using AdaptiveArrayPools: AbstractTypedPool, AbstractArrayPool
using Metal.GPUArrays

include("types.jl")
include("dispatch.jl")
Expand Down
2 changes: 1 addition & 1 deletion ext/AdaptiveArrayPoolsMetalExt/acquire.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ using AdaptiveArrayPools: get_view!, get_array!, allocate_vector, safe_prod,
_acquire_impl!, _acquire_view_impl!, _maybe_record_borrow!,
_MODE_BITS_MASK

using Metal.GPUArrays: unsafe_free!
using Metal: unsafe_free!

# Guard against Metal.jl internal API changes
@static if !(
Expand Down
Loading