MCPcopy Create free account
hub / github.com/Meshcapade/difflocks / load

Function load

extensions/include/cuMat/src/CudaUtils.h:20–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 */
19 template<typename T>
20 __device__ CUMAT_STRONG_INLINE T load(const T* ptr)
21 {
22 //#if __CUDA_ARCH__ >= 350
23 // return __ldg(ptr);
24 //#else
25 return *ptr;
26 //#endif
27 }
28#if __CUDA_ARCH__ >= 350
29#define LOAD(T) \
30 template<> \

Callers 3

coeffFunction · 0.85
getRawCoeffFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected