5ec9de90ee
Cleanup includes 52
...
Cleaned up files:
level_zero/core/source/driver/driver.h
level_zero/tools/source/sysman/fabric_port/windows/os_fabric_port_imp.h
level_zero/tools/source/sysman/pci/os_pci.h
shared/source/debug_settings/debug_settings_manager.h
shared/source/gmm_helper/page_table_mngr.h
shared/source/gmm_helper/windows/gmm_memory_base.h
shared/source/kernel/kernel_arg_metadata.h
shared/test/common/libult/linux/drm_mock.h
shared/test/unit_test/fixtures/command_container_fixture.h
shared/test/unit_test/fixtures/product_config_fixture.h
shared/test/unit_test/helpers/simd_helper_tests_pvc_and_later.inl
shared/test/unit_test/os_interface/hw_info_config_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-13 11:39:34 +01:00
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 19:37:51 +01:00
a72cae15fe
refactor: don't use global ProductHelper getter 9/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-25 11:04:40 +01:00
0eac749fcc
Cleanup includes 19
...
Cleaned up files:
opencl/source/api/cl_types.h
shared/source/compiler_interface/external_functions.h
shared/source/compiler_interface/linker.h
shared/source/device_binary_format/elf/elf.h
shared/source/helpers/preamble.h
shared/source/memory_manager/definitions/storage_info.h
shared/source/memory_manager/memory_manager.h
shared/source/memory_manager/os_agnostic_memory_manager.h
shared/source/program/program_info.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-03 11:02:05 +01:00
1d6c3b0e04
Store root device environment reference in gmm helper
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-12-19 19:50:16 +01:00
232b886056
Rename HwInfoConfig to ProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-14 14:39:52 +01:00
03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-09 10:29:06 +01:00
6993ed5c52
Reduce binaries sizes 2/n
...
Observed about 50MB reduction in overall binaries size (directory build))
when building all targets
with MSVC (Visual Studio 2022 17.3.0 preview 6)
using Debug 64 configuration.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-08 16:14:38 +01:00
27cb39ef25
Refactor: pass root device environment to gmm client context
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-28 13:26:29 +01:00
ef95bfb45e
Cleanup includes
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-04 18:04:13 +01:00
34eabf2960
Pass compression and cachable params to CachePolicyGetPATIndex query
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 10:41:17 +02:00
f5575a1370
Revert "Remove fallback path for PAT index programming"
...
This reverts commit faf8d51f6d
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-23 20:46:31 +02:00
6175a3e785
Debug flag to force stateless mocs encryption bit
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-23 15:19:26 +02:00
faf8d51f6d
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-21 10:46:43 +02:00
5a3746df76
Cleanup includes 2/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-07-27 12:01:36 +02:00
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-07-25 09:58:38 +02:00
4d35a76931
Add proper handling decoding resource while import on WSL
...
- create resource info and handle when needed
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-07-20 12:03:06 +02:00
76e023b941
Link build option with L1 cache policy helper
...
Related-To: NEO-7003
Add L1CachePolicyHelper struct.
This struct is resposible for L1 cache policy
in build option, Surface State and stateless
caching. Currently default option for all
platforms is WBP (write by-pass)
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-07-04 11:49:55 +02:00
0d42fdf38c
Fix setting flag Cacheable in gmm resource params base on resource usage
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-06-30 19:37:21 +02:00
0966651a78
Create and implement WSL handle refreshing
...
Additionally rename createResourceInfo overload to decodeResourceInfo.
createResourceInfo(GMM_RESOURCE_INFO *, GMM_RESOURCE_INFO) does not
create a new ResourceInfo, but decodes one on the basis of the provided
existing gmmResourceInfo.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-06-14 08:43:35 +02:00
c229ace4df
Adjust GmmHelper to be HW aware
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-13 18:33:06 +02:00
39c1c4d530
Remove virtual padding support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-08 12:42:44 +02:00
56a164ffcd
Debug mask support to force uncached Gmm usage type
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-05-18 19:23:34 +02:00
7463e1970b
Cleanup headers
...
Make TUs and headers self-contained, remove unused headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-05-18 11:42:06 +02:00
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-11 14:02:04 +02:00
2fcda0a528
Refactor: Change decanonize method accessing point
...
Accessing decanonize method as a member of GmmHelper class object
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-11 12:57:02 +02:00
7bb3bcbc05
Read resource info from internal represenation for WSL
...
Related-To: LOCI-3037
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-05-11 11:57:23 +02:00
d18e89e439
Create getGmmHelper function in Gmm
...
Add get function in order to provide access on GmmHelper object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-10 11:34:19 +02:00
1c366d1ec0
Refactor: Change canonize method accessing point
...
Accessing canonize method as a member of GmmHelper class object
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-05-09 14:16:31 +02:00
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-04-27 15:45:49 +02:00
5f37aa4ba4
Pass cache settings to aub_stream
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-19 11:00:07 +02:00
058d87f712
Add ForceAllResourcesUncached support to CacheSettingsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-11 15:41:10 +01:00
086a70ca52
Add ForceAllResourcesUncached debug variable
...
Resolves: NEO-6563
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-02-23 09:43:48 +01:00
17edd5abc2
Add CachePolicyGetPATIndex API support to GmmClientContext
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-15 16:23:35 +01:00
20419b8f3c
CacheSettingsHelper - CONSTANT_SURFACE support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-14 13:09:02 +01:00
454888a045
CacheSettingsHelper - Uncached stateful access support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-10 13:00:05 +01:00
71f48c89c8
CacheSettingsHelper - timestamp allocations
...
Related-To: NEO-6664
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-09 19:32:39 +01:00
61ca84e94b
Pass memory placement info to StorageInfo
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-09 16:55:32 +01:00
abd90308f3
CacheSettingsHelper - heaps support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-09 10:29:48 +01:00
a95198521e
Initial implementation of CacheSettingsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-08 16:18:06 +01:00
c88fce0def
Gmm construction cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-08 10:20:24 +01:00
d2fbcc1960
Updating wsl compute helper tokens and enbaling local memory
...
Adding tokens needed for DG2 local mem enabling in WSL
Enabling local memory for DG2 for WSL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-27 14:26:24 +01:00
7604a15abd
Enable local memory for images for DG2 + WSL
...
Change GMM resource info params, so that buffers
remain in system memory while images are being
routed to local memory additionally, fixes single
sku builds
Related-To: NEO-6391
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-11 20:06:53 +01:00
8ec74558ea
Temporarily disabling local memory for DG2 in WSL
...
Forcing system memory pool for all allocations in WSL for DG2
while local memory support is being implemented
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-01-06 11:15:25 +01:00
c90ebf32ef
Add GmmHelper::isValidCanonicalGpuAddress()
...
Related-To: NEO-6564
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-27 14:43:43 +01:00
fe250d99b1
Disable L3 caches for debug on ATS and DG2
...
Resolves: NEO-6320
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-12-14 13:59:09 +01:00
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-03 18:09:02 +01:00
7b55d38e34
Refactor [1/n]: Make compression preference allocation property
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-02 15:24:35 +01:00
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
53d77bb801
Minor: cleanup gmm_helper includes
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-21 11:14:15 +02:00