Static Analysis - access violations #4383
Unanswered
danchitnis
asked this question in
Q&A
Replies: 1 comment
-
Is cuda-memcheck useful for you ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, is there a way to detect buffer access violations in SYCL code? Running the code below results in different behaviour with a segmentation fault on
HOST
andCPU
, but not onGPU
(CUDA).(@FMarno for finding the issue and the code)
For CPU:
Results:
For GPU:
Results:
If I run
scan-build
it will also fail due to an error.:Beta Was this translation helpful? Give feedback.
All reactions