-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
breakpoint()
using PTX brkpt
instruction
See https://docs.nvidia.com/cuda/parallel-thread-execution/#miscellaneous-instructions-brkpt This is implemented using the low-level API because an overload with the high-level API causes the breakpoint to look like a function call that the code has entered, which is a bit confusing for the user.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters