From 5b07e0ed91965cdeb68499f3b11c9012dffd45e0 Mon Sep 17 00:00:00 2001 From: Rahul Manocha Date: Thu, 15 Aug 2024 10:10:16 -0700 Subject: [PATCH] SWDEV-468039 - add fp8 ocp hip data type Change-Id: I3466decd096df2b6a1d3430979ff20204596369d [ROCm/hip commit: 4d4c6a44e96283ed67a11fd2fcbc75dbf4c9c7b9] --- projects/hip/include/hip/library_types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/include/hip/library_types.h b/projects/hip/include/hip/library_types.h index f5570d5e9e..56aebf75fe 100644 --- a/projects/hip/include/hip/library_types.h +++ b/projects/hip/include/hip/library_types.h @@ -58,6 +58,8 @@ typedef enum hipDataType { HIP_C_64I = 25, HIP_R_64U = 26, HIP_C_64U = 27, + HIP_R_8F_E4M3 = 28, + HIP_R_8F_E5M2 = 29, // HIP specific Data Types HIP_R_8F_E4M3_FNUZ = 1000, HIP_R_8F_E5M2_FNUZ = 1001