MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / fetch

Function fetch

src/backend/cuda/kernel/regions.hpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35// Wrapper function for texture fetch
36template<typename T>
37static inline __device__ T fetch(const int n,
38 arrayfire::cuda::Param<T> equiv_map,
39 cudaTextureObject_t tex) {
40 return tex1Dfetch<T>(tex, n);
41}
42
43template<>
44__device__ inline double fetch<double>(const int n,

Callers 1

update_equivFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected