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

Method Run

catboost/cuda/cuda_util/gpu_random.cpp:148–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146 Y_SAVELOAD_DEFINE(Seeds, Result);
147
148 void Run(const TCudaStream& stream) const {
149 Y_ASSERT(Result.Size() < (static_cast<ui64>(1) << 32));
150 Y_ASSERT(Result.Size() == Result.ObjectCount());
151 NKernel::UniformRand(Seeds.Get(), Result.Size(), Result.Get(), stream.GetStream());
152 }
153 };
154}
155

Callers

nothing calls this directly

Calls 4

SizeMethod · 0.45
ObjectCountMethod · 0.45
GetMethod · 0.45
GetStreamMethod · 0.45

Tested by

no test coverage detected