mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Skip BindlessKernelFixture aubs in Debug
Change-Id: Id814c74440121f267026b3cf8e1caa3032ed525a Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
6f15f7c380
commit
ad75f97fdc
@ -446,7 +446,10 @@ macro(macro_for_each_gen)
|
||||
neo_gen_kernels_with_internal_options(${family_name_with_type} ${PLATFORM_LOWER} ${family_name_with_type} ${TEST_KERNEL_STATELESS} "" ${TEST_KERNEL_STATELESS_internal_options})
|
||||
endif()
|
||||
|
||||
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})
|
||||
# Temporarily disable in Debug builds
|
||||
if(NOT ${CMAKE_BUILD_TYPE} STREQUAL "Debug")
|
||||
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})
|
||||
endif()
|
||||
|
||||
set(sip_kernel_file_name)
|
||||
set(sip_kernel_output_file)
|
||||
|
@ -880,7 +880,6 @@ HWTEST2_F(AUBBindlessKernel, givenBindlessCopyKernelWhenEnqueuedThenResultsValid
|
||||
size_t globalWorkOffset[3] = {0, 0, 0};
|
||||
size_t globalWorkSize[3] = {bufferSize / 2, 1, 1};
|
||||
size_t localWorkSize[3] = {1, 1, 1};
|
||||
;
|
||||
cl_uint numEventsInWaitList = 0;
|
||||
cl_event *eventWaitList = nullptr;
|
||||
cl_event *event = nullptr;
|
||||
|
@ -289,6 +289,10 @@ class BindlessKernelFixture : public ProgramFixture {
|
||||
using ProgramFixture::SetUp;
|
||||
void SetUp(ClDevice *device, Context *context) {
|
||||
ProgramFixture::SetUp();
|
||||
#ifdef _DEBUG
|
||||
// temporarily skip test in Debug
|
||||
GTEST_SKIP();
|
||||
#endif
|
||||
cl_device_id deviceId = device;
|
||||
cl_context clContext = context;
|
||||
DebugManager.flags.UseBindlessBuffers.set(true);
|
||||
|
Reference in New Issue
Block a user