SWDEV-387508 - do not treat uuid as string

Signed-off-by: sdashmiz <shadi.dashmiz@amd.com>
Change-Id: I4de88330650eba4e4259686cdb5fb089b17aa8e4


[ROCm/clr commit: 261ce9837c]
이 커밋은 다음에 포함됨:
sdashmiz 작성하고 Shadi Dashmiz가 2023-04-25 09:52:12 -04:00를 커밋함
1 부모 f506eebd90
커밋 8e2c75defb
1 파일이 변경됨
+1 -2
+1 -2
파일 보기
@@ -268,8 +268,7 @@ hipError_t hipDeviceGetUuid(hipUUID* uuid, hipDevice_t device) {
auto* deviceHandle = g_devices[device]->devices()[0];
const auto& info = deviceHandle->info();
::strncpy(uuid->bytes, info.uuid_, 16);
memcpy(uuid->bytes, info.uuid_, sizeof(info.uuid_));
HIP_RETURN(hipSuccess);
}