Skip to content

Commit ad75f97

Browse files
Skip BindlessKernelFixture aubs in Debug
Change-Id: Id814c74440121f267026b3cf8e1caa3032ed525a Signed-off-by: Mateusz Hoppe <[email protected]>
1 parent 6f15f7c commit ad75f97

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

opencl/test/unit_test/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,10 @@ macro(macro_for_each_gen)
446446
neo_gen_kernels_with_internal_options(${family_name_with_type} ${PLATFORM_LOWER} ${family_name_with_type} ${TEST_KERNEL_STATELESS} "" ${TEST_KERNEL_STATELESS_internal_options})
447447
endif()
448448

449-
neo_gen_kernels_with_internal_options(${family_name_with_type} ${PLATFORM_LOWER} ${family_name_with_type} ${TEST_KERNEL_BINDLESS} "bindless_copy_buffer" ${TEST_KERNEL_BINDLESS_internal_options})
449+
# Temporarily disable in Debug builds
450+
if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug")
451+
neo_gen_kernels_with_internal_options(${family_name_with_type} ${PLATFORM_LOWER} ${family_name_with_type} ${TEST_KERNEL_BINDLESS} "bindless_copy_buffer" ${TEST_KERNEL_BINDLESS_internal_options})
452+
endif()
450453

451454
set(sip_kernel_file_name)
452455
set(sip_kernel_output_file)

opencl/test/unit_test/aub_tests/command_queue/enqueue_kernel_aub_tests.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,6 @@ HWTEST2_F(AUBBindlessKernel, givenBindlessCopyKernelWhenEnqueuedThenResultsValid
880880
size_t globalWorkOffset[3] = {0, 0, 0};
881881
size_t globalWorkSize[3] = {bufferSize / 2, 1, 1};
882882
size_t localWorkSize[3] = {1, 1, 1};
883-
;
884883
cl_uint numEventsInWaitList = 0;
885884
cl_event *eventWaitList = nullptr;
886885
cl_event *event = nullptr;

opencl/test/unit_test/fixtures/simple_arg_kernel_fixture.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,10 @@ class BindlessKernelFixture : public ProgramFixture {
289289
using ProgramFixture::SetUp;
290290
void SetUp(ClDevice *device, Context *context) {
291291
ProgramFixture::SetUp();
292+
#ifdef _DEBUG
293+
// temporarily skip test in Debug
294+
GTEST_SKIP();
295+
#endif
292296
cl_device_id deviceId = device;
293297
cl_context clContext = context;
294298
DebugManager.flags.UseBindlessBuffers.set(true);

0 commit comments

Comments
 (0)