|
FireSync API
|
Converts a Cuda status code to a boolean value and clears Cuda error state.
The Cuda runtime accumulates all past errors until they are explicitly cleared. This approach conflicts with FireSync platform conventions, which recommend that errors should be reported via status codes returned by functions, but not otherwise maintained.
As such, this method can be used to wrap calls to the Cuda runtime. The method is equivalent to calling kCudaStatus_Filter and comparing the result with cudaSuccess.
| cudaStatus | Cuda runtime status code. |