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

Method swap

tensorflow/core/kernels/topk_op_gpu.h:152–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 }
151
152 __device__ void swap(int a, int b) {
153 auto tmp = data[b];
154 data[b] = data[a];
155 data[a] = tmp;
156 }
157
158 __device__ void push_root_down(int k) { push_down(0, k); }
159

Callers 11

ComputeMethod · 0.45
PermuteLabelsFunction · 0.45
ComputeMethod · 0.45
MakeIndexSuffixesMethod · 0.45
SwapMethod · 0.45
GetNextInternalMethod · 0.45
WorkerThreadMethod · 0.45
GenerateEntryListMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected