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
Mateusz Hoppe
b6299b8a21
feature: add support for HP copy engine context
...
- add support for contect group with HP copy engine
- choose HP copy engine when available
Related-To: NEO-11983
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-19 12:23:03 +02:00
Filip Hazubski
f8867ac3ac
fix: Minor code improvements
...
Add explicit pointer checks to CommandQueue::blitEnqueueAllowed.
Explicitly check result of getDeviceArgValueIdx during ocloc compile.
Explicitly remove unused StagingBufferManager functions.
Move chunkCopyFunc by reference.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-07-19 09:24:37 +02:00
Compute-Runtime-Validation
7ad15639fc
Revert "feature: add support for HP copy engine context"
...
This reverts commit 3fbcbcaef2 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-18 21:02:14 +02:00
Szymon Morek
33ab962121
fix: adjust compression hint usage for ocl buffers
...
Related-To: NEO-11989
Also, use zero-copy on lnl
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-18 18:24:48 +02:00
Michal Mrozek
20d6910b66
performance: move usm pool init to first alloc call
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-07-18 16:07:22 +02:00
Mateusz Hoppe
3fbcbcaef2
feature: add support for HP copy engine context
...
- add support for contect group with HP copy engine
- choose HP copy engine when available
Related-To: NEO-11983
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-18 16:07:07 +02:00
Dominik Dabek
c1c9ac634b
performance(ocl): enable host usm alloc recycle
...
Enable at threshold of 2% system memory.
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-07-17 19:33:56 +02:00
Mateusz Jablonski
8a60742a8d
fix: correct reported num subslices per slice in fused config
...
Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-17 17:17:28 +02:00
Dominik Dabek
fc9de71feb
fix(ocl): finish in release ogl object if needed
...
Finish cache flushes before exiting api call if releasing displayable
ogl object or dcflush is mitigated.
Related-To: NEO-11694
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-07-16 11:21:32 +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
Bartosz Dunajski
e188de2489
fix: initialize page tables before access for TSP allocation in TBX mode
...
Related-To: NEO-8340
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-11 16:03:19 +02:00
Lukasz Jobczyk
b0a5f2cced
fix: Stop direct submission before signal GL event
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-07-11 13:45:42 +02:00
Dominik Dabek
bdeccab7aa
fix: bcs enqueue after marker properly waits
...
For an example sequence of:
IOQ_1 -> enqueue copy, enqueue marker with waitlist (out event)
IOQ_2 -> enqueue marker with waitlist (event), enqueue copy
Add missing synchronization between the enqueue copies
Related-To: NEO-11694
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-07-11 10:36:18 +02:00
Michal Mrozek
05eb4e7a0d
performance: add debug flag to disable l1 flush
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-07-11 10:09:46 +02:00
Szymon Morek
dbd96372be
performance: adjust staging buffer usage
...
Related-To: NEO-11928
Don't copy through staging buffer if dst usm allocation
was not used before and transfer would be splitted.
Also, don't use staging buffers for mapped ocl buffers.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-10 10:19:18 +02:00
Michal Mrozek
4cabc9e4d2
performance: remove not needed code.
...
events are already created with queued state.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-07-10 07:35:05 +02:00
Bartosz Dunajski
90d1a210d8
refactor: remove not needed check
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-09 16:11:33 +02:00
Mateusz Jablonski
778645c11e
feature: add initial support for Xe2 platforms
...
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-09 10:30:27 +02:00
Szymon Morek
7d25965a78
performance: change buffer type for new coherency model
...
Related-To: NEO-11882
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-09 09:33:53 +02:00
Lukasz Jobczyk
bbeb5224d8
fix: Add IOH alignment to estimation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-07-08 12:29:54 +02:00
Mateusz Jablonski
4f4b8fed15
refactor: remove not needed code related to deprecated device ip version
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-07-05 09:54:48 +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
a96f2ea13a
performance: disable blit enqueue on LNL
...
Resolves: NEO-11471
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-07-04 05:41:31 +02:00
Szymon Morek
daeb6e897a
performance: limit barrier usage in non-usm copies
...
Related-To: NEO-11501
Don't emit barrier if non-usm copy through staging
buffers with OOQ and single transfer was issued.
No need to send barrier if there was single transfer -
there's nothing to aggregate
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-03 13:45:52 +02:00
Compute-Runtime-Validation
b8246d806f
Revert "performance: change buffer type for new coherency model"
...
This reverts commit c979495265 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-07-03 02:11:19 +02:00
Morek, Szymon
aed96cede4
fix: flush barrier when profiling enabled
...
Related-To: NEO-10615
Signed-off-by: Morek, Szymon <szymon.morek@intel.com >
2024-07-02 13:25:07 +02:00
Szymon Morek
c979495265
performance: change buffer type for new coherency model
...
Related-To: NEO-11882
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-02 12:49:41 +02:00
Szymon Morek
53f9a48fce
fix: set start TS on cpu if TS packet write disabled
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-07-01 17:14:10 +02:00
Oskar Hubert Weber
9a486dd5a1
fix: Add missing fp64 extensions in caps initialization
...
In a scenario where fp64 emulation is both supported and enabled,
we want to include 2 additional extensions:
- cl_khr_fp64 to deviceExtensions
- __opencl_c_fp64 to openclCFeatures (OpenCL ver. 3.0)
Related-To: NEO-7611
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com >
2024-07-01 13:09:13 +02:00
Dominik Dabek
76e8be5c39
fix(ocl): handle gl sharing displayable textures
...
Displayable textures always need dc flush.
Related-To: NEO-11694
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-06-27 13:43:20 +02:00
Kamil Kopryk
70e52ce4d8
refactor: add seperate enablers for compute walker and gpgpu walker
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-06-27 10:27:48 +02:00
Szymon Morek
8ee92b840f
fix: don't set start timestamp on cpu for bcs
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-06-26 13:30:58 +02:00
Kamil Kopryk
fbc29bb43d
refactor: use indirectDataAlignment from gen cmds
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-06-25 21:02:36 +02:00
Michal Mrozek
a3c3b6533a
performance: improve pool handling
...
Related-To: NEO-11731
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2024-06-25 17:04:17 +02:00
Kamil Kopryk
2ec2f8c085
refactor: add heaplessStateInitEnabled bool to dispatch walker args
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-06-25 15:53:19 +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
Artur Harasimiuk
bbe11205e3
build: add cmake flags to control platform support
...
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2024-06-25 09:08:03 +02:00
Szymon Morek
29e3eb512c
performance: non-usm copy through staging buffers
...
Related-To: NEO-11501
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2024-06-25 07:18:53 +02:00
Lukasz Jobczyk
fed90f5c8e
fix: Add infrastructure to force dc flush when mitigate dc
...
-force dc on next tag update after RT kernel
-force dc when release shared object
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-24 17:15:03 +02:00
Lukasz Jobczyk
773da10099
fix: Copy hostptr using BCS when mitigate dc flush
...
Related-To: NEO-10556
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-24 16:26:44 +02:00
Compute-Runtime-Validation
7136dfbd38
Revert "performance: improve pool handling"
...
This reverts commit 5f0b9efd2b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-06-24 12:47:19 +02:00
Filip Hazubski
9513df52a6
refactor: Explicitly delete unused functions of BarrierCommand
...
Comply with the rule of five.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-06-24 11:18:17 +02:00
Kamil Kopryk
0c019c9f2b
performance: don't check multiple times if gpgpu is initialized
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-06-24 10:12:46 +02:00
Filip Hazubski
2f6eaf149a
fix: Update SIP kernel initialization logic
...
Initialize SIP kernel when shared device is being initialized
instead of api-specific device.
Initialize debugger when shared device is being initialized
instead of during platform or driver initialization.
Add missing makeResident calls for SIP kernel in heapless paths.
Related-To: HSD-18038645398, HSD-18038819112
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-06-20 18:30:46 +02:00
Kamil Kopryk
78c7d8878d
refactor: change method to get indirect data address
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-06-20 14:24:51 +02:00
Lukasz Jobczyk
ce0047de39
fix: Use proper GA object to check shared handle in debug break
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-06-19 11:08:37 +02:00
Jaroslaw Warchulski
daec249430
refactor: remove not needed createGraphicsAllocationFromNTHandle method
...
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-06-18 14:25:00 +02:00
Dominik Dabek
b6d86d2648
refactor: tests for buffer pool
...
add support for future AIL
Related-To: NEO-11694
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-06-18 13:55:21 +02:00