For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).
get_amd_bf8_dtype
get_amd_bf8_dtype() -> DType
Gets the appropriate BF8 dtype for the current AMD GPU architecture.
Returns:
DType: - DType.float8_e5m2 for CDNA4+ and RDNA4+ GPUs
DType.float8_e5m2fnuzfor CDNA1-3 GPUsDType.invalidfor RDNA3 (no native BF8 support).