@@ -634,7 +634,7 @@ struct urUSMPoolTest : urContextTest {
634
634
void SetUp () override {
635
635
UUR_RETURN_ON_FATAL_FAILURE (urContextTest::SetUp ());
636
636
ur_usm_pool_desc_t pool_desc{UR_STRUCTURE_TYPE_USM_POOL_DESC, nullptr ,
637
- UR_USM_POOL_FLAG_ZERO_INITIALIZE_BLOCK };
637
+ 0 };
638
638
ASSERT_SUCCESS (urUSMPoolCreate (this ->context , &pool_desc, &pool));
639
639
}
640
640
@@ -645,14 +645,14 @@ struct urUSMPoolTest : urContextTest {
645
645
UUR_RETURN_ON_FATAL_FAILURE (urContextTest::TearDown ());
646
646
}
647
647
648
- ur_usm_pool_handle_t pool;
648
+ ur_usm_pool_handle_t pool = nullptr ;
649
649
};
650
650
651
651
template <class T > struct urUSMPoolTestWithParam : urContextTestWithParam<T> {
652
652
void SetUp () override {
653
653
UUR_RETURN_ON_FATAL_FAILURE (urContextTestWithParam<T>::SetUp ());
654
654
ur_usm_pool_desc_t pool_desc{UR_STRUCTURE_TYPE_USM_POOL_DESC, nullptr ,
655
- UR_USM_POOL_FLAG_ZERO_INITIALIZE_BLOCK };
655
+ 0 };
656
656
ASSERT_SUCCESS (urUSMPoolCreate (this ->context , &pool_desc, &pool));
657
657
}
658
658
@@ -663,7 +663,7 @@ template <class T> struct urUSMPoolTestWithParam : urContextTestWithParam<T> {
663
663
UUR_RETURN_ON_FATAL_FAILURE (urContextTestWithParam<T>::TearDown ());
664
664
}
665
665
666
- ur_usm_pool_handle_t pool;
666
+ ur_usm_pool_handle_t pool = nullptr ;
667
667
};
668
668
669
669
struct urVirtualMemGranularityTest : urContextTest {
0 commit comments