3595e6e046
[8/n] Unified Shared Memory.
...
-Wire in host allocations API.
Related-To: NEO-3148
Change-Id: If7213a7c90a35aebb530e2b4d14413138cd84297
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-19 14:21:15 +02:00
d06fcc8599
Dont force system memory for pipe and global surface
...
Related-To: NEO-3127
Change-Id: Iffb1b04401a19043bdb898b7896068bc760f4797
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-19 12:46:30 +02:00
4eb870af85
Add Unified Shared Memory API
...
Related-To: NEO-3317
Change-Id: I9e15ac2dab710e6e410ddded04f0be01694a74d7
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-06-19 11:49:49 +02:00
2e5ef30009
ocloc - checksum recalculation during reassembly
...
Resolves: NEO-2696
Change-Id: I2c049ac511e437679df9b58d00e4fb8d995bbe3e
2019-06-19 09:57:04 +02:00
0fa5ceea37
Disable LocalMemory in ULTs in 32 bit
...
Change-Id: I8118c27494023536db8a4c0a44c7fa67a7942776
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-06-19 09:56:37 +02:00
568670c764
Validate and create image using MemoryProperties instead of flags.
...
Related-To: NEO-3147
Change-Id: I6c1f4383ec4ae1c35399f26ed953f1f20c203cf3
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2019-06-18 15:54:29 +02:00
4b592b2520
Don't take BCS path when Queue is blocked
...
Change-Id: Ie6faa276ce1173ce075693bc81d1e91d1ace27fc
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-18 15:31:53 +02:00
d6dd229543
Fail create allocation if map is unsuccessful.
...
- This way we will fail whenever mapping is unsuccessful instead of creating
Graphics Allocation that is in undefined state.
Change-Id: I50358d4564cd3fba0f6d05ab47cbbbaffbd9ce1c
2019-06-18 15:29:56 +02:00
64b6f2e2bb
Add GENTEST_F macro
...
Change-Id: Ia8ecff6672706ccbaa9b43c699c32d4f4c79d623
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-06-18 10:45:25 +02:00
971eb7a1b4
Add initial implementation of specialization constants
...
Related-To: NEO-2260
Change-Id: Ib722109039555a028eb4ec0862e9de72342f9730
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-06-18 09:39:32 +02:00
3a75c4fb71
[7/n] Unified Shared Memory.
...
- Add basic allocation support for shared allocations
- Add kernel support for shared allocations.
Related-To: NEO-3148
Change-Id: Ie0523acc3a444eef6a5aeb6a56a041280df6a02e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-18 09:17:16 +02:00
15faadbfcc
cmake: refactor generation of GTest xml details output
...
Change-Id: I223d316916ef3f73fc67d8a2c381528d7431481d
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-06-18 08:01:16 +02:00
e279804c0c
[6/n] Unified Shared Memory
...
- Move definitions to core folder.
- Add tests for core related code.
Change-Id: I9ae0473f965ba56cbe2f5458160b8a24d06595ae
Related-To: NEO-3148
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-18 07:18:18 +02:00
a2398e193b
Pass Blocking enqueue flag to Blit CSR
...
Change-Id: I2dcdd27eef338d3aca60a273bce15e5382673a93
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-17 16:33:16 +02:00
2e8e625024
[5/n] Unified Shared Memory
...
- Add kernel support for host um allocations
- During make resident call choose only appropriate resources for residency
- change resource types to binary bit friendly values
- enhance memory manager to only make resident compatible types
Related-To: NEO-3148
Change-Id: Ic711a4425a0d8db151a335e0357440312dc09b7e
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-17 15:47:30 +02:00
e2d1e0b377
Add linux specific CMakeLists.txt for helpers
...
Change-Id: I78e169f13de5745012a7ae868dbfa990736a9621
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-06-17 14:31:08 +02:00
6952574bad
Add finish call.
...
Change-Id: I2c7ef79a40f4d9b24f81d0ed9a41d2cdc8ff9425
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-17 12:58:32 +02:00
dd0d81672b
[4/n] Unified Shared Memory
...
- Add allocation logic for host allocation.
Change-Id: Ic250b2165a050bbff7dea1b33b904d6d66cf8113
Related-To: NEO-3148
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-17 12:40:37 +02:00
22187bc5e8
Add finish call.
...
Change-Id: Id450e4e75b7a1502c45f304131afd5809e98ca21
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-17 12:24:26 +02:00
3e88907201
Enqueue Read/Write operations with blitter
...
- Program dependencies from Event and IOQ
- Obtain new TimestampPacket
- Update output TimestampPacket if needed
Change-Id: I4ad020f5c5b05ceca8b096fafe1257523e2bc343
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-17 12:01:37 +02:00
aae31c3c1b
Add windows specific CMakeLists.txt for helpers
...
Change-Id: I2fe16e3f95f78bc678838d6c00f89de09a1a9c5f
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-06-17 09:36:49 +02:00
4f9840246f
Dynamically read timestamp resolution on Linux.
...
Related-To: NEO-2492
Change-Id: Ic76815496289ccecd8a76484e417e71b78b04932
Signed-off-by: Zdunowski, Piotr <piotr.zdunowski@intel.com >
2019-06-14 15:39:25 +02:00
474c25eca6
HostPtr allocation with life time of buffer object for CL_MEM_USE_HOST_PTR
...
Related-To: NEO-3231
Change-Id: Ic112819c793482844aa712b4a8a1827ec9408812
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-06-14 15:17:01 +02:00
a5c4956bbd
[3/n] Unified Shared Memory
...
- Add vector of UM allocations to kernel that will be accessed indirectly
- Wire in support to clSetKernelExecInfo
Change-Id: I5858f2a93ab957597f3131022daee3741c3453ab
Related-To: NEO-3148
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-14 15:05:39 +02:00
d3ed744c1b
Minimalistic kernel dump in ocloc
...
Resolves: NEO-2118
Change-Id: I7358ad991621114e287b1851cfce6254c76b63c1
2019-06-14 13:50:11 +02:00
5956164451
AubManager to call freeMemory upon cleaning osHandles of host ptr storage
...
Related-To: NEO-3231
Change-Id: I028a5985f1bdffebd673f4b5fead1a314d773b6d
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-06-14 10:30:56 +02:00
be48b56732
Kernel refactor.
...
- Change function names to indicate they work on SVM allocations.
- Remove one function used only in tests.
Change-Id: I9b18d9fee3d4f2a46a7f458ca73d39b3863ce6d3
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-14 10:27:21 +02:00
8e969684f1
[2/n] Unified Shared Memory
...
- Add kernel flags specifying indirect usage of device allocations.
- make device usm allocation resident when kernel requires this
Related-To: NEO-3148
Change-Id: I689347a0ea9b0f84c83f7883ca2381be63c61af9
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-14 09:56:40 +02:00
0894601edc
Capture pageSize passed to writeMemory calls in mocks
...
Change-Id: I3f0c493de3b95e437ba5c529dfff43629529e33f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-06-14 07:21:52 +02:00
329d940285
Add multiStorageResource flag to AllocationProperties
...
Related-To: NEO-3242
Change-Id: If31adaead389acd3bef6af1931b91396c43b305e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-06-14 06:59:28 +02:00
cd6c42dd25
Add mocks dependencies to igdrcl_tests
...
Related-To: NEO-3244
Change-Id: Icd6cc93b8d5770332c3891d5f9ba9b8030b1fb7d
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2019-06-14 00:13:19 +02:00
ff4e668440
Adding GraphicsAllocation::getUsedPageSize()
...
Change-Id: I1e8ebe7d24d0c647e0ce3bc73e662e427acc4212
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-06-13 15:44:10 +02:00
4188f6dce8
[1/n] Unified Shared Memory
...
- Add Internal Allocation type to differentiate SVM allocs from UM allocs.
- Add API to make internal allocations resident.
- Add API to allocate UM.
Related-To: NEO-3148
Change-Id: I9787891c5a0ffccac45c43bc5fde4ea50f37d703
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-13 14:48:02 +02:00
145f5b20e9
Require cpu access for constant surface
...
Related-To: NEO-3234
Change-Id: Ie0ccd3d3fc144400e63123d6c27b228bb7207f33
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-13 14:32:49 +02:00
8998f89886
HostPtr allocation with life time of image object for CL_MEM_USE_HOST_PTR
...
Related-To: NEO-3231
Change-Id: I4869e55b3c4b5217c83cc0b53d8c9f8c14b524b2
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-06-13 10:35:48 +02:00
b86d8f060b
Do not force system memory for constant surface
...
Related-To: NEO-3234
Change-Id: I1c78d15840e1071e4d7451f85e2e76ba7bff2ee5
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-06-13 08:40:33 +02:00
9be74b5f3e
Replace imageRowPitch with imageSlicePitch
...
Related-To: NEO-2665
Replace imageRowPitch with imageSlicePitch
for read/write CL_MEM_OBJECT_IMAGE1D_ARRAY
Change-Id: I0d5931629571f538f242e112c502e2f798ffd896
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com >
2019-06-12 21:06:32 +02:00
b04fc1121e
Apply memory flag when creating Gmm with image info
...
Resolves: NEO-3294
Change-Id: I2702611c5b3b2ccd8d48219b90479a6fd3fbe1f7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-06-12 17:36:07 +02:00
cf78aab248
Allow to push all dependency types to CsrDependencies helper
...
Change-Id: I0ef5dd0f77ade7f02a03c787618d55a4fcfba17c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-12 17:17:38 +02:00
70f92cf03c
Rename KernelCommandsHelper to HardwareCommandsHelper
...
Change-Id: I0b92a2d74bc96658274e4a02fec0f322e87681b2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-12 13:45:12 +02:00
425dad30d0
Improving ocloc robustness
...
* don't load FCL if not needed
* don't fail because of patchtokens
* print-out incompatible interfaces
Change-Id: I9c06dc27aa4495a3cd103e7dedf1bb5dd411a5db
2019-06-12 10:38:16 +02:00
825e381ae0
Move MI_FLUSH_DW programming to helper method
...
Change-Id: Ic459b531df265b6f7f92bbaaf80e4514364627f4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-11 15:47:32 +02:00
5b85cea6fc
ULT renaming: GetMemObjectInfo tests
...
- including small refactor / cleanup
Related-To: NEO-2236
Change-Id: I26815ec8f0eb9d1654777d777cfbc5a41d327916
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com >
2019-06-11 13:52:10 +02:00
b26650c7b0
Added host-side API tracing support
...
Change-Id: Id473243344d76e58e326c5a1cb487c57cf5c736c
Signed-off-by: Anton V Gorshkov <anton.v.gorshkov@intel.com >
2019-06-11 08:02:58 +02:00
1bc98b8478
removing unused code
...
Change-Id: I4be71baeedfa96fd98f611ebc58097b1cec2cd75
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-06-10 23:46:23 +02:00
007982b51f
Add the supportsMultiStorageResources flag
...
Related-To: NEO-3182
Change-Id: I618b734b37c5fb983be55b50d89a965eaedc78fe
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-06-10 17:57:49 +02:00
5244030e31
Call ioctl to obtain file handle from prime bo
...
Related-To: NEO-3252
Change-Id: I8d976ae29875db83dd75802e0309cb4438d1332b
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-06-10 09:06:59 +02:00
92a29a3e86
OsAgnosticMemoryManager to call freeMemory on AubManager for hostPtr
...
Related-To: NEO-3231
Change-Id: I83d5c9036d7f5531c1e7290058b8e2635e42ec18
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2019-06-09 14:42:23 +02:00
576005f7bb
Initial support for enqueue blit operation
...
Change-Id: Iab37beeeb574243c00a5579568e15bcbd1307c43
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-09 13:56:03 +02:00
cbff467d6a
Add Flags to top level CMake
...
Change-Id: Iee2be4323320998026a55939b2aa6155bd0b80f9
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2019-06-07 16:43:31 +02:00