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

Method Set

catboost/cuda/cuda_lib/cuda_manager.h:52–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 }
51
52 void Set(ui32 devId, T t) {
53 CB_ENSURE(devId < Data.size(), "Illegal device id #" << devId);
54 Data[devId] = t;
55 }
56
57 bool IsEmpty(ui32 devId) const {
58 return NHelpers::TEmptyObjectsHelper<T>::IsEmpty(At(devId));

Callers 15

RequestStreamMethod · 0.45
DistributedSeedFunction · 0.45
MakeSequenceGlobalImplFunction · 0.45
TailImplFunction · 0.45
CreateFeaturesBlockMethod · 0.45
CreateFeaturesBlockMethod · 0.45
SliceGroupingMethod · 0.45
MakeStripeGroupingMethod · 0.45
CreateGpuGroupingMethod · 0.45
SliceMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1

MakeOffsetsBiasFunction · 0.36