Skip to content

Commit c7ebe55

Browse files
committed
Send tensorfree over to TO
1 parent b029e52 commit c7ebe55

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

‎Project.toml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,6 @@ TimerOutputs = "1"
7272
TupleTools = "1.5"
7373
VectorInterface = "0.6"
7474
julia = "1.10"
75+
76+
[sources]
77+
TensorOperations = {url = "https://github.com/QuantumKitHub/TensorOperations.jl", rev = "ksh/gputensorfree"}

‎ext/TensorKitGPUArraysExt.jl‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,4 @@ function TensorKit.add_transform_kernel!(
459459
return nothing
460460
end
461461

462-
function TensorKit.TensorOperations.tensorfree!(C::AnyGPUArray, ::DefaultAllocator)
463-
GPUArrays.unsafe_free!(C)
464-
return nothing
465-
end
466-
467462
end

0 commit comments

Comments
 (0)