pub fn abort() -> !
device
Abort the CUDA kernel using the trap system call.
trap
abort poisons the CUDA context and no more work can be performed in it.
abort