SWDEV-403766 - Pass exclusive flag. (#337)
Change-Id: I83da5356b5874c3c4dc1f0e08d899079d5cfe385
Tento commit je obsažen v:
odevzdal
GitHub
rodič
a6ed21522d
revize
86b522692c
@@ -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));
|
||||
|
||||
Odkázat v novém úkolu
Zablokovat Uživatele