NVIDIA / NVIDIA/CUDALibrarySamples
Test program contraction_simple.cu needs a fix!
Open
@springer13 is already working on this.
Since Mar 11, 2021.
cuTENSOR
- Dominant language
- Cuda
- Stars
- 2.5k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
https://github.com/NVIDIA/CUDALibrarySamples/blob/e7250e4efd75f6698d0984d91ee6a440dd414dd5/cuTENSOR/contraction_simple.cu#L139
https://github.com/NVIDIA/CUDALibrarySamples/blob/e7250e4efd75f6698d0984d91ee6a440dd414dd5/cuTENSOR/contraction_simple.cu#L140
should be

I spent a few hours debugging this hahaha. The results become correct when it is alpha and beta only! No need to take a pointer of a pointer. It's a last-minute small mistake when converting the code to a function, I guess.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.