NVIDIA / NVIDIA/cuda-samples

wrong parameter configuration

Open
#307 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C++
Stars
9.6k
Forks
2.4k
Avg merge
53m
Merged PRs (30d)
1

Description

The line 376 in the file "cudaTensorCoreGemm.cu" :
"float *tile_ptr = shmem_warp_tile_ptr + i * SHMEM_STRIDE * K + j * N;"
should be modified to "float *tile_ptr = shmem_warp_tile_ptr + i * SHMEM_STRIDE * M + j * N;"
This is applied to the tf32 and double precision.
For the result matrix, there is nothing about the K dimension when streaming from the fragment to the shared memory.

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.

Research direction

Open cudaTensorCoreGemm.cu and inspect line 376 along with the surrounding TF32 and double-precision paths. Confirm the parameter uses the result matrix dimensions consistently in both cases, then validate the affected sample behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
hpc
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.