Skip to content

Commit 534e6bf

Browse files
committed
Send tensorfree over to TO
1 parent ec253b6 commit 534e6bf

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
@@ -66,3 +66,6 @@ TensorOperations = "5.5.2, 5.6"
6666
TupleTools = "1.5"
6767
VectorInterface = "0.6"
6868
julia = "1.10"
69+
70+
[sources]
71+
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)