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

Method MemorySize

catboost/cuda/cuda_lib/mapping.h:31–33  ·  view source on GitHub ↗

indexing without GPU-layout

Source from the content-addressed store, hash-verified

29
30 //indexing without GPU-layout
31 ui64 MemorySize(const TSlice& slice) const {
32 return slice.Size() * ObjectSize;
33 }
34
35 ui64 MemorySize() const {
36 return MemorySize(static_cast<const TImpl*>(this)->GetObjectsSlice());

Callers 12

CopyMethod · 0.80
BroadcastSliceMethod · 0.80
RunMethod · 0.80
WriteMethod · 0.80
ReadMemorySizeMethod · 0.80
ReadReduceMethod · 0.80
SubmitReadAsyncMethod · 0.80
Y_UNIT_TESTFunction · 0.80
TestReduceFunction · 0.80
TestReduceFunction · 0.80
TestAllReduceFunction · 0.80

Calls 2

SizeMethod · 0.45
GetObjectsSliceMethod · 0.45

Tested by 4

Y_UNIT_TESTFunction · 0.64
TestReduceFunction · 0.64
TestReduceFunction · 0.64
TestAllReduceFunction · 0.64