compute-runtime/shared/source/helpers
Szymon Morek ec04de61a7 [L0][XE_HPC]Perform memcpy on CPU for non-usm ptrs
Related-To: NEO-7237

If size is small enough, it is more efficient to
perform copy through locked ptr on CPU.
This change also introduces experimental flag to
enable this.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-09-26 13:20:40 +02:00
..
aarch64 Add neon intrinsics for aarch64 2022-03-29 18:22:32 +02:00
definitions Setting default device id for acronym 2022-07-15 12:28:58 +02:00
windows Revert "Move shared helper files to shared directory" 2022-04-27 13:12:16 +02:00
x86_64 initial Neo enabling on architectures other than x86 2021-09-14 09:14:52 +02:00
CMakeLists.txt Remove not used helper 2022-09-06 16:02:56 +02:00
abort.cpp Copyright header update 2021-05-17 20:38:19 +02:00
abort.h Copyright header update 2021-05-17 20:38:19 +02:00
address_patch.h
addressing_mode_helper.cpp Add debug flag to fail build program with stateful access 2022-05-17 11:01:05 +02:00
addressing_mode_helper.h Add debug flag to fail build program with stateful access 2022-05-17 11:01:05 +02:00
affinity_mask.h Reduce the size of masks to 4. 2022-09-19 21:53:40 +02:00
aligned_memory.h Cleanup headers 2022-05-18 11:42:06 +02:00
allow_deferred_deleter.cpp Copyright header update 2021-05-17 20:38:19 +02:00
api_specific_config.h Add api specific config for allocation cache 2022-09-05 21:15:18 +02:00
app_resource_defines.h Cleanup headers 2022-05-18 11:42:06 +02:00
app_resource_helper.cpp Add initial support for KernelArgsBuffer allocation 2022-08-03 20:28:21 +02:00
app_resource_helper.h Cleanup headers 2022-05-18 11:42:06 +02:00
array_count.h Copyright header update 2021-05-17 20:38:19 +02:00
aux_translation.h
basic_math.h Add missing includes 2021-07-28 10:51:17 +02:00
bindless_heaps_helper.cpp Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
bindless_heaps_helper.h Cleanup headers 2022-05-18 11:42:06 +02:00
bit_helpers.h
blit_commands_helper.cpp Detect GPU hangs in flushBcsTask() 2022-05-12 16:17:16 +02:00
blit_commands_helper.h Capability to insert WA MMIO for BCS dispatch 2022-07-01 11:53:53 +02:00
blit_commands_helper_base.inl Capability to insert WA MMIO for BCS dispatch 2022-07-01 11:53:53 +02:00
blit_commands_helper_bdw_and_later.inl Program Source/Destination CompressionType field in XY_BLOCK_COPY_BLT 2022-05-23 12:16:19 +02:00
blit_commands_helper_xehp_and_later.inl Always program blit src & dst to local. 2022-07-26 18:57:24 +02:00
cache_flush.inl includes refactor 2022-07-08 17:02:19 +02:00
cache_flush_xehp_and_later.inl Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
cache_policy.cpp Revert "Change DG2 l1 cache policy to WB" 2022-07-28 07:27:13 +02:00
cache_policy.h Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
cache_policy_base.inl Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
cache_policy_bdw_and_later.inl Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
cache_policy_dg2_and_later.inl Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
casts.h Rename r_pod_cast function to safePodCast 2022-05-19 10:43:20 +02:00
common_types.h Reduce the size of masks to 4. 2022-09-19 21:53:40 +02:00
compiler_aot_config_bdw_and_later.inl Ocloc: New AOT design implementation 2022-06-14 13:20:45 +02:00
compiler_hw_info_config.cpp Add compilerHwInfoConfig 2021-10-06 21:27:34 +02:00
compiler_hw_info_config.h Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
compiler_hw_info_config_base.inl Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
compiler_hw_info_config_bdw_and_later.inl Add DisableForceToStateless debug flag 2022-07-19 14:08:28 +02:00
compiler_hw_info_config_before_xe_hpc.inl Add DisableForceToStateless debug flag 2022-07-19 14:08:28 +02:00
compiler_hw_info_config_xe_hpc_and_later.inl Add DisableForceToStateless debug flag 2022-07-19 14:08:28 +02:00
compiler_options_parser.cpp Add option to change GRF mode 2022-09-06 13:00:17 +02:00
compiler_options_parser.h Move appending compiler extensions to compiler parser 2021-10-20 16:10:54 +02:00
completion_stamp.h Cleanup headers 2022-05-18 11:42:06 +02:00
constants.h Ocloc: New AOT design implementation 2022-06-14 13:20:45 +02:00
debug_helpers.cpp Cleanup includes 3/n 2022-07-27 15:28:13 +02:00
debug_helpers.h Cleanup includes 3/n 2022-07-27 15:28:13 +02:00
deferred_deleter_helper.h Cleanup headers 2022-05-18 11:42:06 +02:00
dirty_state_helpers.cpp Copyright header update 2021-05-17 20:38:19 +02:00
dirty_state_helpers.h Copyright header update 2021-05-17 20:38:19 +02:00
driver_model_type.h Temporarily disabling local memory for DG2 in WSL 2022-01-06 11:15:25 +01:00
enable_product.inl Base hwInfo values setup for AOT 2022-05-13 09:40:37 +02:00
engine_control.h refactor: bind drm context within IoctlHelper::createDrmContext method 2022-06-29 10:47:52 +02:00
engine_node_helper.cpp Do not use selector copy engine 2022-09-20 21:49:00 +02:00
engine_node_helper.h Change default engines for BCS split 2022-08-31 21:34:36 +02:00
extendable_enum.h Copyright header update 2021-05-17 20:38:19 +02:00
extra_allocation_data_xehp_and_later.inl Move ULLS resources to local memory on DG2 2022-07-12 15:50:09 +02:00
file_io.cpp Remove UNUSED_VARIABLE macro 2021-10-22 18:56:33 +02:00
file_io.h Copyright header update 2021-05-17 20:38:19 +02:00
flat_batch_buffer_helper.cpp
flat_batch_buffer_helper.h Limit files included by fence.h and csr_definitions.h 2022-08-30 13:13:40 +02:00
flat_batch_buffer_helper_hw.h
flat_batch_buffer_helper_hw.inl Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
flush_stamp.cpp Copyright header update 2021-05-17 20:38:19 +02:00
flush_stamp.h Copyright header update 2021-05-17 20:38:19 +02:00
get_info.h Copyright header update 2021-05-17 20:38:19 +02:00
get_info_status.h
hardware_context_controller.cpp Compilation fix: Add missing LrcaHelper types 2021-12-07 13:19:36 +01:00
hardware_context_controller.h Simplify ownership management of MockPerformanceCounters 2022-07-07 10:42:29 +02:00
hash.h Cleanup headers 2022-05-18 11:42:06 +02:00
heap_assigner.cpp Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
heap_assigner.h Cleanup headers 2022-05-18 11:42:06 +02:00
heap_helper.cpp Move AllocationType enum out of GraphicsAllocation class 2022-02-04 17:49:09 +01:00
heap_helper.h Cleanup includes 2022-07-25 09:58:38 +02:00
hw_helper.cpp Cleanup headers 2022-05-26 17:55:44 +02:00
hw_helper.h [L0][XE_HPC]Perform memcpy on CPU for non-usm ptrs 2022-09-26 13:20:40 +02:00
hw_helper_base.inl [L0][XE_HPC]Perform memcpy on CPU for non-usm ptrs 2022-09-26 13:20:40 +02:00
hw_helper_bdw_and_later.inl zebin: sanitize scratch space size 2022-09-09 11:50:09 +02:00
hw_helper_bdw_to_icllp.inl Fix CFEFusedEUDispatch debug flag 2022-03-28 12:32:05 +02:00
hw_helper_dg2_and_later.inl Remove HW types from synchronization interface 2022-07-25 13:59:26 +02:00
hw_helper_pvc_and_later.inl Improve calculateAvailableThreadCount implementation 2022-07-28 11:43:14 +02:00
hw_helper_tgllp_and_later.inl Fix CFEFusedEUDispatch debug flag 2022-03-28 12:32:05 +02:00
hw_helper_xehp_and_later.inl zebin: sanitize scratch space size 2022-09-09 11:50:09 +02:00
hw_info.cpp hw_cmds.h usage cleanup 2022-06-29 11:15:45 +02:00
hw_info.h Remove not used isSimulation functions 2022-09-20 11:01:55 +02:00
hw_info_extended.cpp Revert "Remove overridePlatformName method" 2022-02-18 10:57:19 +01:00
hw_walk_order.h Create method adjustWalkOrder 2022-05-27 16:05:31 +02:00
interlocked_max.h
kernel_helpers.cpp Debug flag to override max WG size 2021-05-31 12:23:27 +02:00
kernel_helpers.h Cleanup headers 2022-05-18 11:42:06 +02:00
kmd_notify_properties.cpp Poll task count indefinitely on high throttle command queue 2022-03-25 10:06:16 +01:00
kmd_notify_properties.h Poll task count indefinitely on high throttle command queue 2022-03-25 10:06:16 +01:00
l3_range.h Optimize binaries' size by adjusting linkage of constants in headers 2022-08-26 22:52:04 +02:00
local_id_gen.h Copyright header update 2021-05-17 20:38:19 +02:00
local_id_gen.inl Copyright header update 2021-05-17 20:38:19 +02:00
local_id_gen_special.inl initial Neo enabling on architectures other than x86 2021-09-14 09:14:52 +02:00
local_id_gen_sse4.cpp Copyright header update 2021-05-17 20:38:19 +02:00
local_memory_access_modes.h Move local memory access mode getters from HwHelper to HwInfoConfig 2021-09-13 13:10:14 +02:00
local_work_size.cpp style: configure readability-identifier-naming.LocalVariableCase 2022-05-16 12:39:44 +02:00
local_work_size.h Remove not needed method. 2022-01-20 15:02:19 +01:00
logical_state_helper.h Add method to merge LSH pipelined state during cmd list execution 2022-07-28 17:32:53 +02:00
logical_state_helper.inl Remove LSH from CommandQueue 2022-07-19 08:47:02 +02:00
memory_properties_helpers.cpp Test prelim command stream and clos cache 2022-04-05 16:48:00 +02:00
memory_properties_helpers.h Reduce unnecessary copies of memory properties 2022-06-24 16:49:26 +02:00
memory_properties_helpers_base.inl Reduce unnecessary copies of memory properties 2022-06-24 16:49:26 +02:00
neo_driver_version.h Move generic command stream receiver files to shared 2021-09-22 23:55:31 +02:00
non_copyable_or_moveable.h
options.h Copyright header update 2021-05-17 20:38:19 +02:00
pause_on_gpu_properties.h style: configure readability-identifier-naming.FunctionCase 2022-05-17 20:55:56 +02:00
per_thread_data.cpp Cleanup includes 2022-07-25 09:58:38 +02:00
per_thread_data.h Cleanup includes 2022-07-25 09:58:38 +02:00
pipe_control_args.h Remove HW types from synchronization interface 2022-07-25 13:59:26 +02:00
pipeline_select_args.h Refactor of pipeline select programming 2022-09-15 15:38:10 +02:00
pipeline_select_helper.h Optimize binaries' size by adjusting linkage of constants in headers 2022-08-26 22:52:04 +02:00
populate_factory.h
preamble.h Refactor of pipeline select programming 2022-09-15 15:38:10 +02:00
preamble_base.inl Refactor of pipeline select programming 2022-09-15 15:38:10 +02:00
preamble_bdw_and_later.inl Refactor of pipeline select programming 2022-09-15 15:38:10 +02:00
preamble_xehp_and_later.inl Refactor of pipeline select programming 2022-09-15 15:38:10 +02:00
preprocessor.h
product_config_helper.cpp Support for new names in Aub/Tbx mode 2022-07-25 14:46:52 +02:00
product_config_helper.h Support for new names in Aub/Tbx mode 2022-07-25 14:46:52 +02:00
ptr_math.h Optimize binaries' size by adjusting linkage of constants in headers 2022-08-26 22:52:04 +02:00
ray_tracing_helper.h Allocate RTStack based on full-die EU count. 2022-08-11 23:32:59 +02:00
register_offsets.h
registered_method_dispatcher.h Add missing includes 2021-07-28 10:51:17 +02:00
simd_helper.h Copyright header update 2021-05-17 20:38:19 +02:00
state_base_address.h programStateBaseAddress: improve code reuse 2022-09-21 11:54:57 +02:00
state_base_address_base.inl Debug flag to force stateless mocs encryption bit 2022-09-23 15:19:26 +02:00
state_base_address_bdw.inl programStateBaseAddress: improve code reuse 2022-09-21 11:54:57 +02:00
state_base_address_bdw_and_later.inl programStateBaseAddress: improve code reuse 2022-09-21 11:54:57 +02:00
state_base_address_icllp_and_later.inl Add struct argument for input/output in StateBaseAddressHelper 2022-08-17 10:28:49 +02:00
state_base_address_skl.inl Add struct argument for input/output in StateBaseAddressHelper 2022-08-17 10:28:49 +02:00
state_base_address_xe_hpg_core_and_later.inl Change DG2 l1 cache policy to WB 2022-08-31 14:31:23 +02:00
state_base_address_xehp_and_later.inl Debug flag to force stateless mocs encryption bit 2022-09-23 15:19:26 +02:00
stdio.h style: configure readability-identifier-naming.FunctionCase 2022-05-17 20:55:56 +02:00
string.h Improve safety of makeCopy() function 2022-08-22 17:16:53 +02:00
string_helpers.h Copyright header update 2021-05-17 20:38:19 +02:00
surface_format_info.h Refactor [1/n]: Make compression preference allocation property 2021-12-02 15:24:35 +01:00
timestamp_packet.cpp Track TSP OOQ ownership 2021-06-23 15:59:47 +02:00
timestamp_packet.h Refactor PIPE_CONTROL programming 2022-08-23 13:55:25 +02:00
topology_map.h Add subslice ID remapping for single slice configs 2022-02-01 16:38:57 +01:00
uint16_avx2.h Copyright header update 2021-05-17 20:38:19 +02:00
uint16_sse4.h initial Neo enabling on architectures other than x86 2021-09-14 09:14:52 +02:00
validators.h Move enable_product.inl to shared 2021-10-12 22:02:16 +02:00
vec.h Revert "Create single point for selecting engine for builtin ops" 2021-09-02 11:58:46 +02:00