cuda-samples icon indicating copy to clipboard operation
cuda-samples copied to clipboard

Is there any sgemm example ( e.g. fp32) ?

Open whatdhack opened this issue 2 months ago • 2 comments

Looking for a sgemm example. Any one knows where to find one ?

whatdhack avatar Nov 06 '25 17:11 whatdhack

https://github.com/NVIDIA/cuda-samples/blob/master/Samples/4_CUDA_Libraries/simpleCUBLAS/simpleCUBLAS.cpp shows the use of CUBLAS sgemm.

jnbntz avatar Nov 06 '25 18:11 jnbntz

Looks like it needs to be modified to get some metrics like the bf16TensorCoreGemm example.

whatdhack avatar Nov 07 '25 17:11 whatdhack