Skip to content

Characterize AMD XDNA bfp16ebs8 block-8 semantics on silicon #146

Description

@aravishankar-mp

Part of #110.

Question

What exact numerical contract does XDNA2 bfp16ebs8 implement on the reference NPU, and can one
TOSA/OCP-style block-32 MXINT8 value be mapped into four block-8 groups without changing results?

This ticket advertises nothing. bfp16ebs8 is an AMD vendor block-8 shared-exponent format, not
ordinary FP16/BF16 and not the TOSA 1.1-draft block-32 MX contract. Background and current official
status: docs/research/tosa-int8-block-fp-status.md.

Required probes

  • Freeze the element encoding, shared-exponent encoding/alignment, block ordering, and byte layout.
  • Measure rounding, normalization, saturation/overflow, signed zero, subnormals, infinities, and
    NaNs from host-generated edge vectors.
  • Compare native block-8 results with a pinned block-32 E8M0 + MXINT8 reference model across cases
    where the four sub-block exponents agree and disagree.
  • Determine whether the hardware exposes conversion, MATMUL, or both, and whether accumulation is
    integer, BF16, FP32, or another documented contract.
  • Record exact toolchain/runtime/device revisions and preserve minimal backend-local artifacts for
    repeatable on-metal testing.

Exit criteria

  • A cited research note and bit-level reference model describe the observed vendor format.
  • On-metal tests distinguish exact matches from mismatches with the pinned MX hypothesis.
  • The result explicitly chooses one of: exact MX mapping, transform with documented loss, or
    distinct vendor-only contract.
  • No public TOSA Target, extension bit, TosaCapabilityProvider row, or stable protocol value is
    added by this ticket.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area: backendAccelerator traits, mock backend, and provider conformancearea: verificationSecurity, fuzzing, model tests, and performance evidenceenhancementNew feature or requestkind: designSpecification or architectural design workwayfinder:researchWayfinder research ticket (AFK)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions