|
FireSync API
|
| 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.