@@ -65,7 +65,7 @@ TEST_P(urL0EnqueueAllocTest, SuccessDeviceAlloc) {
65
65
}
66
66
67
67
ur_usm_pool_handle_t pool = nullptr ;
68
- urUSMPoolCreate (context, nullptr , &pool);
68
+ ASSERT_SUCCESS ( urUSMPoolCreate (context, nullptr , &pool) );
69
69
70
70
void *ptr = nullptr ;
71
71
ur_event_handle_t allocEvent = nullptr ;
@@ -87,7 +87,7 @@ TEST_P(urL0EnqueueAllocTest, SuccessDeviceRepeatAlloc) {
87
87
}
88
88
89
89
ur_usm_pool_handle_t pool = nullptr ;
90
- urUSMPoolCreate (context, nullptr , &pool);
90
+ ASSERT_SUCCESS ( urUSMPoolCreate (context, nullptr , &pool) );
91
91
92
92
void *ptr = nullptr ;
93
93
ASSERT_SUCCESS (urEnqueueUSMDeviceAllocExp (queue, pool, ARRAY_SIZE * sizeof (uint32_t ),
@@ -117,7 +117,7 @@ TEST_P(urL0EnqueueAllocTest, SuccessSharedAlloc) {
117
117
}
118
118
119
119
ur_usm_pool_handle_t pool = nullptr ;
120
- urUSMPoolCreate (context, nullptr , &pool);
120
+ ASSERT_SUCCESS ( urUSMPoolCreate (context, nullptr , &pool) );
121
121
122
122
void *ptr = nullptr ;
123
123
ur_event_handle_t allocEvent = nullptr ;
0 commit comments