SWDEV-227909 - Add gcnArchName

Change-Id: Iea6d16b5d693dd0d900fa424d7a321c39315430e
이 커밋은 다음에 포함됨:
Jason Tang가 2020-06-05 15:33:55 -04:00를 커밋했습니다
1 부모 ea913c964a
커밋 593b8a093f
2 파일이 변경됨
+2 -2

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -58,7 +58,7 @@ int main(int argc, char* argv[]) {
CHECK(hipGetDeviceProperties(&props, device /*deviceID*/));
printf("info: running on device %s\n", props.name);
#ifdef __HIP_PLATFORM_HCC__
printf("info: architecture on AMD GPU device is: %d\n", props.gcnArch);
printf("info: architecture on AMD GPU device is: %s\n", props.gcnArchName);
#endif
printf("info: allocate host mem (%6.2f MB)\n", 2 * Nbytes / 1024.0 / 1024.0);
A_h = (float*)malloc(Nbytes);