-
Notifications
You must be signed in to change notification settings - Fork 32
Add docs for breakpoints #459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs for breakpoints #459
Conversation
20 @dppy.kernel | ||
|
||
|
||
``breakpoints with nested functions`` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`` is backquotes: ``text`` for code samples.
See https://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#inline-markup.
You quotes not a code sample but a usual caption.
(gdb) run | ||
|
||
Thread 2.2 hit Breakpoint 1, with SIMD lanes [0-7], __main__::data_parallel_sum () at simple_sum.py:20 | ||
20 i = dppy.get_global_id(0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the previous example line "20" was @dppy.kernel
``breakpoints with nested functions`` | ||
------------------------------------- | ||
|
||
Consider ``numba-dppy`` kernel code. See folder ``numba_dppy/examples/debug/simple_dppy_func.py``: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why folder if it is a source file?
Add documentation for breakpoints