Skip to content

Commit 17d7654

Browse files
committed
Remove incorrect L0 test
1 parent 7bc9eba commit 17d7654

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/providers/provider_level_zero.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,15 +263,6 @@ TEST_P(umfLevelZeroProviderTest, allocInvalidSize) {
263263
umfMemoryProviderGetLastNativeError(provider, &message, &error);
264264
ASSERT_EQ(error, ZE_RESULT_ERROR_UNSUPPORTED_SIZE);
265265

266-
// in case of size == 0 we should got INVALID_ARGUMENT error
267-
// NOTE: this is invalid only for the DEVICE or SHARED allocations
268-
if (params.memory_type != UMF_MEMORY_TYPE_HOST) {
269-
umf_result = umfMemoryProviderAlloc(provider, 0, 0, &ptr);
270-
ASSERT_EQ(umf_result, UMF_RESULT_ERROR_MEMORY_PROVIDER_SPECIFIC);
271-
umfMemoryProviderGetLastNativeError(provider, &message, &error);
272-
ASSERT_EQ(error, ZE_RESULT_ERROR_UNSUPPORTED_SIZE);
273-
}
274-
275266
umfMemoryProviderDestroy(provider);
276267
}
277268

0 commit comments

Comments
 (0)