|
TraceMaker
C++ API of the engine
|
Fills an array with draws 0..n-1 of the RNG stream (seed, stage, item). More...
#include <cstdint>#include <string>#include <vector>Go to the source code of this file.
Classes | |
| struct | tmk::gpu::GpuStatus |
Namespaces | |
| namespace | tmk |
| namespace | tmk::gpu |
Functions | |
| std::vector< std::uint64_t > | tmk::gpu::philox_fill_cpu (std::uint64_t seed, std::uint32_t stage, std::uint64_t item, std::size_t n) |
| GpuStatus | tmk::gpu::philox_fill_cuda (int cuda_index, std::uint64_t seed, std::uint32_t stage, std::uint64_t item, std::size_t n, std::vector< std::uint64_t > &out) |
| GPU version. On failure (no CUDA, not enough free memory, launch error) returns !ok and leaves out empty. | |
Fills an array with draws 0..n-1 of the RNG stream (seed, stage, item).
The first GPU kernel and its CPU reference. It proves the toolchain end to end and establishes the equivalence-test pattern every later kernel follows: same inputs, bit-identical outputs.
Definition in file philox_fill.hpp.