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

Method Build

catboost/cuda/cuda_lib/devices_list.h:106–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104 }
105
106 TDevicesList Build() {
107 if (Result.End < Result.Begin) {
108 Y_ASSERT(Result.DevicesSet.count() == 0);
109 Result.Begin = Result.End = TDevicesList::MaxDeviceCount;
110 }
111 return Result;
112 }
113
114 static TDevicesList SingleDevice(ui64 devId) {
115 return TDevicesListBuilder().AddDevice(devId).Build();

Callers 12

SingleDeviceMethod · 0.45
ComputeTimeMethod · 0.45
ComputeTimeMethod · 0.45
ComputeTimeMethod · 0.45
TestReduceFunction · 0.45
TestReducePerformanceFunction · 0.45
TestReduceFunction · 0.45
ConvertMethod · 0.45
TestMakeFlagsImplFunction · 0.45

Calls 1

countMethod · 0.45

Tested by 5

TestReduceFunction · 0.36
TestReducePerformanceFunction · 0.36
TestReduceFunction · 0.36
TestMakeFlagsImplFunction · 0.36