thrust
Namespaces | Classes | Functions
thrust::system Namespace Reference

thrust::system is the namespace which contains functionality for manipulating memory specific to one of Thrust's backend systems. It also contains functionality for reporting error conditions originating from the operating system or other low-level application program interfaces such as the CUDA runtime. They are provided in a separate namespace for import convenience but are also aliased in the top-level thrust namespace for easy access. More...

Namespaces

 cpp
 thrust::system::cpp is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's standard C++ backend system. The identifiers are provided in a separate namespace underneath thrust::system for import convenience but are also aliased in the top-level thrust::cpp namespace for easy access.
 
 cuda
 thrust::system::cuda is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's CUDA backend system. The identifiers are provided in a separate namespace underneath thrust::system for import convenience but are also aliased in the top-level thrust::cuda namespace for easy access.
 
 omp
 thrust::system::omp is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's OpenMP backend system. The identifiers are provided in a separate namespace underneath thrust::system for import convenience but are also aliased in the top-level thrust::omp namespace for easy access.
 
 tbb
 thrust::system::tbb is the namespace containing functionality for allocating, manipulating, and deallocating memory available to Thrust's TBB backend system. The identifiers are provided in a separate namespace underneath thrust::system for import convenience but are also aliased in the top-level thrust::tbb namespace for easy access.
 

Classes

class  error_category
 The class error_category serves as a base class for types used to identify the source and encoding of a particular category of error code. Classes may be derived from error_category to support categories of errors in addition to those defined in the C++ International Standard. More...
 
class  error_code
 The class error_code describes an object used to hold error code values, such as those originating from the operating system or other low-level application program interfaces. More...
 
class  error_condition
 The class error_condition describes an object used to hold values identifying error conditions. More...
 
struct  is_error_code_enum
 
struct  is_error_code_enum< cuda::errc::errc_t >
 
struct  is_error_condition_enum
 
struct  is_error_condition_enum< errc::errc_t >
 
class  system_error
 The class system_error describes an exception object used to report error conditions that have an associated error_code. Such error conditions typically originate from the operating system or other low-level application program interfaces. More...
 

Functions

const error_categorycuda_category (void)
 
error_code make_error_code (cuda::errc::errc_t e)
 
error_condition make_error_condition (cuda::errc::errc_t e)
 
const error_categorygeneric_category (void)
 
const error_categorysystem_category (void)
 
error_code make_error_code (errc::errc_t e)
 
bool operator< (const error_code &lhs, const error_code &rhs)
 
template<typename charT , typename traits >
std::basic_ostream< charT, traits > & operator<< (std::basic_ostream< charT, traits > &os, const error_code &ec)
 
error_condition make_error_condition (errc::errc_t e)
 
bool operator< (const error_condition &lhs, const error_condition &rhs)
 
bool operator== (const error_code &lhs, const error_code &rhs)
 
bool operator== (const error_code &lhs, const error_condition &rhs)
 
bool operator== (const error_condition &lhs, const error_code &rhs)
 
bool operator== (const error_condition &lhs, const error_condition &rhs)
 
bool operator!= (const error_code &lhs, const error_code &rhs)
 
bool operator!= (const error_code &lhs, const error_condition &rhs)
 
bool operator!= (const error_condition &lhs, const error_code &rhs)
 
bool operator!= (const error_condition &lhs, const error_condition &rhs)
 

Detailed Description

thrust::system is the namespace which contains functionality for manipulating memory specific to one of Thrust's backend systems. It also contains functionality for reporting error conditions originating from the operating system or other low-level application program interfaces such as the CUDA runtime. They are provided in a separate namespace for import convenience but are also aliased in the top-level thrust namespace for easy access.