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

Method Run

catboost/cuda/cuda_util/gpu_random.cpp:36–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34 }
35
36 void Run(const TCudaStream& stream) const {
37 Y_ASSERT(Result.Size() < (static_cast<ui64>(1) << 32));
38 Y_ASSERT(Result.Size() == Result.ObjectCount());
39 NKernel::PoissonRand(Seeds.Get(), Result.Size(), Alphas.Get(), Result.Get(), stream.GetStream());
40 }
41
42 Y_SAVELOAD_DEFINE(Seeds, Alphas, Result);
43 };

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