Gibala
5ac1d1258c
Connect UnifiedMemoryProperties with MemoryPropertiesFlags
...
-Add support to SvmAllocationData
-Refactor parseMemoryProperties
-Add allocation flags
Related-To: NEO-4011
Change-Id: I3728d2319aeef983dbcc3f8702da9a303a4e2b9c
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-12-09 14:23:46 +01:00
Pawel Wilma
632134db30
Disable host ptr tracking for GEN12LP
...
Related-To: NEO-3661
Change-Id: I1774aad8ef32f294192a9b679cb9f66e4091198c
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-12-06 11:57:32 +01:00
Dunajski, Bartosz
dfc50f3a75
Move gmm_helper to core
...
Change-Id: I31ca317d10697ab884e04f443c8ccfdd6ca9d2ae
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-04 15:25:32 +01:00
Mateusz Jablonski
54f65c0243
Move headers to core
...
- hw_info
- hw_cmds
- kmd_notify_properties
- completion_stamp
- bxml_generator_glue
Related-To: NEO-3982
Change-Id: I3ed3ef81f42596f381e60c19250f6eb1296d47a4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-02 14:20:45 +01:00
Michal Mrozek
fd17b391c8
Remove 32 bit code paths from allocation schemes.
...
Change-Id: I4825ff504abacdd4c08ac49c7d678daa100d23dc
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2019-11-27 11:19:40 +01:00
Igor Venevtsev
63fd26f6d6
Always specify rootDeviceIndex for graphics memory allocations
...
Related-To: NEO-2941
Change-Id: Ia2362fd6b4e72ede02919152475f40b3edbc3658
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-11-15 15:14:41 +01:00
Filip Hazubski
5f021afd6d
Move HwHelper to core directory
...
Change-Id: I2c78a8b737ee8e61b917b4918da37e77bbd9fe34
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-11-15 14:06:40 +01:00
Gibala
a32f537601
Remove OCL object from MemoryProperties 13/n
...
Refactor parseMemoryProperties and createMemoryPropertiesFlags functions
Related-To: NEO-3132
Change-Id: I61aaae69b84d8b0f77c08a59010879cc3a93e6cf
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-10-24 14:07:42 +02:00
Gibala
5f02a0730b
Remove OCL object from MemoryProperties 12/n
...
Remove MemoryProperties from Buffer and Image classes and replaced it with
MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: Ib582cddf759bf501fa7dbbea3257640eb9f431e9
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-10-22 14:26:21 +02:00
Gibala
d2576c95aa
Remove OCL object from MemoryProperties 11/n
...
Remove MemoryProperties from MemObj class and replaced it with
MemoryPropertiesFlags
Related-To: NEO-3132
Change-Id: Iff8633c49225b6a1f18103281825b36bf179701f
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-10-17 13:28:44 +02:00
Artur Harasimiuk
68f8e2bade
fix member name to comply with rules
...
Change-Id: I63759164bbd17a5d68fd4ba6c7f0b9138bb511a3
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2019-10-15 15:53:19 +02:00
Maciej Dziuban
100f888b85
Enable setting additional params for gen12lp image compression
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Change-Id: I6228413938930f36c120523818649cde1a717cf2
Related-To: NEO-3564
2019-10-11 07:25:38 +02:00
Gibala
2f9bfc7748
Remove OCL object from MemoryProperties 10/n
...
Add cl_mem_flags, cl_mem_flags_intel and wire it in mem_obj.
Refactor:
- validateMemoryPropertiesForImage
- validateExtraMemoryProperties
Related-To: NEO-3132
Change-Id: I90fac5fc00e24fc67346109a1fe6f269ef51e1e0
Signed-off-by: Gibala <krzysztof.gibala@intel.com >
2019-10-10 10:19:47 +02:00
Mateusz Jablonski
e0594d4716
Pass context to isSuitableForRenderCompression method
...
Related-To: NEO-3691
Change-Id: I3417e647f4219451922a4dc905726366b4448890
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-09 11:47:26 +02:00
Jobczyk, Lukasz
627c359798
Move Host Ptr Manager to the core dir
...
Change-Id: I48c521acdcd4b3a78eb539026af5ffa840cf2181
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-30 19:07:09 +02:00
Jobczyk, Lukasz
3bd4baeba3
Move a unified memory manager to the core dir
...
Related-To: NEO-3677
Change-Id: Ib60dea2bcaaf5feea97d61cb9f54baee4c6b4b64
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-27 10:46:35 +02:00
Krzysztof Gibala
0753dc211d
Remove OCL object from MemoryProperties 9/n
...
Refactor:
- validateMemoryPropertiesForBuffer
Related-To: NEO-3132
Change-Id: Ibdeec8ecdd2025718a3379b333a6c8ef9a8ceabf
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-09-24 14:58:13 +02:00
Mrozek, Michal
33f6c7f0da
Add new flag to disable L3 for stateful accesses.
...
- With this flag resource will not be cached in L3 for stateful accesses.
Change-Id: Icf9a393ab92d55c2cdf30444420ea40da0d5630c
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-29 23:38:26 -07:00
Krzysztof Gibala
84c801e28b
Remove OCL object from MemoryProperties 8/n
...
Refactor MemoryPropertiesFlags to bitfield
Related-To: NEO-3132
Change-Id: I7092b16d15cec962e94c992696bd9845ce86f642
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-27 17:28:47 +02:00
Krzysztof Gibala
cb93dd8d06
Remove OCL object from MemoryProperties 5/n
...
Wire in MemoryPropertiesFlags support to isReadOnlyMemoryPermittedByFlags
Related-To: NEO-3132
Change-Id: I3b14d0a49d78ad9d29e055e85f8ab7e584af60d2
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-20 10:15:50 +02:00
Krzysztof Gibala
ea47f9745d
Remove OCL object from MemoryProperties 4/n
...
Wire in MemoryPropertiesFlags support to:
-getAllocationPropertiesWithImageInfo
-getAllocationProperties
-fillPoliciesInProperties
Related-To: NEO-3132
Change-Id: I70d7c2d2ebb4814f4d36518b9098a97c88b88f46
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-20 09:46:31 +02:00
Mrozek, Michal
55ca12ea92
Do not set hostPtr in case of CL_MEM_COPY_HOST_PTR.
...
Change-Id: If2356125e36fb08221d0758020c17341808fa7dd
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-19 17:32:25 +02:00
Dunajski, Bartosz
1518774fe6
Use stateful args programming for aux translation kernels.
...
Set valid mocs values
Change-Id: I8de2bbdd72b102a1623b9e397485ef52ecca8306
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-08-14 14:52:46 +02:00
Krzysztof Gibala
f8818c5984
Remove OCL object from MemoryProperties 3/n
...
Wire in MemoryPropertiesFlags support to:
-getGraphicsAllocationType
-isSuitableForRenderCompression
Add variable to MemoryPropertiesFlags:
-forceSharedPhysicalMemory
Related-To: NEO-3132
Change-Id: I41d91877877437993621577717c274ba3a77336e
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-12 16:05:02 +02:00
Filip Hazubski
552a1268eb
Refactor blit buffer call
...
Resolves: NEO-3241
Change-Id: I726135ae55d1e0fcbacd80620e827ee5c7c0c8dc
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-08-09 16:43:40 +02:00
Krzysztof Gibala
26774a21e7
Remove OCL object from MemoryProperties 2/n
...
Wire in MemoryPropertiesFlags support to checkMemory
Related-To: NEO-3132
Change-Id: Ib3762cc05999c4541a9ea7d33427052c237dd018
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-08-09 11:35:34 +02:00
Jim Snow
4360aff03c
Move runtime/helpers/aligned_memory.h to core/helpers
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
Change-Id: I15de094c51d4eb18bfff4d17fd34e817b5525fda
2019-08-06 23:56:24 +02:00
Mrozek, Michal
f0d3b47886
Turn on caching if buffers are set as constant args.
...
- If resources is constant arg it means it will only be read
- Therefore even for read_write buffer we may turn on caching.
Change-Id: Id2c34d4993111bf5c6523a1946464c397db95686
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-31 14:56:56 +02:00
Krzysztof Gibala
b5020eac81
Create helper for memory properties
...
-Move logics from mem_obj_helper
Related-To: NEO-3374
Change-Id: I167cdcc8fcb08cb1fa6d19640fd266f0004f4c6b
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-07-23 11:31:49 +02:00
Kamil Kopryk
7e404e79ff
Add support for unrestricted buffer sizes.
...
Change-Id: Ib32164cad623da46c5424feca74a140b39eb9a2c
Related-To: NEO-3314
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2019-07-22 14:44:19 +02:00
Raiyan Latif
ca74489172
Move string.h to core helpers
...
Change-Id: Ibaaab077ef2867b5e0db3bd215c261de9294063f
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2019-07-19 07:21:00 +02:00
Piotr Fusik
a141911e19
Correct misspelled identifiers.
...
Change-Id: Ifa629c0d6bb1b04b5cfde908f2672ef1843043f0
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-07-17 17:45:52 +02:00
Mrozek, Michal
5dc20f50d1
Change max mem alloc size deduction.
...
- make it half of global mem
- change buffer input validation, look for hw limitations instead of
computed value of max mem alloc size.
Change-Id: Ibbe7eb16d01299b02cef3b1e7234efefbced2197
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-16 13:47:21 +02:00
Mrozek, Michal
0440b86d05
Rename SVM Memory Manager to Unified Memory Manager.
...
Change-Id: I1d7637a5aaca3ef5190c4f6303c81060f95744a9
2019-07-12 11:22:09 +02:00
Andrzej Swierczynski
2e2d5d53b4
Provide compression performance hints during resource allocation
...
Change-Id: I1f8076b9c7cc51e16c25a554673a19c4a0c87d63
Resolves: NEO-3243
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2019-07-11 16:52:07 +02:00
Dunajski, Bartosz
27654c9282
Buffer-to-Buffer blit operations support
...
Change-Id: I76c9fae83fa2a31bd6108999c7f77f4a47c47f1b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-07-01 23:46:07 +02:00
Dunajski, Bartosz
41cca6d790
Use GraphicsAllocation for blit operation instead of Buffer object
...
Change-Id: I7e59a25db97082a6396d441a8fa603df27d6424d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-07-01 11:23:27 +02:00
Dunajski, Bartosz
56e77ca452
Add BlitProperties to simplify properties passing
...
Change-Id: I4abf99d420487a237e5b465b9d4d121121f45a84
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-3020
2019-06-27 16:31:40 +02:00
Dunajski, Bartosz
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
Milczarek, Slawomir
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
Jobczyk, Lukasz
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
Filip Hazubski
74a8406cb8
Support offsets in blitWithHostPtr
...
Related-To: NEO-3020
Change-Id: I8476cc80311495bb16324d1fe8427a77c2e04556
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-06-05 13:07:44 +02:00
Dunajski, Bartosz
c8c2e64ec6
Add blocking flag for bliter operations
...
Change-Id: I61f672780c2108961eaed40b5d5be257f3c34566
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-06-04 21:39:43 +02:00
Krzysztof Gibala
7830be3090
Do not create buffer when size is too big.
...
Resolves: NEO-3131
Change-Id: Icd37e7bc62719be5956b6a9435ab2fe7e0962c00
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2019-05-29 12:23:39 +02:00
Jaime Arteaga
b98b51b0d9
Move ptr.h to core folder
...
Change-Id: Icf0db7c767b2b1ea44fccc02b135f0f6c1f78c8f
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2019-05-29 00:11:34 -07:00
Dunajski, Bartosz
b82cdd6b8e
Program MI_SEMAPHORE_WAIT for dependencies during blit operations
...
Change-Id: I8b0e467886bfb23d026a0c13be514343a22a20a1
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-05-21 14:18:16 +02:00
Hoppe, Mateusz
d15174d7c5
Block SVMAllocsManager creation in Context when SVM is not supported
...
- skip SVM tests when SVM is not supported
Related-To: NEO-3157
Change-Id: Ie5d5ef4778749f60537084fc7f388714954a4873
Signed-off-by: Hoppe, Mateusz <mateusz.hoppe@intel.com >
2019-05-17 08:59:00 +02:00
Dunajski, Bartosz
4f4ef14b9b
Accept different copy directions during blit operations
...
Change-Id: Idb59458b46337ca0095056857dbd75bf116b6723
Related-To: NEO-3020
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-05-16 18:53:30 +02:00
Dunajski, Bartosz
0f87e9aa1a
Rename HardwareInfo members
...
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-05-09 09:13:55 +02:00
Dunajski, Bartosz
bb80d327c7
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
...
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-05-08 16:11:01 +02:00