MCPcopy Create free account
hub / github.com/catboost/catboost / CompressImpl

Function CompressImpl

catboost/cuda/cuda_util/compression_helpers_gpu.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124template <typename T, typename TMapping, EPtrType Type>
125static void CompressImpl(
126 const TCudaBuffer<ui32, TMapping>& src,
127 TCudaBuffer<T, TMapping, Type>& dst,
128 ui32 uniqueValues,
129 ui32 stream) {
130 using TKernel = TCompressKernel<T, Type>;
131 LaunchKernels<TKernel>(src.NonEmptyDevices(), stream, src, dst, NCB::IntLog2(uniqueValues));
132}
133
134#define Y_CATBOOST_CUDA_F_IMPL_PROXY(x) \
135 Y_CATBOOST_CUDA_F_IMPL x

Callers

nothing calls this directly

Calls 2

IntLog2Function · 0.50
NonEmptyDevicesMethod · 0.45

Tested by

no test coverage detected