Mojo function
get_amd_fp8_dtype
get_amd_fp8_dtype() -> DType
Gets the appropriate FP8 dtype for the current AMD GPU architecture.
Returns:
DType: - DType.float8_e4m3fn for CDNA4+ and RDNA4+ GPUs
DType.float8_e4m3fnuzfor CDNA1-3 GPUsDType.invalidfor RDNA3 (no native FP8 support).
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!