Jaroslaw Warchulski
0afcec950e
refactor: cleanup includes
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-11-14 11:22:46 +01:00
Mateusz Jablonski
3cd135e165
refactor: reduce including gmmlib headers
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-21 19:06:38 +02:00
Mateusz Jablonski
bc71b2f685
refactor: reduce usage of gmmlib headers
...
use own ImagePlane wrapper
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-21 17:03:25 +02:00
Szymon Morek
435c43d142
performance: Use 2MB heap for cl_buffers if possible
...
Related-To: NEO-16165
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-10-13 09:14:40 +02:00
Radoslaw Jablonski
54de14a9dc
refactor: apply clang-format's InsertBraces rule
...
Formats code before InsertBraces rule is enabled.
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com >
2025-10-06 15:32:46 +02:00
Mateusz Jablonski
e9af7aee15
refactor: remove always true variable - supportsOcl21Features
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-02 16:03:37 +02:00
Jaroslaw Warchulski
195bf66a49
refactor: fix typos
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-09-22 12:46:41 +02:00
Vysochyn, Illia
f4bd4e603d
refactor: Use else if instead of nested else-if conditions
...
Replaces nested else-if with else if for consistency and readability.
No functional changes.
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com >
2025-09-11 16:20:59 +02:00
Damian Tomczak
a9278e1799
feature: force stateless for copy image to buffer
...
Related-to: NEO-6075
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com >
2025-08-29 13:09:03 +02:00
Mateusz Jablonski
dd568b35b9
refactor: remove not needed code related to vme
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-07-29 10:00:23 +02:00
Naklicki, Mateusz
dade66307e
refactor: cleanup header includes 4/n
...
cleanup of opencl/source directory
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-07-22 19:36:34 +02:00
Mateusz Jablonski
0c066b4266
refactor: remove C-style casts 1/n
...
Related-To: NEO-15174
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-06-17 17:50:56 +02:00
Damian Tomczak
5cd1423bab
feature: packed surface format
...
Resolves: NEO-13669
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com >
2025-06-12 17:32:16 +02:00
Chodor, Jaroslaw
46c60290b9
refactor: introducing igfxfmid_wrapper
...
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-05-30 19:26:04 +02:00
Lukasz Jobczyk
1d1414febc
refactor: remove unused dc flush mitigation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-05-09 08:26:26 +02:00
Michal Mrozek
52daf63a6f
refactor: remove not needed debug variable
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2025-05-08 14:29:27 +02:00
Michal Mrozek
8d1e83208b
refactor: remove redundant code
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2025-05-07 16:41:21 +02:00
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
Jaroslaw Warchulski
c010d17842
fix: respect compression flag in capability table
...
Related-To: NEO-9465
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-04-03 15:36:55 +02:00
Jaroslaw Warchulski
0650b96999
fix: set proper allocation in MemObj::getMemObjectInfo
...
Related-To: NEO-12585
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-03-24 16:07:35 +01:00
Jaroslaw Warchulski
413194bd2a
Revert "fix: do not prefer image compression on xe_lpg for linux and WSL"
...
This reverts commit 8814b6ac4f .
Resolves: NEO-14286
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-03-07 11:38:46 +01:00
Jaroslaw Warchulski
8814b6ac4f
fix: do not prefer image compression on xe_lpg for linux and WSL
...
Related-To: HSD-18034872015
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-02-28 14:20:57 +01:00
Mateusz Jablonski
374863ba08
refactor: remove cl pipe related logic
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-02-25 17:56:53 +01:00
Alicja Lukaszewicz
52ac3d8cf0
fix: add check for SVM allocated host ptr in clCreateBuffer
...
Related-To: NEO-13988
Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com >
2025-02-14 18:07:37 +01:00
Maciej Plewka
4ed25da5fa
refactor: refactor mcs surface handling on xe2 and later
...
Related-To: NEO-13290
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-02-13 23:00:54 +01:00
Chandio, Bibrak Qamar
7149743162
fix: Set vmbind user fence when makeMemoryResident
...
Related-To: NEO-11977, GSD-10293
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com >
2025-02-10 14:20:09 +01:00
Maciej Plewka
5ef1ff574b
fix: Don't check aux capable in case of MSAA surface on xe2 and later
...
Related-To: NEO-13290
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-02-07 16:47:33 +01:00
Compute-Runtime-Validation
d23249b061
Revert "fix: Set vmbind user fence when makeMemoryResident"
...
This reverts commit 80dc4fb43a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-01-31 11:36:29 +01:00
Kamil Kopryk
ef896cc799
refactor: introduce ImageSurfaceState helper class
...
Moved global functions to the ImageSurfaceStateHelper class,
with declarations in the header file and definitions in the base .inl
file.
This change reduces compilation time by:
- removing unnecessary includes from the header file
- adding explicit template instantiations, which are faster than
implicit template instantiations.
Additionally, the image_skl_and_later.inl file has been removed as it
is no longer needed, and its implementation has been moved to the base .inl
Related-To: NEO-12149
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-01-30 19:20:31 +01:00
Chandio, Bibrak Qamar
80dc4fb43a
fix: Set vmbind user fence when makeMemoryResident
...
Related-To: NEO-11977, GSD-10293
Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com >
2025-01-28 22:04:37 +01:00
Szymon Morek
101c2fb071
fix: stop ULLS on main BCS when internal context used
...
Related-To: NEO-13464
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-01-23 14:33:14 +01:00
Vysochyn, Illia
afd22999cc
refactor: Adjust RENDER_SURFACE_STATE structures naming
...
Performs minor renaming (mostly capitalization) in order to align with
specification.
Renames L1_CACHE_POLICY to L1_CACHE_CONTROL.
Related-To: NEO-13147
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com >
2024-11-29 09:43:11 +01:00
Mateusz Jablonski
fa58073095
refactor: remove not used usings/typedefs/variables
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-11-28 16:19:39 +01:00
Maciej Plewka
46c345789d
refactor: move depth limitation from release helper to image_hw
...
Related-To: NEO-8390, HSD-16021488507
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-11-21 11:24:06 +01:00
Dominik Dabek
0a12817664
performance: flag, force zero copy for host ptr
...
When debug flag ForceZeroCopyForUseHostPtr is set, add
CL_MEM_FORCE_HOST_MEMORY_INTEL flag to buffers created with
CL_MEM_USE_HOST_PTR.
This makes the buffers use zero copy.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-11-12 15:43:17 +01:00
Lukasz Jobczyk
b050a83242
performance: Use lock pointer copy for dc flush mitigation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-31 10:53:39 +01:00
Compute-Runtime-Validation
3fcb9b18ee
Revert "performance: Use lock pointer copy for dc flush mitigation"
...
This reverts commit b8be102455 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-31 05:15:07 +01:00
Lukasz Jobczyk
b8be102455
performance: Use lock pointer copy for dc flush mitigation
...
Resolves: NEO-12898
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-29 21:37:53 +01:00
Compute-Runtime-Validation
f5c433c8f8
Revert "performance: Use lock pointer copy with sfence for dc flush mitigation"
...
This reverts commit 8c3c703ec0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-26 14:28:26 +02:00
Lukasz Jobczyk
8c3c703ec0
performance: Use lock pointer copy with sfence for dc flush mitigation
...
Resolves: NEO-12898
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-25 16:24:40 +02:00
Maciej Plewka
80f75ceace
fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-09-23 14:43:59 +02:00
Compute-Runtime-Validation
d842f65cf1
Revert "fix: submit dummy exec to pin memory during zeContextMakeMemoryReside...
...
This reverts commit f9b87d53e6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-09-05 03:28:03 +02:00
Maciej Plewka
f9b87d53e6
fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-11879
2024-09-04 14:07:29 +02:00
Lukasz Jobczyk
8b760f8528
performance: Copy hostptr on cpu for host buffer when mitigate dc flush
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-30 19:55:45 +02:00
Lukasz Jobczyk
5aa5d40937
performance: Mitigate dc flush on LNL Windows
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-28 13:35:17 +02:00
Compute-Runtime-Validation
ad0d6f5435
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit e4412e385a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-27 02:35:06 +02:00
Lukasz Jobczyk
e4412e385a
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-08-26 10:38:56 +02:00
Compute-Runtime-Validation
956dd8e17d
Revert "fix: set properly resource params when setAllocationType"
...
This reverts commit 2e0884a301 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-08-24 05:01:38 +02:00
Katarzyna Cencelewska
2e0884a301
fix: set properly resource params when setAllocationType
...
gmm params: usage, cachable and resource info
should be set properly when override allocation type
Resolves: HSD-22020344331
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-08-23 16:57:23 +02:00
Szymon Morek
6a11e8a077
fix: revert changes around zero-copy
...
Related-To: NEO-12018
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-19 12:29:18 +02:00