Kamil Kopryk
4133827e6f
fix: set host function allocation as uncached
...
The usage of host function allocation is similar to tagBuffer.
Ensure it's uncached and it follows tag buffer's cache policy.
Host function allocation will be readable and writable
by both: cpu and gpu.
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-09-24 18:00:50 +02:00
Szymon Morek
804b8f5db6
fix: do not cache tag buffer allocation on GPU
...
Related-To: NEO-14360
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-09-24 16:28:35 +02:00
Kamil Kopryk
5f59b4ca08
feature: add host function allocation
...
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-09-23 11:10:45 +02:00
Compute-Runtime-Validation
16a6c3ca8a
Revert "feature: add host function allocation"
...
This reverts commit 75b4de70cd .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-23 02:33:15 +02:00
Kamil Kopryk
75b4de70cd
feature: add host function allocation
...
Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-09-22 17:55:36 +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
Kamil Kopryk
5ea1a4836b
fix: correct gmm resource type for printf surface
...
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-08-26 15:43:16 +02:00
Neil R. Spruit
274c5043b9
fix: Set compression disabled when compression not allowed for a resource
...
Related-To: NEO-12375
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com >
2025-08-14 08:31:19 +02:00
Compute-Runtime-Validation
c98344c906
Revert "fix: Set compression parameter when resource imported"
...
This reverts commit c5b66d50e2 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-08-13 10:50:34 +02:00
Neil R. Spruit
c5b66d50e2
fix: Set compression parameter when resource imported
...
Related-To: NEO-12375
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com >
2025-08-11 18:44:12 +02:00
Compute-Runtime-Validation
23698ac860
Revert "fix: Set compression parameter when resource imported"
...
This reverts commit ed04190d77 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-07-10 13:41:07 +02:00
Aravind Gopalakrishnan
ed04190d77
fix: Set compression parameter when resource imported
...
Related-To: NEO-12375
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2025-07-09 08:36:05 +02:00
Marcel Skierkowski
a52260ce63
test: StreamCapture on pipes
...
Enhance StreamCapture class to mimic gtest's CaptureStdout/Stderr functionality.
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com >
2025-06-11 15:37:01 +02:00
Szymon Morek
a614c0bb95
performance: set tag buffer non-coherent on iGPU
...
There's no need to snoop cpu cache's for tag buffer.
Tag buffer is mostly read-only on CPU.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-05-22 10:46:42 +02:00
Szymon Morek
3ba25459e8
performance: set timestamps as non-coherent since xe2
...
Related-To: NEO-14360
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-05-21 07:49:56 +02:00
Tomasz Biernacik
e376e738f3
fix: disable deferring MOCS on WSL for LNL
...
Related-To: NEO-14643
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-05-15 16:50:43 +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
Szymon Morek
6ae43123f6
fix: correct usages of ULLS-related resources
...
Related-To: NEO-14360
Current gmm usage type of these resources is causing
them to be cached, which is incorrect.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-05-08 12:12:45 +02:00
Tomasz Biernacik
310d8c2e58
fix: allow ringBuffer in coherent memory only for Xe2+
...
Related-To: NEO-9421
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-05-06 15:31:59 +02:00
Tomasz Biernacik
eff2d1cde8
performance: change usage for semaphoreBuffer on integrated devices
...
Related-To: NEO-9421
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-04-16 09:07:05 +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
Tomasz Biernacik
194c3058b8
performance: change usage for ringBuffer on integrated devices
...
Related-To: NEO-9421
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-04-14 12:25:38 +02:00
Tomasz Biernacik
18435df04c
fix: unify deferring MOCS to PAT
...
Related-To: NEO-14643
Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com >
2025-04-11 20:10:25 +02:00
Lukasz Jobczyk
09e23804dc
refactor: Use timestamp types for events and in order nodes
...
Switching tagAllocation into UC causes regressions in non event
scenarios. It is no longer used as dependant type for semaphores.
Restoring previous GMM_USAGE settings for tag.
Marking events and in order nodes using only timestamp types as they
have proper GMM_USAGE settings already and can be both in smem and lmem.
Resolves: NEO-13847
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-01-30 12:20:38 +01:00
Lukasz Jobczyk
7eac78d253
refactor: Make semaphore dependant resources UC
...
Change for tagBuffer type on Windows. Timestamp types are already UC on all DC
flush platforms regardless of OS.
Resolves: NEO-13847
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-01-28 14:51:28 +01:00
Mateusz Jablonski
5912b43841
refactor: remove dead code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-09-17 13:41:50 +02:00
Michal Mrozek
ce3cb71773
performance: add debug flag to control timestamp caching
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-08-30 16:32:06 +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
Katarzyna Cencelewska
153cda9a9f
feature: add debug flag to force gmm system memory resource type
...
Related-To: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-07-18 14:05:16 +02:00
Compute-Runtime-Validation
9a6403f3bc
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit d6076941a8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-15 11:47:30 +02:00
Lukasz Jobczyk
d6076941a8
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-07-12 14:45:51 +02:00
Mateusz Jablonski
c207e3aadc
test: remove not needed test excludes
...
correct namespace of excluded tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-05 10:27:14 +02:00
Compute-Runtime-Validation
38872b7e1b
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit 1cba900ad9 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-04 08:20:18 +02:00
Lukasz Jobczyk
1cba900ad9
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-25 14:53:24 +02:00
Lukasz Jobczyk
5794ee8100
fix: Add printf surface to dc flush mitigation logic
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-19 10:45:36 +02:00
Compute-Runtime-Validation
33edd5f10e
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit bd46361e26 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-06-19 03:48:33 +02:00
Katarzyna Cencelewska
0f0e7403bd
fix: use gmm type ocl system buffer for tag buffer
...
Related-To: NEO-11690, NEO-11698
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-06-18 20:54:19 +02:00
Lukasz Jobczyk
bd46361e26
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-18 14:03:27 +02:00
Lukasz Jobczyk
eb3b0c5711
fix: Disable cache for heaps when mitigating dc flush
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-03 13:40:55 +02:00
Compute-Runtime-Validation
166cdfedf5
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit f2d56744e3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-30 03:03:14 +02:00
Lukasz Jobczyk
f2d56744e3
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-29 12:13:44 +02:00
Lukasz Jobczyk
a9269939f6
fix: Defer MOCS to PAT
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-27 10:26:26 +02:00
Compute-Runtime-Validation
ce0ccacef6
Revert "fix: Defer MOCS to PAT"
...
This reverts commit 6c75ec3116 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-25 06:22:22 +02:00
Lukasz Jobczyk
6c75ec3116
fix: Defer MOCS to PAT
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-24 15:30:49 +02:00
Compute-Runtime-Validation
ad2ff7972c
Revert "refactor: Add dc flush mitigation infrastructure"
...
This reverts commit 9dbf83c85a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-23 02:26:17 +02:00
Katarzyna Cencelewska
12d1bce6b9
fix: change gmm resource for externalHostPtr
...
Resolves: NEO-10157
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-05-22 16:50:17 +02:00
Lukasz Jobczyk
9dbf83c85a
refactor: Add dc flush mitigation infrastructure
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-05-22 12:03:06 +02:00
Compute-Runtime-Validation
94a4bbac57
Revert "fix: change gmm resource for externalHostPtr"
...
This reverts commit 63843862df .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-05-21 07:43:53 +02:00