#define cuda_handle_error | ( | ... | ) | cuda_handle_error_impl(__VA_ARGS__, SYTEN_STRINGIFY(__VA_ARGS__)); |
Helper macro to handle CUDA errors, forwards to cuda_handle_error_impl() but first checks for any other errors and passes a stringified version of the call text into cuda_handle_error_impl() for pretty-printing.