Source/Packages

Accelerator.SM90.InstructionEncoding

packages/hardware/architectures/nvidia-sm90/src/Accelerator/SM90/InstructionEncoding.alpha

500 lines73 declarations29.3 KiBSHA-256 6893fe9ca611

def · lines 401–409

sm90LoadWidthOf

Full file
(a strong word of another size, or other strength bits, re-encodes to a different word: the canonical check refuses it)
401def sm90LoadWidthOf = (lambda unrestricted size : Nat . (lambda unrestricted strength : Nat .
402  (sm90Choose (family SM90GlobalLoadWidth) (naturalEqual size sm90Size128)
403    (sm90Choose (family SM90GlobalLoadWidth) (naturalIsZero strength)
404      (constructor SM90GlobalLoadWidth SM90GlobalLoad128)
405      (sm90Choose (family SM90GlobalLoadWidth) (naturalEqual strength 4)
406        (constructor SM90GlobalLoadWidth SM90GlobalLoad128ReadOnly)
407        (constructor SM90GlobalLoadWidth SM90GlobalLoad128Strong)))
408    (sm90Choose (family SM90GlobalLoadWidth) (naturalIsZero strength)
409      (constructor SM90GlobalLoadWidth SM90GlobalLoad32) (constructor SM90GlobalLoadWidth SM90GlobalLoad32Strong)))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.