From 1be987268e4354fd8c50ef6835134d95e4c656a3 Mon Sep 17 00:00:00 2001 From: Satyanvesh Dittakavi <53337087+satyanveshd@users.noreply.github.com> Date: Thu, 24 Feb 2022 20:55:21 +0530 Subject: [PATCH] SWDEV-312141 - Renaming of enum to avoid shadow variable compilation warning (#2487) Change-Id: I0579d8b3e4175f14ad28f9f4b263fa0a792a9120 [ROCm/hip commit: c093f29d32d0a015def353453f8d00556ea30bf8] --- projects/hip/include/hip/hip_bfloat16.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/include/hip/hip_bfloat16.h b/projects/hip/include/hip/hip_bfloat16.h index 642090b4f5..eb99206632 100644 --- a/projects/hip/include/hip/hip_bfloat16.h +++ b/projects/hip/include/hip/hip_bfloat16.h @@ -56,7 +56,7 @@ struct hip_bfloat16 enum truncate_t { - truncate + truncate_0 }; __host__ __device__ hip_bfloat16() = default;