Zbigniew Zdanowicz
d3c99f6414
Add level zero heap addressing enum, property and debug key
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-01 18:28:00 +01:00
Lukasz Jobczyk
9a7d2f8068
Fill reusable allocation list for secondary command buffer
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-24 09:30:25 +01:00
Lukasz Jobczyk
2f5be7a48d
Copy command buffer into ring buffer
...
Resolves: NEO-7422
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-22 16:37:34 +01:00
Zbigniew Zdanowicz
f2be0ebfc4
Allocate and consume shared heaps atomically
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-02-07 12:52:54 +01:00
Zbigniew Zdanowicz
7e0401d280
Add improvements to heap estimation in level zero command lists
...
- add estimation parameter for interface descriptor data count
- add to the heap estimation alignment parameter for dynamic and surface heaps
- extend encode interface and implementations to allow child heaps
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-02-03 20:26:27 +01:00
Kamil Kopryk
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
Zbigniew Zdanowicz
34b8f08fc6
Add state base address properties tracking for command lists
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-31 12:47:17 +01:00
Warchulski, Jaroslaw
c275008e51
Cleanup includes 32
...
Cleaned up files:
level_zero/core/source/cmdlist/cmdlist_hw.h
level_zero/core/source/cmdqueue/cmdqueue.h
level_zero/core/source/event/event.h
opencl/source/helpers/get_info_status_mapper.h
opencl/source/helpers/hardware_commands_helper.h
shared/source/helpers/per_thread_data.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-16 20:41:37 +01:00
Kamil Kopryk
468d722efb
Move clGfxCoreHelper ownership to rootDeviceEnv
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-05 12:58:38 +01:00
Warchulski, Jaroslaw
a2fe929f0c
Cleanup includes 18
...
Cleaned up files:
shared/source/command_stream/command_stream_receiver_hw.h
shared/source/compiler_interface/compiler_interface.h
shared/source/direct_submission/direct_submission_hw.h
shared/source/helpers/dirty_state_helpers.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-02 13:28:29 +01:00
Kamil Kopryk
6665f49593
Refactor: don't use global GfxCoreHelper getter in shared files 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-30 11:35:04 +01:00
Warchulski, Jaroslaw
c3a86232d9
Cleanup includes 15
...
Cleaned up files:
shared/source/command_stream/command_stream_receiver.h
shared/source/command_stream/submissions_aggregator.h
shared/source/helpers/flat_batch_buffer_helper.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-12-23 12:36:51 +01:00
Kamil Kopryk
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
Warchulski, Jaroslaw
1fa5710dff
Cleanup includes 10
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-12-05 12:39:33 +01:00
Szymon Morek
aac8754e67
Create reusable list per immediate cmd list
...
Related-To: NEO-7361
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-14 14:09:35 +01:00
Szymon Morek
647321af6f
Remove O(n) lookup in command container destructor
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-14 13:24:07 +02:00
Szymon Morek
3f17b26253
Add cmd buffer to container if needed
...
Command buffers in CommandContainer are removed
through cmdBufferAllocations. This PR ensures
that allocations will be stored there if they
are currently used by given cmd container.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-13 14:23:44 +02:00
Szymon Morek
ffd97a17a1
Make preallocated heaps resident immediately
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-12 14:20:20 +02:00
Szymon Morek
3f5ac0b4d0
Reuse heaps for immediate cmd lists
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-11 13:02:13 +02:00
Tratnack, Geoffrey
1b9c510614
Update to command_encoder, fix bug changing dynamic state memory
...
Adding ULT for encode and command container changes
Refactor getHeapSpaceAllowGrow and getHeapWithRequiredSizeAndAlignment
Signed-off-by: Tratnack, Geoffrey <geoffrey.tratnack@intel.com >
Related-To: LOCI-3365
2022-10-11 03:40:25 +02:00
Szymon Morek
6073702941
Reuse command buffer for immediate cmdlist
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-04 16:02:18 +02:00
Zbigniew Zdanowicz
9cd47ffeaf
Add ownership management when ensuring space for shared heaps
...
Related-To: NEO-7142
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-10-04 12:27:11 +02:00
Zbigniew Zdanowicz
3d92186362
Add heap sharing to immediate command lists
...
This change is intended to be used in immediate command lists that are
using flush task functionality.
With this change all immediate command list using the same csr will consume
shared allocations for dsh and ssh heaps. This will decrease number of SBA
commands dispatched when multiple command lists coexists and dispatch kernels.
With this change new SBA command should be dispatched only when current heap
allocation is exhausted.
Functionality is currently disabled and available under debug key.
Functionality will be enabled by default for all immediate command lists
with flush task functionality enabled.
Related-To: NEO-7142
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-10-03 18:50:10 +02:00
Kamil Kopryk
1c446ff213
Remove wait on user fence during cmdlist destroy/reset
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7158
2022-09-28 16:46:10 +02:00
Kamil Kopryk
17d87a4c69
Add RemoveUserFenceInCmdlistResetAndDestroy debug flag
...
Related-To: NEO-7156
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-09-19 22:35:53 +02:00
Kamil Kopryk
307b74869c
Add OverrideCmdListCmdBufferSize debug flag
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7156
2022-09-14 13:09:54 +02:00
Kamil Kopryk
c99fe2ae23
Reduce surface state indirect heap size
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-09-14 10:25:06 +02:00
Dunajski, Bartosz
9763d42379
Fix type redefinition
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-08-24 09:45:13 +02:00
Kamil Kopryk
9974d95dc3
Restore wait on user fence during cmdlist destoy/reset
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7156
2022-08-23 16:51:56 +02:00
Mateusz Jablonski
6a46e8f0ca
Correct method names in device and module fixtures
...
correct naming in derived classes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-08-12 10:40:56 +02:00
Kamil Kopryk
8b5c567bea
Remove wait on user fence during cmdlist destroy/reset
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7156
2022-08-05 09:24:04 +02:00
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
Krzysztof Gibala
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
Artur Harasimiuk
819e0f5515
style: configure readability-identifier-naming.LocalVariableCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-16 12:39:44 +02:00
Mateusz Jablonski
943ad0e1eb
style: skip redundant unique_ptr::get function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-10 13:22:40 +02:00
Mateusz Jablonski
817ba40771
Stop accessing task count from out-of-bound in opencl and shared ult
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 11:29:54 +02:00
Dominik Dabek
308f9ccfff
Do not allocate dynamic state heap if not needed
...
Dynamic state heap is only used for sampler data.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-31 12:13:13 +02:00
Dominik Dabek
fccda460d6
Optimize zeCommandListCreate
...
Do not allocate heap if command list is copy only.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-28 16:31:10 +02:00
Filip Hazubski
32b0f7b014
Remove redundant value CsrSizeRequestFlags::numGrfRequiredChanged
...
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-15 15:08:15 +01:00
Compute-Runtime-Validation
41c51df086
Revert "Recycle old command buffers of immediate command lists"
...
This reverts commit 8f93f4f3ec .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-10 09:12:47 +01:00
Zbigniew Zdanowicz
8f93f4f3ec
Recycle old command buffers of immediate command lists
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-08 14:59:26 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +01:00
Maciej Plewka
9d8ce7aace
Command container appends BB_END on cmd buffer allocation end
...
When linear stream created for command container has not enough space
for command and BB_END it will program BB_END and allocate new command
buffer allocation. Pointer returned from getSpace in this case will
return storage from new command buffer allocation.
Related-To: NEO-5707
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-31 16:15:37 +01:00
Maciej Plewka
f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-26 13:30:26 +01:00
Lukasz Jobczyk
205e2e1957
Wait for fence before store cmd buffer in reusable pool
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-23 15:36:54 +01:00
Mateusz Jablonski
527806b3ed
Use full path to include test.h 2/n
...
fix files in shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 13:09:50 +01:00
Lukasz Jobczyk
616580637b
Reuse command buffers in L0 command list
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-13 14:52:45 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
Artur Harasimiuk
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-10-05 16:22:38 +02:00
Zbigniew Zdanowicz
7ee9d279c8
Set correct allocation after reseting command container
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-07-01 16:46:35 +02:00