MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / MoveValuesKernel

Function MoveValuesKernel

tensorflow/core/kernels/unique_ali_op_gpu.cu.cc:59–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58template <typename TIndex>
59__global__ void MoveValuesKernel(const TIndex* keys, const TIndex* values,
60 const int64 size, TIndex* out) {
61 GPU_1D_KERNEL_LOOP(i, size) {
62 TIndex key = ldg(keys + i);
63 out[key] = ldg(values + i);
64 }
65}
66template <typename TIndex>
67__global__ void MoveValuesKernel(const TIndex* keys, const TIndex* values,
68 const int64* size_ptr, TIndex* out) {

Callers

nothing calls this directly

Calls 1

ldgFunction · 0.85

Tested by

no test coverage detected