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

Function MoveSparseValues

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

Source from the content-addressed store, hash-verified

114}
115template <typename T, typename TIndex>
116void MoveSparseValues(const GPUDevice& d, const TIndex* keys, const TIndex* idxs,
117 const T* values, const int64 size, T* out) {
118 GpuLaunchConfig config = GetGpuLaunchConfig(size, d);
119 MoveSparseValuesKernel<<<config.block_count, config.thread_per_block, 0,
120 d.stream()>>>(keys, idxs, values, size, out);
121}
122template <typename T, typename TIndex>
123void CompareAdjacent(const GPUDevice& d, const T* in, const int64 size,
124 TIndex* out) {

Callers 1

ComputeAsyncMethod · 0.85

Calls 2

GetGpuLaunchConfigFunction · 0.85
streamMethod · 0.45

Tested by

no test coverage detected