FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kCudaStatus_Peek ( )

Returns a kStatus code that represents any accumulated cuda runtime errors.

The Cuda runtime accumulates all past errors (on a per-thread basis) until they are explicitly cleared. This method can be used to get error state without clearing it. It is equivalent to passing the result of cudaPeekAtLastError to kCudaStatus_Convert.

Returns
kStatus value representing any accumulated Cuda error state.