OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
thread_store.cuh File Reference
#include <cuda.h>
#include "../util_ptx.cuh"
#include "../util_type.cuh"
#include "../util_namespace.cuh"

Go to the source code of this file.

Data Structures

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

Namespaces

 cub
 Optional outer namespace(s)
 

Macros

#define _CUB_STORE_16(cub_modifier, ptx_modifier)
 
#define _CUB_STORE_8(cub_modifier, ptx_modifier)
 
#define _CUB_STORE_4(cub_modifier, ptx_modifier)
 
#define _CUB_STORE_2(cub_modifier, ptx_modifier)
 
#define _CUB_STORE_1(cub_modifier, ptx_modifier)
 
#define _CUB_STORE_ALL(cub_modifier, ptx_modifier)
 

Enumerations

enum  cub::CacheStoreModifier {
  cub::STORE_DEFAULT, cub::STORE_WB, cub::STORE_CG, cub::STORE_CS,
  cub::STORE_WT, cub::STORE_VOLATILE
}
 Enumeration of cache modifiers for memory store operations. More...
 

Functions

template<typename OutputIteratorT , typename T >
__device__ __forceinline__ void cub::ThreadStore (OutputIteratorT itr, T val, Int2Type< STORE_DEFAULT >, Int2Type< false >)
 
template<typename T >
__device__ __forceinline__ void cub::ThreadStore (T *ptr, T val, Int2Type< STORE_DEFAULT >, Int2Type< true >)
 
template<typename T >
__device__ __forceinline__ void cub::ThreadStoreVolatilePtr (T *ptr, T val, Int2Type< true >)
 
template<typename T >
__device__ __forceinline__ void cub::ThreadStoreVolatilePtr (T *ptr, T val, Int2Type< false >)
 
template<typename T >
__device__ __forceinline__ void cub::ThreadStore (T *ptr, T val, Int2Type< STORE_VOLATILE >, Int2Type< true >)
 
template<typename T , int MODIFIER>
__device__ __forceinline__ void cub::ThreadStore (T *ptr, T val, Int2Type< MODIFIER >, Int2Type< true >)
 
Thread I/O (cache modified)
template<CacheStoreModifier MODIFIER, typename OutputIteratorT , typename T >
__device__ __forceinline__ void cub::ThreadStore (OutputIteratorT itr, T val)
 Thread utility for writing memory using cub::CacheStoreModifier cache modifiers. Can be used to store any data type. More...
 

Detailed Description

Thread utilities for writing memory using PTX cache modifiers.

Definition in file thread_store.cuh.