FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
#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.

Parameters
EXPRESSIONExpression that evaluates to a cuda runtime status value.