Replies: 1 comment 7 replies
-
Normal kernel error throwing works on GPUs? |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I was wondering if you had any advice about how to throw an error from inside a kernel that would work on any architecture? And would it be something that I could implement in KA?
Since the normal error throwing doesn't work in GPU kernels it would probably need to be like
KernelAbstractions.@print
and call@error
on CPU and perhaps@assert false
on GPU since I can't see a different way to intentionally crash CUDA kernels?Beta Was this translation helpful? Give feedback.
All reactions