SWDEV-403766 - Pass exclusive flag. (#337)

Change-Id: I83da5356b5874c3c4dc1f0e08d899079d5cfe385
Tento commit je obsažen v:
ROCm CI Service Account
2023-06-28 21:47:19 +05:30
odevzdal GitHub
rodič a6ed21522d
revize 86b522692c
+2 -2
Zobrazit soubor
@@ -69,7 +69,7 @@ TEST_CASE("Unit_hipDeviceReset_Positive_Basic") {
: hipSharedMemBankSizeFourByte);
REQUIRE((shared_mem_config_ret == hipSuccess || shared_mem_config_ret == hipErrorNotSupported));
HIP_CHECK(hipSetDeviceFlags(flags_before ^ (1u << 2)));
HIP_CHECK(hipSetDeviceFlags(hipDeviceScheduleBlockingSync));
HIP_CHECK(hipDeviceReset());
@@ -134,7 +134,7 @@ TEST_CASE("Unit_hipDeviceReset_Positive_Threaded") {
REQUIRE((shared_mem_config_ret == hipSuccess || shared_mem_config_ret == hipErrorNotSupported));
HIP_CHECK(hipSetDeviceFlags(flags_before ^ (1u << 2)));
HIP_CHECK(hipSetDeviceFlags(hipDeviceScheduleBlockingSync));
std::thread([] {
HIP_CHECK_THREAD(hipSetDevice(0));