-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationuserUser submitted issueUser submitted issue
Milestone
Description
At the end of the page https://intelpython.github.io/numba-dppy/latest/user_guides/debugging/local_variables.html, the script ends before the function review() is called:
@dppy.func
def revive(x):
return x
@dppy.kernel(debug=True)
def data_parallel_sum(a, b, c):
i = dppy.get_global_id(0)
l1 = a[i] + 2.5
l2 = b[i] * 0.3
c[i] = l1 + l2
revive(a) <--- This line is missing
Below the above script, annotations seem to have mismatch with line numbers:
# --- LINE 24 --- <--- This should refer the line 21 in the above script
@dppy.kernel(debug=True)
There is also another annotation example in this page, and that seems to have similar issue with line numbers mismatching with the associated script.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdocumentationImprovements or additions to documentationImprovements or additions to documentationuserUser submitted issueUser submitted issue