Thrust
|
Abstractions for Thrust's memory model. More...
#include <thrust/detail/config.h>
#include <thrust/detail/type_traits/pointer_traits.h>
#include <thrust/detail/pointer.h>
#include <thrust/detail/reference.h>
#include <thrust/detail/raw_pointer_cast.h>
#include <thrust/detail/raw_reference_cast.h>
#include <thrust/detail/malloc_and_free.h>
#include <thrust/detail/temporary_buffer.h>
Go to the source code of this file.
Namespaces | |
thrust | |
thrust is the top-level namespace which contains all Thrust functions and types. | |
Functions | |
template<typename DerivedPolicy > | |
__host__ __device__ pointer< void, DerivedPolicy > | thrust::malloc (const thrust::detail::execution_policy_base< DerivedPolicy > &system, std::size_t n) |
template<typename T , typename DerivedPolicy > | |
__host__ __device__ pointer< T, DerivedPolicy > | thrust::malloc (const thrust::detail::execution_policy_base< DerivedPolicy > &system, std::size_t n) |
template<typename T , typename DerivedPolicy > | |
__host__ __device__ thrust::pair< thrust::pointer< T, DerivedPolicy >, typename thrust::pointer< T, DerivedPolicy >::difference_type > | thrust::get_temporary_buffer (const thrust::detail::execution_policy_base< DerivedPolicy > &system, typename thrust::pointer< T, DerivedPolicy >::difference_type n) |
template<typename DerivedPolicy , typename Pointer > | |
__host__ __device__ void | thrust::free (const thrust::detail::execution_policy_base< DerivedPolicy > &system, Pointer ptr) |
template<typename DerivedPolicy , typename Pointer > | |
__host__ __device__ void | thrust::return_temporary_buffer (const thrust::detail::execution_policy_base< DerivedPolicy > &system, Pointer p, std::ptrdiff_t n) |
template<typename Pointer > | |
__host__ __device__ thrust::detail::pointer_traits< Pointer >::raw_pointer | thrust::raw_pointer_cast (Pointer ptr) |
template<typename T > | |
__host__ __device__ detail::raw_reference< T >::type | thrust::raw_reference_cast (T &ref) |
template<typename T > | |
__host__ __device__ detail::raw_reference< const T >::type | thrust::raw_reference_cast (const T &ref) |
Abstractions for Thrust's memory model.