Click or drag to resize
Intrinsic Class
This module contains intrinsic functions for kernel writing, such as __syncthreads, __sizeof and various converters.
Inheritance Hierarchy
SystemObject
  AleaIntrinsic

Namespace:  Alea
Assembly:  Alea (in Alea.dll) Version: 3.0.4.5
Syntax
public static class Intrinsic

The Intrinsic type exposes the following members.

Methods
  NameDescription
Public methodStatic member__address_of_arrayT
Public methodStatic member__address_of_array2dT
Public methodStatic member__address_of_array3dT
Public methodStatic member__alignofT
Returns the alignment of type T.
Public methodStatic member__all
Evaluates predicate for all active threads of the warp and return non-zero if and only if predicate evaluates to non-zero for all of them. Read more here.
Public methodStatic member__any
Evaluates predicate for all active threads of the warp and return non-zero if and only if predicate evaluates to non-zero for any of them. Read more here.
Public methodStatic member__atomic_addT
Public methodStatic member__atomic_casT
Public methodStatic member__atomic_decT
Public methodStatic member__atomic_exchT
Public methodStatic member__atomic_incT
Public methodStatic member__atomic_maxT
Public methodStatic member__atomic_minT
Public methodStatic member__atomic_subT
Public methodStatic member__ballot
Evaluates predicate for all active threads of the warp and return an integer whose Nth bit is set if and only if predicate evaluates to non-zero for the Nth thread of the warp and the Nth thread is active. Read more here.
Public methodStatic member__clock
Public methodStatic member__clock64
Public methodStatic member__default_valueT
Returns a default value of type 'T.
Public methodStatic member__device_onlya
Function to indicate that this code is generated and only runs on the GPU device. On the CPU it fails with message "device only".
Public methodStatic member__device_only_with_messagea
Function to indicate that this code is generated and only runs on the GPU device. On the CPU it fails with message string given by <c>message</c>.
Public methodStatic member__evalT
Public methodStatic member__exit
Public methodStatic member__is_static_constantT
Public methodStatic member__laneid
Returns the warp lane ID of the calling thread.
Public methodStatic member__lanemask_ge
Returns the warp lane mask of all lanes greater than or equal to the calling thread.
Public methodStatic member__lanemask_gt
Returns the warp lane mask of all lanes greater than the calling thread.
Public methodStatic member__lanemask_le
Returns the warp lane mask of all lanes less than or equal to the calling thread.
Public methodStatic member__lanemask_lt
Returns the warp lane mask of all lanes less than the calling thread.
Public methodStatic member__linearbid
Returns linear block index in 3 dimensions.
Public methodStatic member__linearbid1
Returns linear block index in 1 dimension.
Public methodStatic member__linearbid2
Returns linear block index in 2 dimensions.
Public methodStatic member__linearbid3
Returns linear block index in 3 dimensions.
Public methodStatic member__lineartid
Returns linear thread index in 3 dimensions.
Public methodStatic member__lineartid1
Returns linear thread index in 1 dimension.
Public methodStatic member__lineartid2
Returns linear thread index in 2 dimensions.
Public methodStatic member__lineartid3
Returns linear thread index in 3 dimensions.
Public methodStatic member__nullT
Returns an instance of deviceptr<'T> pointing to 0n, e.g. a null pointer.
Public methodStatic member__ptr_reinterpretT, U
Public methodStatic member__ref_reinterpretT, U
Public methodStatic member__ref_to_objT
Public methodStatic member__ref_to_ptrT
Public methodStatic member__shflT
Public methodStatic member__shfl_downT
Public methodStatic member__shfl_down_rawT
Public methodStatic member__shfl_rawT
Public methodStatic member__shfl_upT
Public methodStatic member__shfl_up_rawT
Public methodStatic member__shfl_xorT
Public methodStatic member__shfl_xor_rawT
Public methodStatic member__sizeofT
Returns the size of type T.
Public methodStatic member__static_assert
Assertion in kernel compile time. Parameter pred must be a compile time constant.
Public methodStatic member__syncthreads
Wait until all threads in the thread block have reached this pointer.
Public methodStatic member__syncthreads_and
Identical to __syncthreads() with the additional feature that it evaluates predicate for all threads of the block and returns non-zero if and only if predicate evaluates to non-zero for all of them.
Public methodStatic member__syncthreads_count
Identical to __syncthreads() with the additional feature that it evaluates predicate for all threads of the block and returns the number of threads for which predicate evaluates to non-zero.
Public methodStatic member__syncthreads_or
Identical to __syncthreads() with the additional feature that it evaluates predicate for all threads of the block and returns non-zero if and only if predicate evaluates to non-zero for any of them.
Public methodStatic member__threadfence
Memory fence function. For more detail please refer to CUDA C Programming Guide.
Public methodStatic member__threadfence_block
Memory fence function. For more detail please refer to CUDA C Programming Guide.
Public methodStatic member__threadfence_system
Memory fence function. For more detail please refer to CUDA C Programming Guide.
Public methodStatic member__trap
Public methodStatic member__undefT
Returns an undefined value of type 'T.
Public methodStatic member__warp_size
Returns number of warp threads.
Public methodStatic member__warpid
Returns the warp ID of the calling thread. Warp ID is guaranteed to be unique among warps, but may not correspond to a zero-based ranking within the thread block.
Top
See Also