CHECK_CUDA#

CHECK_CUDA(call)#

Checks a CUDA runtime call, logs the error, and returns false on failure.