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
Gibala Krzysztof
98305bd582
Remove not needed code, add missing files
...
Change-Id: I0ffba91d5f2df1d6b6e362896de93928a6f54fb6
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-10-31 08:09:41 +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
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
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
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
Jobczyk, Lukasz
2e8e6bdb18
Move majority of utilities to the core dir
...
Related-To: NEO-3677
Change-Id: If2e876028b765ad3ecf5f75db8755623b82955b8
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-09-12 15:07:02 +02:00
Krzysztof Gibala
6a221bc7fc
Refactor flags validation
...
-create masks for buffer and image flags
-create common file for mem_obj_helper
-refactor parseMemoryProperties
-remove:
checkUsedFlagsForBuffer, checkUsedFlagsForImage,
addCommonMemoryProperties, addBufferMemoryProperties,
addExtraMemoryProperties, addImageMemoryProperties
Related-To: NEO-3132
Change-Id: I3c147799de7b104d10d25b2f5262aeda58241d84
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-09-02 12:42:02 +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
7912b9fa94
Remove OCL object from MemoryProperties 7/n
...
Wire in MemoryPropertiesFlags support to:
-isLinearStorageForced
Related-To: NEO-3132
Change-Id: Ib29c4b1c8a30f2449d7fcb2778cb827baf61915e
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-08-23 10:08:23 +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
Jobczyk, Lukasz
e871852601
Force linear storage for images
...
Related-To: NEO-3114
Change-Id: I20dd6c7fdf4a223d45f1c3587d8a1327268742d8
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-04-29 07:58:14 +02:00
Filip Hazubski
ddcd3fbbed
Simplify getAllocationProperties
...
Change-Id: I006337ec700e50259c46be1fd73fde34562c8b83
Related-To: NEO-2535
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-04-26 15:47:22 +02:00
Maciej Plewka
9e52684f5b
Change namespace from OCLRT to NEO
...
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Filip Hazubski
751740d987
Fix memory flags validation for Images
...
HostPtr flags are never accepted when parent memory object is provided
Change-Id: If1d55e0456d6ab8605dbae5476780c2cb5f811ca
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-18 13:50:05 +01:00
Hazubski
cb3ee6e8d2
Update memory flags validation for Images
...
Change-Id: Ifc8b50301cd82bd7e9c83da626a02dbc1643e0b0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-15 11:31:32 +01:00
Filip Hazubski
40541e4faa
Update Image compression
...
Change-Id: I3a15dba343a80716b57cdda6b74f2142814021f3
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-03-13 13:59:50 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Filip Hazubski
2d321cb557
Add option to disable caching for a resource
...
Introduce CL_MEM_LOCALLY_UNCACHED_RESOURCE flag that can be used with
clCreateBufferWithPropertiesINTEL()
Change-Id: I9f208f00952cdca7482371ec21cbc57c08435b52
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-01-17 13:32:36 +01:00
Filip Hazubski
ea2e634f7e
Add clCreateBufferWithPropertiesIntel() API
...
Change-Id: Icfbbbc2479c1bc94008e0ccf90bcb25adddf0b61
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2018-11-06 11:03:04 +01:00
Mrozek, Michal
328ecae57d
Change the error checking in checkExtraMemFlagsForBuffer
...
Change-Id: I598b5789c567a398c75355813a44ea647ff6cd0d
2018-09-21 21:36:04 +02:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Hoppe, Mateusz
5f7b6db893
Validate buffer flags with helper
...
Change-Id: Iaaf04bbe6e5237da0183556fa1ee10817faaf5c0
2018-09-05 14:10:21 +02:00