Skip to main content

Module handle

Module handle 

Source
Expand description

Handle and RNG primitives for oxicuda-graphalg.

Mirrors the pattern of oxicuda-tn and oxicuda-cvx.

Provides:

  • SmVersion tagging GPU compute capability.
  • LcgRng a minimal LCG (MMIX variant) pseudo-random generator that uses bit 32 for boolean sampling (LCG low bits have period defects).
  • GraphalgHandle bundling SM version and a seeded RNG.

Structsยง

GraphalgHandle
Top-level graph algorithm computation handle bundling SM version and a seeded RNG.
LcgRng
Minimal LCG (MMIX variant) pseudo-random number generator.
SmVersion
SM compute capability version (e.g. 75 for SM 7.5, 100 for Blackwell SM 10.0).