Skip to content

CUDA call tracer#442

Closed
ikawrakow wants to merge 19 commits into
mainfrom
ik/cuda_tracer
Closed

CUDA call tracer#442
ikawrakow wants to merge 19 commits into
mainfrom
ik/cuda_tracer

Conversation

@ikawrakow

@ikawrakow ikawrakow commented May 21, 2025

Copy link
Copy Markdown
Owner

This PR adds a CUDA call tracer. The main purpose of the tracer is to hopefully help debug the illegal memory access crashes reported in #398 and #425. If there is a crash, the last 32 invocations of CUDA_CHECK will be printed to stderr before aborting. In my testing the overhead added by the tracer has negligible impact on performance.

@ikawrakow ikawrakow mentioned this pull request May 23, 2025
@ikawrakow

Copy link
Copy Markdown
Owner Author

I can close this one now.

@ikawrakow ikawrakow closed this May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant