compute-runtime/opencl/test/unit_test/helpers
Krystian Chmielewski ee0d183cf9 Handle legacy hasBarriers properly
Previous change regarding NEO-6785 added encoding of number of barriers
to specific value representation depending on hardware that we program for.

In patch token format encoding of number of barriers is sent via
hasBarriers field in a token.
In zebin true number of barriers is sent via barrier_count field in
zeInfo.

To remove this discrepancy, translate encoded number of barriers into
true number of barriers in legacy format.

Resolves: NEO-6785

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-04-12 09:44:10 +02:00
..
linux Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
windows Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
CMakeLists.txt Clean-Up unused code related to GMock 2022-03-22 16:16:34 +01:00
api_specific_config_ocl_tests.cpp Move generic command stream receiver files to shared 2021-09-22 23:55:31 +02:00
aub_helper_hw_tests_xehp_and_later.cpp Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
base_object_tests.cpp Clean-Up unused code related to GMock 2022-03-22 16:16:34 +01:00
cl_execution_environment_helper.cpp Move execution environment helper to shared 2021-12-31 11:36:44 +01:00
cl_execution_environment_helper.h Move execution environment helper to shared 2021-12-31 11:36:44 +01:00
cl_helper_tests.cpp Correct enqueueSVMMigrateMem function 2020-08-21 11:34:52 +02:00
cl_hw_parse.h Cleanup hw_parse.h 2021-10-13 11:10:22 +02:00
cmd_buffer_validator.h Add fixes to build with gcc11 (#5325) 2021-07-20 17:17:32 +02:00
cmd_buffer_validator_tests.cpp Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
dispatch_info_builder_tests.cpp Split command queue hw tests 2022-04-01 08:35:40 +02:00
dispatch_info_tests.cpp Split command queue hw tests 2022-04-01 08:35:40 +02:00
engine_node_helper_tests_xehp_and_later.cpp BCS round robin adjustments 2022-03-01 09:45:38 +01:00
get_info_status_mapper_tests.cpp ULT renaming: Helpers tests 2020-12-07 12:08:09 +01:00
hardware_commands_helper_tests.cpp Correct programming of implicit args on pre-XeHp platforms 2022-02-24 20:52:04 +01:00
hardware_commands_helper_tests.h Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
heap_assigner_ocl_tests.cpp Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
hw_helper_default_tests.cpp Move some mocks to shared 2021-10-15 09:59:47 +02:00
hw_helper_tests.cpp Handle legacy hasBarriers properly 2022-04-12 09:44:10 +02:00
hw_helper_tests_dg2_and_later.cpp Add unit test helper function to set pipe control hdc flush 2022-01-17 15:45:29 +01:00
hw_helper_tests_dg2_or_below.cpp Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
hw_helper_tests_pvc_and_later.cpp Encode number barriers 2022-04-08 10:32:23 +02:00
hw_helper_tests_xehp_and_later.cpp Add unit test helper function to set pipe control hdc flush 2022-01-17 15:45:29 +01:00
kmd_notify_tests.cpp Poll task count indefinitely on high throttle command queue 2022-03-25 10:06:16 +01:00
memory_management_tests.cpp Move drm_memory_manager_tests.h and related fixtures to shared 2021-10-21 20:46:58 +02:00
memory_properties_helpers_tests.cpp Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
mipmap_tests.cpp Cleanup MockGmm 2021-10-14 21:56:53 +02:00
per_thread_data_tests.cpp Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
queue_helpers_tests.cpp Remove device enqueue part 11 2022-01-25 12:40:56 +01:00
raii_hw_helper.h Add absolute include paths 2020-02-23 23:49:12 +01:00
ray_tracing_helper_tests.cpp Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
sampler_helpers_tests.cpp Copyright header update 2021-05-17 20:38:19 +02:00
static_size3.h Copyright header update 2021-05-17 20:38:19 +02:00
task_information_tests.cpp Do not allocate dynamic state heap if not needed 2022-03-31 12:13:13 +02:00
test_preamble_dg2_and_later.cpp Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
test_preamble_xehp_and_later.cpp Reuse common logic of programming SCM fields for gen 9 and gen 11 2022-03-16 10:04:32 +01:00
timestamp_packet_1_tests.cpp Download timestamp allocation before checking completion 2022-03-28 15:02:04 +02:00
timestamp_packet_2_tests.cpp Do not allocate dynamic state heap if not needed 2022-03-31 12:13:13 +02:00
timestamp_packet_tests.h Use full path to include test.h 1/n 2021-12-15 12:34:34 +01:00
transfer_properties_tests.cpp move mock_memory_manager to shared 2021-10-05 16:22:38 +02:00
uint16_sse4_tests.cpp initial Neo enabling on architectures other than x86 2021-09-14 09:14:52 +02:00
ult_limits.h Reorganization directory structure [2/n] 2020-02-23 12:01:27 +01:00
validator_tests.cpp Remove device enqueue part 10 2022-01-19 17:41:06 +01:00