OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
thread_load.cuh File Reference
#include <cuda.h>
#include <iterator>
#include "../util_ptx.cuh"
#include "../util_type.cuh"
#include "../util_namespace.cuh"

Go to the source code of this file.

Data Structures

struct  cub::IterateThreadLoad< COUNT, MAX >
 Helper structure for templated load iteration (inductive case) More...
 
struct  cub::IterateThreadLoad< MAX, MAX >
 Helper structure for templated load iteration (termination case) More...
 

Namespaces

namespace  cub
 Optional outer namespace(s)
 

Enumerations

enum  cub::CacheLoadModifier {
  cub::LOAD_DEFAULT , cub::LOAD_CA , cub::LOAD_CG , cub::LOAD_CS ,
  cub::LOAD_CV , cub::LOAD_LDG , cub::LOAD_VOLATILE
}
 Enumeration of cache modifiers for memory load operations. More...
 

Thread I/O (cache modified)

#define _CUB_LOAD_16(cub_modifier, ptx_modifier)
 
#define _CUB_LOAD_8(cub_modifier, ptx_modifier)
 
#define _CUB_LOAD_4(cub_modifier, ptx_modifier)
 
#define _CUB_LOAD_2(cub_modifier, ptx_modifier)
 
#define _CUB_LOAD_1(cub_modifier, ptx_modifier)
 
#define _CUB_LOAD_ALL(cub_modifier, ptx_modifier)
 
template<CacheLoadModifier MODIFIER, typename InputIteratorT >
__device__ __forceinline__ std::iterator_traits< InputIteratorT >::value_type cub::ThreadLoad (InputIteratorT itr)
 Thread utility for reading memory using cub::CacheLoadModifier cache modifiers. Can be used to load any data type.
 
template<typename InputIteratorT >
__device__ __forceinline__ std::iterator_traits< InputIteratorT >::value_type cub::ThreadLoad (InputIteratorT itr, Int2Type< LOAD_DEFAULT >, Int2Type< false >)
 
template<typename T >
__device__ __forceinline__ T cub::ThreadLoad (T *ptr, Int2Type< LOAD_DEFAULT >, Int2Type< true >)
 
template<typename T >
__device__ __forceinline__ T cub::ThreadLoadVolatilePointer (T *ptr, Int2Type< true >)
 
template<typename T >
__device__ __forceinline__ T cub::ThreadLoadVolatilePointer (T *ptr, Int2Type< false >)
 
template<typename T >
__device__ __forceinline__ T cub::ThreadLoad (T *ptr, Int2Type< LOAD_VOLATILE >, Int2Type< true >)
 
template<typename T , int MODIFIER>
__device__ __forceinline__ T cub::ThreadLoad (T const *ptr, Int2Type< MODIFIER >, Int2Type< true >)
 

Detailed Description

Thread utilities for reading memory using PTX cache modifiers.

Definition in file thread_load.cuh.