Unverified Commit 3cbe5e02 authored by PanZezhong1725's avatar PanZezhong1725 Committed by GitHub
Browse files

Merge pull request #84 from PanZezhong1725/issue/82

issue/82 重构tensor描述
parents 9874946c 0a9029f8
......@@ -117,7 +117,7 @@ def test(
# Invalidate the shape and strides in the descriptor to prevent them from being directly used by the kernel
for tensor in [a_tensor, b_tensor, c_tensor]:
tensor.descriptor.contents.invalidate()
tensor.destroyDesc(lib)
# Get workspace size and create workspace
workspace_size = c_uint64(0)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment