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 {