From 2ffc9ecbb3ef5e72f99927509a951ff652b4fa7a Mon Sep 17 00:00:00 2001 From: Sean Keely Date: Fri, 15 May 2020 16:53:11 -0500 Subject: [PATCH] Remove gfx1030 references. Options seem to be gfx1030 and gfx1030. Change-Id: I3e33e3a950d1b950e10163612b892d9c382628fa --- runtime/hsa-runtime/image/device_info.cpp | 2 +- runtime/hsa-runtime/image/resource_nv.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/hsa-runtime/image/device_info.cpp b/runtime/hsa-runtime/image/device_info.cpp index 1f886a5df2..d936f68957 100755 --- a/runtime/hsa-runtime/image/device_info.cpp +++ b/runtime/hsa-runtime/image/device_info.cpp @@ -156,7 +156,7 @@ uint32_t DevIDToAddrLibFamily(uint32_t dev_id) { case 10: switch (minor_ver) { - case 0: // Ariel + case 0: case 1: // Navi switch (step) { case 0: diff --git a/runtime/hsa-runtime/image/resource_nv.h b/runtime/hsa-runtime/image/resource_nv.h index c9b382f517..4fb592371a 100755 --- a/runtime/hsa-runtime/image/resource_nv.h +++ b/runtime/hsa-runtime/image/resource_nv.h @@ -261,7 +261,7 @@ struct sq_img_rsrc_word4_t { #if defined(LITTLEENDIAN_CPU) // For arrays this is last slice in view, for 3D this is depth-1, For remaining this is pitch-1 unsigned int DEPTH : SQ_IMG_RSC_WRD4_DEPTH_SZ; - unsigned int : 1; //Pitch[13] in gfx10.3 (NV21) + unsigned int : 1; //Pitch[13] in gfx1030 unsigned int : 2; unsigned int BASE_ARRAY : SQ_IMG_RSC_WRD4_BASE_ARR_SZ; unsigned int : 3; @@ -269,8 +269,8 @@ struct sq_img_rsrc_word4_t { unsigned int : 3; unsigned int BASE_ARRAY : SQ_IMG_RSC_WRD4_BASE_ARR_SZ; unsigned int : 2; - unsigned int : 1; //Pitch[13] in gfx10.3 (NV21) - unsigned int DEPTH : SQ_IMG_RSC_WRD4_DEPTH_SZ; //Pitch[0:12] in gfx10.3 (NV21) + unsigned int : 1; //Pitch[13] in gfx1030 + unsigned int DEPTH : SQ_IMG_RSC_WRD4_DEPTH_SZ; //Pitch[0:12] in gfx1030 #endif }; union SQ_IMG_RSRC_WORD4 {