Define CUDA_TRY

CUDA_TRY(call)

Error checking macro for CUDA runtime API functions.

Invokes a CUDA runtime API function call, if the call does not return cudaSuccess, invokes cudaGetLastError() to clear the error and throws an exception detailing the CUDA error that occurred

© Copyright 2023, NVIDIA. Last updated on Aug 23, 2023.