triton.language.randint4x¶
- triton.language.randint4x(seed, offset, n_rounds: constexpr = 10)¶
Given a
seed
scalar and anoffset
block, returns four blocks of randomint32
.This is the maximally efficient entry point to Triton’s Philox pseudo-random number generator.
- Parameters:
seed – The seed for generating random numbers.
offsets – The offsets to generate random numbers for.