cuTENSOR example code in Fortran

Hello. I wanted to try using cuTENSOR in my CFD code, but I’m not being able to make it work since the official docs ( cuTENSOR: A High-Performance CUDA Library For Tensor Primitives — cuTENSOR ) have almost no information on how to use the library. Where can I find sample code for all of the major functions in cuTENSOR? I need to use binary and trinary elementwise operations, permutation operations, and reduction operations.

Thanks for the attention.

Vinicius.

The sample codes I am aware of are here.

Thanks! I didn’t know this repo existed. I’ll read the code there.

Vinicius.

There are also some Fortran examples here: