SWDEV-345188 - hip-tests size_t to unsigned long warning (#175)
Change-Id: Id315ba0de6900f714190a09ac09c977830360c72
This commit is contained in:
committed by
GitHub
parent
798c4e7255
commit
0a8235e5c8
@@ -50,7 +50,7 @@ TEST_CASE("Unit_hipPtrGetAttribute_Simple") {
|
||||
size_t free, total;
|
||||
HIP_CHECK(hipMemGetInfo(&free, &total));
|
||||
printf("hipMemGetInfo: free=%zu (%4.2f) Nbytes=%lu total=%zu (%4.2f)\n", free,
|
||||
(free / 1024.0 / 1024.0), Nbytes, total,
|
||||
(free / 1024.0 / 1024.0), static_cast<unsigned long>(Nbytes), total,
|
||||
(total / 1024.0 / 1024.0));
|
||||
REQUIRE(free + Nbytes <= total);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user