SWDEV-1 - Fix warnings while building tests (#201)

Change-Id: I7faf3446f8c9dafbbfc6bab4c6c1b756f0e4219d
This commit is contained in:
Maneesh Gupta
2023-03-14 21:42:20 +05:30
committed by GitHub
parent a25ea2ca40
commit ac4267e21e
13 changed files with 46 additions and 39 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ TEST_CASE("Unit_hipGetStreamDeviceId_Positive_Multithreaded_Basic") {
const int device_count = HipTest::getDeviceCount();
auto thread_function = [&]() {
for(unsigned int id = 0; id < device_count; ++id) {
for(int id = 0; id < device_count; ++id) {
HIP_CHECK_THREAD(hipSetDevice(id));
StreamGuard stream_guard{Streams::perThread};