CUDALibrarySamples icon indicating copy to clipboard operation
CUDALibrarySamples copied to clipboard

Test program contraction_simple.cu needs a fix!

Open faruknane opened this issue 3 years ago • 2 comments

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.

faruknane avatar Mar 10 '21 18:03 faruknane

Hi @faruknane, this issue should be fixed now.

v0i0 avatar Jul 25 '23 20:07 v0i0

@v0i0 Thanks I guess? After 2 years 😃

faruknane avatar Jul 25 '23 20:07 faruknane