SWDEV-403766 - Pass exclusive flag. (#337)
Change-Id: I83da5356b5874c3c4dc1f0e08d899079d5cfe385
[ROCm/hip-tests commit: 86b522692c]
This commit is contained in:
committed by
GitHub
parent
58afea607c
commit
9f2135d1cf
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user