vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
# core/src/ops/buffer/byte_swap_u32/spec.toml
# v1 schema.

schema_version = 1

id = "buffer.byte_swap_u32"
archetype = "unary-bitwise"
display_name = "Byte Swap U32"
summary = "Reverse byte order of a U32 value."
category = "C"

[intrinsic]
wgsl = "bitcast<u32>(reverseBits(bitcast<u32>(value))) by byte masks"

[signature]
inputs = ["U32"]
output = "U32"

laws = ["Involution"]
equivalence_classes = ["zero", "max_value", "single_byte", "alternating_bytes"]
workgroup_size = [64, 1, 1]
tags = ["buffer", "endian", "byte-swap", "u32"]
fixtures_dir = "fixtures/"