compute-runtime/shared/source
Kamil Kopryk dd3d294f87 performance: cache MOCS values
This change caches the most used MOCS values:

* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CONST);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CACHELINE_MISALIGNED);
inside gmmHelper class during initialization to avoid repeated
calls of virtual functions, branches and/or gmm lib access.

and adds more readably corresponding getters:
* getL1EnabledMOCS
* getL3EnabledMOCS
* getUncachedMOCS

If force all resources uncached is called,
these 3 cached mocs values are reinitialized

It also changes the order of gmmHelper members, to avoid
not needed padding after addressWidth
and simplifies logic in getMocsIndex function
for xehp and later products.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-04-14 14:12:48 +02:00
..
ail fix: remove patchtoken fallback 2025-02-10 12:29:45 +01:00
assert_handler refactor: Change wording from NonCopyableOrMovable to NonCopyableAndNonMovable 2025-02-17 14:19:10 +01:00
aub fix: re-add switch case for once writable query 2025-03-19 09:54:54 +01:00
aub_mem_dump feature: add support for Panther Lake platform 2025-01-07 11:39:56 +01:00
aub_stream_stubs
built_ins feature: add FillImage1dBuffer built-in kernel 2025-04-10 14:04:13 +02:00
command_container performance: cache MOCS values 2025-04-14 14:12:48 +02:00
command_stream refactor: use deviceBitfield from CSR when creating engine 2025-04-11 17:30:29 +02:00
commands
compiler_interface feature: Add ftrHeaplessMode flag 2025-04-02 21:06:05 +02:00
debug_settings feature: Enabling support for DisableDeepBind debug env in ocloc 2025-04-12 23:21:19 +02:00
debugger feature: Add ftrHeaplessMode flag 2025-04-02 21:06:05 +02:00
device refactor: use deviceBitfield from CSR when creating engine 2025-04-11 17:30:29 +02:00
device_binary_format feature: Add support for BUFFER_SIZE explicit argument 2025-04-07 14:15:26 +02:00
direct_submission performance: cache MOCS values 2025-04-14 14:12:48 +02:00
dll fix: Fail device init if kernel debugging is misconfigured 2025-04-02 21:06:30 +02:00
execution_environment fix: Correct Xe sysfs paths for ccs mode setting 2025-04-09 06:51:18 +02:00
gen12lp performance: cache MOCS values 2025-04-14 14:12:48 +02:00
gen_common feature: add support for Panther Lake platform 2025-01-07 11:39:56 +01:00
generated feature: Update COMPUTE_WALKER instruction 2025-04-08 00:01:43 +02:00
gmm_helper performance: cache MOCS values 2025-04-14 14:12:48 +02:00
helpers performance: cache MOCS values 2025-04-14 14:12:48 +02:00
image fix: allow for image array type if array size is 1 for Xe2 and later 2025-02-05 13:50:05 +01:00
indirect_heap fix: Add asserts to ensure NonCopyable and NonMovable 3/n 2025-02-18 17:16:03 +01:00
kernel feature: Add support for BUFFER_SIZE explicit argument 2025-04-07 14:15:26 +02:00
memory_manager performance: change usage for ringBuffer on integrated devices 2025-04-14 12:25:38 +02:00
memory_properties
os_interface performance: change usage for ringBuffer on integrated devices 2025-04-14 12:25:38 +02:00
page_fault_manager fix: hotfix for svmcpu tbx uploads 2025-03-14 04:47:21 +01:00
pin fix: correct loading L0 loader functions 2024-10-17 15:39:20 +02:00
program feature: add L0 API to query kernel argument info 2025-03-27 16:43:33 +01:00
release_helper refactor: Adjust size to preferred SLM values array 2025-04-01 11:56:50 +02:00
sip_external_lib feature: Introduce SipClassType::externalLib 2025-03-19 11:06:03 +01:00
sku_info feature: Add ftrHeaplessMode flag 2025-04-02 21:06:05 +02:00
tbx
unified_memory feature: Implement appendMemoryPrefetch for Shared System USM allocations 2025-03-13 06:26:38 +01:00
utilities refactor: mock filesystem in ocloc ult pt.1 2025-04-08 16:08:42 +02:00
xe2_hpg_core performance: cache MOCS values 2025-04-14 14:12:48 +02:00
xe3_core performance: cache MOCS values 2025-04-14 14:12:48 +02:00
xe_hpc_core performance: cache MOCS values 2025-04-14 14:12:48 +02:00
xe_hpg_core performance: cache MOCS values 2025-04-14 14:12:48 +02:00
CMakeLists.txt feature: Introduce SipClassType::externalLib 2025-03-19 11:06:03 +01:00
enable_cores.cmake