cuda_error_handler
static int cuda_error_handler(void *, int, uint8_t *);
cuda_set_handler(sc, CUDA_ERROR, cuda_error_handler, sc);