NVIDIA / NVIDIA/CUDALibrarySamples

Test program contraction_simple.cu needs a fix!

Open
#26 2 comments 0 reactions 1 assignee View on GitHub

@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

image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.