| 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<> \ |
no outgoing calls
no test coverage detected