Improve the error report of gdrcopy_pplat when the CUDA kernel cannot be launched

Open
#289 0 comments 0 reactions 1 assignee View on GitHub

@pakmarkthub is already working on this.

Since Jan 5, 2024.

Assessment

This issue has not been assessed yet.

Description

enhancement

gdrcopy_pplat may be compiled with one CUDA TK but run with a different version. Although the CUDA JIT compiler should take care of converting PTX to the target version, it fails in some situations. Currently we get the following error, which is indistinguishable from other errors.

...
CPU does gdr_copy_to_mapping and GPU writes back via cuMemHostAlloc'd buffer.
Running 1000 iterations with data size 4 bytes.
Assertion "(cuStreamQuery(0)) == (CUDA_ERROR_NOT_READY)" failed at pplat.cu:257
Dominant language
C
Stars
1.4k
Forks
198
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from NVIDIA/gdrcopy

All issues in NVIDIA/gdrcopy

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.