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
Mateusz Hoppe
0f32231fc8
Use correct INTERNAL heap base address for ISA in system memory
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-05-25 10:22:28 +02:00
Maciej Plewka
159404f38e
Revert "Program border color once per dsh"
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-05-18 12:26:58 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
Maciej Plewka
171a614f18
Fix reset border color offset when replacing heap buffer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-05-05 13:38:02 +02: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
Maciej Plewka
bb825acfff
Mark heap as dirty when base address has changed
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-12-29 17:19:51 +01:00
Vinod Tipparaju
240563099c
Clean up code for nullptr device check during cmdlist create
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-11-19 04:24:34 +01:00
Vinod Tipparaju
8e6be83fcc
Add cmdContainer ULTs - idOffset & numIdd reset, Gfx alloc failure
...
ULT required to cover IDOffset and numIdd values during reset.
ULT required to cover OUT_OF_MEM retrun during init.
Fix to check for valid gfx allocation inside heap helper & destructor
Change-Id: Ied9049b33dc0605d5f5f51c96114d5e96b26a4f7
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-11-03 13:22:44 +01:00
Mateusz Hoppe
4d2750161d
Move OsAgnosticMemoryManager to shared
...
Resolves: NEO-5188
-move MockGraphicsAllocation to shared
Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-02 21:02:53 +01:00
Kamil Diedrich
9e463ab45f
Track all ssh in cmdList
...
Change-Id: Ibffb7b7b406e5e17d4ffb971fd0789557c879367
2020-10-12 12:12:12 +02:00
Kamil Diedrich
960860e4cb
Fix reservation size
...
Change-Id: I1cc3d4405b00365908c5915c9d2a1c512d572530
2020-10-08 10:57:08 +02:00
Mateusz Hoppe
5fd113dcb3
CommandContainer.reset() clears lastSentNumGrfRequired
...
RelatedTo: NEO-5137
Change-Id: Icaad8224ee24f8c927b75e2efb17585a8b79918a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-07 12:24:04 +02:00
Kamil Diedrich
ce7e293a99
Extend scratch implementation
...
Change-Id: I1bbc0c9be287b1411276b1e61a7ec1c8db238f3f
2020-10-07 11:39:04 +02:00
Bartosz Dunajski
2a69b1ed78
Select correct heap base address for ISA
...
Change-Id: I400f965faa4615519729756daa78350a46c46ff2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-23 14:21:22 +02:00
Vinod Tipparaju
d2b218d82d
Return ZE_RESULT_OUT_OF_MEMORY when alloc on device fails during cmdlist create
...
Change-Id: Ia03e7ac190598c56de044d3ad8216087b8da94f2
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-09-17 00:09:22 +05:30
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
Mateusz Hoppe
f5130af641
Allocate command buffers with correct AllocationType
...
Related-To: NEO-4579
Change-Id: Ic16ab56564c9309532cb181e9a8be1b8c0c1cb31
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-07-13 14:45:37 +02:00
Bartosz Dunajski
d712a015b4
Use correct heap for GSBA programming
...
Change-Id: I85d3b478e8c3749501ca6eb76224d95b4dbbb86c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-03 09:12:34 +02:00
Bartosz Dunajski
2e87c872b5
Select correct heap for programGeneralStateBaseAddress
...
Change-Id: I21744fbc67551d358e03b3ee44f649ba8d62eb45
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-02 11:03:03 +02:00
Bartosz Dunajski
6dd07bd3bc
Use correct Heap32 index for local memory allocations
...
Change-Id: I068f712ab2b05ee3d5a9716b21de685a7fee3a02
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-07-01 17:31:43 +02:00
Konstanty Misiak
9e8945ca83
Move shared tests to the new target [3/n]
...
Change-Id: I2479d283cffc9c7f8b49ac616026d9afa491da29
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-06-09 13:01:36 +02:00
Konstanty Misiak
aa8e9fb634
Rename ocl DeviceFixture and add shared tests specific one
...
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-06-01 15:44:05 +02:00
Jaime Arteaga
1e6337c61e
Correctly use deviceIndex in CommandContainer initialization
...
Change-Id: I2377597e16f957428495251d7d788328307d2a9f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-03-30 11:23:27 +02:00
Raiyan Latif
43433244f9
Enable support for indirect allocation access to Kernels
...
Change-Id: I3ded8cce3761a38aa4a4d71b4089f79c844311c5
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2020-03-15 22:13:19 +01: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
kamdiedrich
9e97b42ee6
Reorganization directory structure [4/n]
...
Change-Id: Ib868ed62d12ea8f9f123644219ba299e86a658ac
2020-02-24 01:04:42 +01:00