Krzysztof Gibala
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2022-04-27 15:45:49 +02:00
Dominik Dabek
76289be8c1
Avoid unnecessary allocation in enqueueHandler
...
Related-To: NEO-6837
kernelObjsForAuxTranslation will allocate only if needed
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-06 13:03:41 +02:00
Zbigniew Zdanowicz
f2a18370e8
Split command queue hw tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-04-01 08:35:40 +02:00
Dominik Dabek
b9d8d8c0fd
Optimize setKernelArgSVMPointer
...
If same pointer is already set, we don't need to set it again.
Related-To: NEO-6737
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-03-01 09:12:13 +01:00
Bartosz Dunajski
a95198521e
Initial implementation of CacheSettingsHelper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 16:18:06 +01:00
Bartosz Dunajski
c88fce0def
Gmm construction cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-08 10:20:24 +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
Mateusz Jablonski
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-15 12:34:34 +01:00
Bartosz Dunajski
dfdd3c597a
Remove redundant BUFFER_COMPRESSED allocation type
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-07 13:35:49 +01:00
Bartosz Dunajski
5c266f9ab0
Compression refactor [3/n]
...
Dont use allocation type for compression preference
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-03 17:20:07 +01:00
Mateusz Jablonski
58ebebeec6
Move drm_memory_manager_tests.h and related fixtures to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-21 20:46:58 +02:00
Milczarek, Slawomir
2abcef2c35
Revert "Disable stateless compression in sba on indirect host access flag"
...
Related-To: NEO-5107
This reverts commit 658fa6d85419f4a1f4876b40ef74f77095c29125.
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-09-29 13:07:07 +02:00
Milczarek, Slawomir
5c4c02d2e7
Disable stateless compression in sba on indirect host access flag
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-09-21 16:57:34 +02:00
Milczarek, Slawomir
0a8b473f3c
Add resolves for stateless compression with shared buffer
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-09-17 09:18:45 +02:00
Milczarek, Slawomir
eb14d8458b
Add helper function to enable stateless compression
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-02 14:34:33 +02:00
Milczarek, Slawomir
f9f5c96ffe
Add resolves for USM allocations when aux translation is required
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-27 15:10:41 +02:00
Milczarek, Slawomir
a18fb402a0
Add resolves for SVM GPU allocations if aux translation is required
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-27 10:21:11 +02:00
Milczarek, Slawomir
330856c9e9
Add resolves for unified memory when aux translation is required
...
Related-To: NEO-5107
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-22 14:02:52 +02:00
Bartosz Dunajski
64eb82efac
Add Kernel restrictions
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-02 17:41:03 +02:00
Krystian Chmielewski
5e8e066541
Bindless support ocl
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-06-23 13:56:12 +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
Krystian Chmielewski
ef71915c71
Remove KernelArgInfo and use KernelDescriptor's args instead
...
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-04-23 15:12:09 +02:00
Krzysztof Gibala
7bfe26a08d
Remove ensureMemoryOnDevice function
...
Remove:
- ensureMemoryOnDevice
- lastUsedRootDeviceIndex
- requiredRootDeviceIndex
- getMigrateableMultiGraphicsAllocation
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-29 11:41:07 +02:00
Mateusz Jablonski
7098e9c5f2
Store single KernelInfo in Kernel
...
remove root device index from Kernel's methods
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-22 21:30:03 +01:00
Mateusz Jablonski
35d2325361
Remove KernelDeviceInfo struct
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-22 14:25:23 +01:00
Mateusz Jablonski
7a58e7bc3e
Pass Device to Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-19 17:44:54 +01:00
Krystian Chmielewski
41f3bd00ff
Remove PatchTokens from KernelInfo
...
Use KernelDescriptor instead of patchTokens stored in KernelInfo's
patchInfo.
Removed: SPatchMediaInterfaceDescriptorLoad, SPatchAllocateLocalSurface,
SPatchMediaVFEState(slot 0), SPatchMediaVFEState(slot 1),
SPatchInterfaceDescriptorData, SPatchSamplerStateArray,
SPatchBindingTableState, SPatchDataParameterBuffer,
SPatchDataParameterStream, SPatchThreadPayload,
SPatchKernelAttributesInfo, SPatchAllocateStatelessPrivateSurface,
SPatchAllocateSyncBuffer,
SPatchAllocateStatelessConstantMemorySurfaceWithInitialization,
SPatchAllocateStatelessGlobalMemorySurfaceWithInitialization,
SPatchAllocateSystemThreadSurface.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-03-09 17:09:13 +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
Mateusz Jablonski
f583ec7d8f
Revert "Create a new class for handling multi device SVM arguments in kernel"
...
This reverts commit 00b2a28818
.
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-01-26 16:06:53 +01:00
Mateusz Jablonski
00b2a28818
Create a new class for handling multi device SVM arguments in kernel
...
set arg SVM for devices in Kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-01-22 15:53:02 +01:00
Slawomir Milczarek
068cb09c90
Add function to check for USM host allocations in SVM Allocs Manager
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-12 15:41:24 +01:00
Slawomir Milczarek
d605234843
Add function to check if kernel has indirect stateless access to host memory
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-11 15:31:47 +01:00
Slawomir Milczarek
55f3c8f134
Add resolve capability for compressed USM device allocations
...
Related-To: NEO-5107
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2021-01-08 12:16:26 +01:00
Mateusz Jablonski
c3c92416db
Enable memory transfer for mem obj kernel args
...
correct building programs with multiple root devices
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-17 11:14:33 +01:00
Mateusz Jablonski
55fb319517
Set arg buffer for all Kernel devices
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-16 17:27:52 +01:00
Slawomir Milczarek
847bad4763
Add function to check if kernel has direct stateless access to host memory
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-16 10:06:17 +01:00
Mateusz Jablonski
7ec69c33f9
Store SSH per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-24 17:57:31 +01:00
Mateusz Jablonski
a67e829fa8
Store crossThreadData per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-20 20:49:50 +01:00
Maciej Plewka
e448527150
Mark override TearDown in KernelArgBufferFixtureBindless
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-20 11:44:00 +01:00
Maciej Plewka
28de4068c9
Read bindless offset from patch token
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-18 17:04:00 +01:00
Maciej Plewka
2ebee73e4b
Unify bindless debug flags
...
Change-Id: I6a9313722eed01b935707e93cad532adddcc78af
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-09 14:49:50 +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 Jablonski
87596d2387
Use root device index when accessing graphics allocation from buffer
...
Related-To: NEO-4672
Change-Id: I31ed0aa567276b606f4b09733ca2a8d678f9786f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-06-09 13:40:29 +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
Mateusz Hoppe
6ede3107ca
Aub test for bindless image
...
Related-To: NEO-4607
Change-Id: I0abef7d3b12f67eed7b5a11a3b9655f42de5a2cf
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-04 21:16:24 +02:00
Mateusz Hoppe
d2c07cb9ed
Refactor bindless surface state offsets
...
Related-To: NEO-4607
Change-Id: I0b0ac275b532cf33f0292d3cf92abf2f49ff354f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-28 17:35:09 +02:00
Adam Cetnerowski
ab9baf8026
ULT renaming: Kernel Arg Buffer tests
...
Related-To: NEO-2236
Change-Id: Ida4ddd9280881e8ebbe1368f4fd7613014d5589d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-27 21:55:44 +02:00
Mateusz Hoppe
6e79105466
Bindless addressing support for OCL
...
Related-To: NEO-4607
Change-Id: Iaf4a8d45f22d134366e398a196bdd8dc906ab6ab
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-23 22:08:02 +02:00
kamdiedrich
87c5d2663b
Add absolute path to unit_tests
...
Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
2020-02-23 17:18:04 +01:00
kamdiedrich
e8852a68c4
Reorganization directory structure [2/n]
...
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
2020-02-23 12:01:27 +01:00