- Returns
- A reference to an object of a type derived from class
thrust::error_category
.
- Note
- The object's
equivalent
virtual functions shall behave as specified for the class thrust::error_category
. The object's name
virtual function shall return a pointer to the string "cuda"
. The object's default_error_condition
virtual function shall behave as follows:
If the argument ev
corresponds to a CUDA error value, the function shall return error_condition(ev,cuda_category())
. Otherwise, the function shall return system_category.default_error_condition(ev)
.
Referenced by thrust::system::cuda::experimental::pinned_allocator< T >::deallocate().