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

Function InitMemPerformanceTables

catboost/cuda/cuda_lib/cuda_manager.cpp:272–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272inline void InitMemPerformanceTables(TCudaManager& manager) {
273 manager.WaitComplete();
274 auto singleMapping = TSingleMapping(0, 42);
275 auto mirrorMapping = TMirrorMapping(42);
276
277 auto bufferSingle = TSingleBuffer<float>::Create(singleMapping);
278 auto bufferMirror = TMirrorBuffer<float>::Create(mirrorMapping);
279 Reshard(bufferSingle, bufferMirror);
280 manager.WaitComplete();
281}
282
283THolder<TStopCudaManagerCallback> StartCudaManager(const NCudaLib::TDeviceRequestConfig& requestConfig,
284 const ELoggingLevel loggingLevel) {

Callers 1

StartCudaManagerFunction · 0.85

Calls 5

ReshardFunction · 0.85
TSingleMappingClass · 0.70
TMirrorMappingClass · 0.70
CreateFunction · 0.50
WaitCompleteMethod · 0.45

Tested by

no test coverage detected