|
FireSync API
|
| #define kCheckCuda | ( | EXPRESSION | ) |
Executes a return statement if the given expression does not evaluate to cudaSuccess.
This macro provides the equivalent of kCheck for Cuda runtime methods.
If the expression result is not cudaSuccess, the current function will return a value that represents the expression result as a kStatus value.
| EXPRESSION | Expression that evaluates to a cuda runtime status value. |