vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
# core/src/ops/hash/entropy/spec.toml
# v1 schema. See coordination/spec-toml-schema.md for field reference.

schema_version = 1

id = "hash.entropy"
archetype = "hash-bytes-to-u32"
display_name = "Shannon Entropy"
summary = "Fixed-point Shannon entropy estimate over a byte buffer."
category = "A"
composition_of = [
    "primitive.math.add",
    "primitive.math.mul",
    "primitive.math.div",
    "primitive.bitwise.and",
    "primitive.compare.eq",
    "primitive.compare.ne",
    "primitive.compare.lt",
]

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

equivalence_classes = [
    "empty",
    "all_same_byte",
    "two_symbol_uniform",
    "uniform_byte_distribution",
]

workgroup_size = [256, 1, 1]

tags = ["statistics", "entropy", "shannon", "fixed-point", "f32-bracket-pending"]
fixtures_dir = "fixtures/"