Store#
- group thread_store
Enums
-
enum cache_store_modifier#
These enum values are used to specify caching behaviour on store.
Values:
-
enumerator store_default#
Default (no modifier)
-
enumerator store_wb#
Cache write-back all coherent levels.
-
enumerator store_cg#
Cache at global level.
-
enumerator store_cs#
Cache streaming (likely to be accessed once)
-
enumerator store_wt#
Cache write-through (to system memory)
-
enumerator store_volatile#
Volatile shared (any memory space)
-
enumerator store_default#
Functions
-
template<cache_store_modifier MODIFIER = store_default, typename OutputIteratorT, typename T>
__device__ inline void thread_store(OutputIteratorT itr, T val)# Store data using the default load instruction. No support for cache modified stores yet.
- Template Parameters:
MODIFIER – Value in enum for determine which type of cache store modifier to be used
OutputIteratorT – Type of Output Iterator
T – Type of Data to be stored
- Parameters:
itr – [in] Iterator to location where data is to be stored
val – [in] Data to be stored
-
template<cache_store_modifier MODIFIER = store_default, typename T>
__device__ inline void thread_store(T *ptr, T val)# Store data using the default load instruction. No support for cache modified stores yet.
- Template Parameters:
MODIFIER – Value in enum for determine which type of cache store modifier to be used
T – Type of Data to be stored
- Parameters:
ptr – [in] Pointer to location where data is to be stored
val – [in] Data to be stored
-
enum cache_store_modifier#