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

Method ToLocalSlice

catboost/cuda/cuda_lib/mapping.h:129–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127 }
128
129 TSingleMapping ToLocalSlice(const TSlice& slice) const {
130 CB_ENSURE(GetObjectsSlice().Contains(slice));
131 return TSingleMapping(DeviceId, slice.Size(), SingleObjectSize());
132 }
133
134 TSlice DeviceSlice(ui64 dev) const {
135 if (dev != DeviceId) {

Callers 2

SliceViewMethod · 0.45
ColumnsViewMethod · 0.45

Calls 3

TSingleMappingClass · 0.70
ContainsMethod · 0.45
SizeMethod · 0.45

Tested by

no test coverage detected