| 91 | } |
| 92 | template <typename TIndex> |
| 93 | void RangeInit(const GPUDevice& d, const TIndex start, const TIndex delta, |
| 94 | const int64 size, TIndex* out) { |
| 95 | GpuLaunchConfig config = GetGpuLaunchConfig(size, d); |
| 96 | RangeInitKernel<TIndex> |
| 97 | <<<config.block_count, config.thread_per_block, 0, d.stream()>>>( |
| 98 | start, delta, size, out); |
| 99 | } |
| 100 | template <typename TIndex> |
| 101 | void MoveValues(const GPUDevice& d, const TIndex* keys, const TIndex* values, |
| 102 | const int64 size, TIndex* out) { |
no test coverage detected