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
Fabian Zwolinski
3d8effcd69
Clean-Up unused code related to GMock
...
This commit:
- Removes usings e.g. ::testing::Return
- Removes unnecessary gmock inclues
- Replaces Gmock macros (e.g. EXPECT_THAT) with our custom implementations
Related-To: NEO-4941
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-03-22 16:16:34 +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
Zbigniew Zdanowicz
caa19489fc
Tweak dispatch kernel args structure
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 15:06:12 +01:00
Zbigniew Zdanowicz
9785ab7828
Refactor encode dispatch kernel class interface
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 12:08:38 +01:00
Fabian Zwolinski
76565529f6
Remove GMock: GMockProgram, MockDispatchKernelEncoder, GMockSourceLevelDebugger
...
New name for mock class:
GMockProgram -> MockProgramAppendKernelDebugOptions
Also GMockSourceLevelDebugger class body has been merged with
MockSourceLevelDebugger.
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-12-28 12:58:31 +01:00
Mateusz Jablonski
3e862d1fbc
Add test matcher for at least Skylake platform
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 19:52:00 +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
Mateusz Hoppe
8b233f7f45
Support for bindless mode in L0 - improvements
...
Related-To: NEO-6448
- add new IGC compilation flag when bindless mode used
- fix SBA programming of BindlessSurfaceStateSize -
always set maximum surface state count
- fix residency of global DSH heap on gen9 - gen12lp
in bindless mode
- add L0 aub test with bindless kernel - disabled
- partial fixes in OCL aub tests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-02 16:30:58 +01:00
Mateusz Jablonski
44112f8d94
Cleanup includes in shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-13 17:02:22 +02:00
Maciej Plewka
22725e5840
Pass device bit field to create bindless heaps allocations
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-10-05 14:36:59 +02:00
Bartosz Dunajski
0345d9f707
Improve queries with number of SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-09-01 14:01:57 +02:00
Filip Hazubski
29c64c3dd0
Disable implicit scaling for cooperative kernels
...
When implicit scaling is disabled use useSingleSubdeviceValue = true.
Resolves: NEO-5757
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-18 14:56:37 +02:00
Mateusz Hoppe
c4950eb892
Method to get attention bitmask from threads vector
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-23 15:22:22 +02:00
Zbigniew Zdanowicz
a869921c2a
Remove RMW from gfx allocations
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-07-15 11:28:03 +02:00
Jaime Arteaga
a481c28e55
Program GPU atomics on stateless kernels for L0
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-06-17 18:57:35 +02:00
Filip Hazubski
d693d24f27
Add StateComputeModeProperties to StreamProperties
...
Related-To: NEO-4940, NEO-4574
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-05-21 16:39:39 +02:00
Daria Hinz
53104e0830
Add a parameter to the encode function
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-04-22 12:07:16 +02:00
Daria Hinz
9ac7f1d370
Adding a parameter to a encode function
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-03-19 17:54:46 +01:00
Zbigniew Zdanowicz
d6dde3df33
Add internal argument to encode method
...
Related-To: NEO-5244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-19 09:37:05 +01:00
Daria Hinz
13fe8ed7f1
Revert "Correct POST_SYNC for L0 Events"
...
This reverts commit 04d1a3255357a7778a530f054700e211d94f3b6d.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-02-24 10:16:22 +01:00
Daria Hinz
64d772d366
Fix for adding MI_SEMAPHORE_WAIT & reset L0 Event
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-02-18 18:33:21 +01:00
Zbigniew Zdanowicz
c35f560971
Refactor internal interface
...
Related-To: NEO-5244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-02-15 13:24:00 +01:00
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-02-10 21:03:13 +01:00
Kacper Nowak
afbead513d
Reuse SS allocations on freeGraphicMemory
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-02-09 16:00:42 +01:00
Adam Cetnerowski
abd78c68e2
ULT renaming: misc
...
Related-To: NEO-2236
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2021-01-18 19:09:34 +01:00
Maciej Plewka
3ca77a6cbe
Program sba for global bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-01-04 14:23:47 +01:00
Filip Hazubski
edbda8e8b2
Pass HwInfo to computeSlmValues function
...
Resolves: NEO-5215, NEO-5216
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-07 20:23:28 +01:00
Maciej Plewka
7a5c9d39b5
Encode dispatch kernel with global bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-12-02 17:30:15 +01:00
Jaime Arteaga
be90b9ff93
Add support for ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED
...
Add support for device and shared allocations that use the
ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED flag, whether the
kernel using the memory is stateless or statefull.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-12-02 10:43:45 +01:00
Bartosz Dunajski
93ba4e646b
Improve EncodeDispatchKernel
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-27 16:39:34 +01:00
Zbigniew Zdanowicz
47f5867e8f
Move common code to shared directory
...
Change-Id: I5f604de01e06d35cc1e045fffdd4a26d88ffca8c
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-07 10:55:39 +02:00
Zbigniew Zdanowicz
28ef5fa709
Move pipecontrol w/a estimation to dedicated class
...
Change-Id: I8ceaa2dff94dd7148daf921568fd30f098e5dae4
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-06 15:02:37 +02:00
Artur Harasimiuk
fa6b181120
do not use absolute path when including hw_cmds.h
...
Change-Id: I59a825f25d6572f7dfb0c80211a6e3652e2827c5
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2020-08-04 13:27:29 +02:00
Mateusz Hoppe
0ed1db0b46
Insert PC before SBA in cmdlist
...
Related-To: NEO-4916
Change-Id: I7024ff173ad97d4c42a5fa6d7ea0d0ee665a87d9
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-31 13:09:57 +02:00
Zbigniew Zdanowicz
2fca4e3477
Refactor programming of additional data of interface descriptor
...
Related-To: NEO-4570
Change-Id: I3338046f037878085eddaaeb2c8bbdd821fc1515
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-07-24 14:25:39 +02:00
Zbigniew Zdanowicz
134462919d
Move barrier programming to Encode class
...
Related-To: NEO-4576
Change-Id: I34b93b3118528b449c4e1b81826f9784633377a9
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-07-17 14:28:46 +02:00
Mateusz Hoppe
ca39301ed8
Reserve SSH space for bindless mode
...
Related-To: NEO-4767
Change-Id: Id7876ea5a5a4fc12ab0b3192548b006fc1eea75c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-17 13:26:28 +02:00
Zbigniew Zdanowicz
bac5506b62
Modify function dispatching cross and per-thread data
...
Related-To: NEO-4585
Change-Id: Ia6b54b8d0c868cab5403332411655dc8c9ef4c8d
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-07-08 19:30:23 +02:00
Zbigniew Zdanowicz
c4cb8c1c81
Add thread programming to Encode class
...
Related-To: NEO-4585
Change-Id: I45e57038af23a60f52b57eb1888f8220b77f5e56
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-06-29 20:24:26 +02:00
Zbigniew Zdanowicz
77de2dd770
Move SLM functions to HwHelper class
...
Related-To: NEO-4585
Change-Id: I073e4138ef34584780a10a63ba8a2eb57eaa11bd
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-06-09 12:51:49 +02:00
Mateusz Hoppe
77e4ac0a18
Bindless addressing support in EncodeDispatchKernel
...
Related-To: NEO-4607
Change-Id: Ib89b07f71f32c3a623f86212b5305b4aa02e1fb7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-05-12 21:02:06 +02:00
Jaroslaw Chodor
2c25777f3c
DispatchKernelEncoder refactor
...
Replacing parts of DispatchKernelEncoder with KernelDescriptor
Change-Id: I1c780b04a2d3d1de0fb75d5413a0dde8b41bbe07
2020-04-08 16:19:21 +02:00
Lukasz Jobczyk
07dc91df72
Use proper FamilyType template argument
...
Change-Id: I0f2d132d0e0c9831e1c13266e5131db6123f473d
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-04-02 16:10:11 +02:00
Lukasz Jobczyk
d1bc7199de
Switch to 3D pipeline to program selected commands - part 2
...
Resolves: NEO-4447
Change-Id: I1dd6a9694cdf3be19aadec1cd139c466baecbcd7
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-04-01 10:42:55 +02:00
Mateusz Hoppe
0791b25214
Move cmd parse files to shared directory
...
Related-To: NEO-4519
Change-Id: Id055631d68f1d73ae39c4976843080b8f8e05f1c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-03-31 23:31:29 +02:00
Mateusz Jablonski
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-24 10:22:30 +01:00