Filip Hazubski
8fcff2241f
Add ClDevice
...
Decouple cl_device_id from Device class.
Related-To: NEO-3938
Change-Id: I68543a753aea562f3b47ba0d23a059ff3cffa906
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-01-17 12:43:11 +01:00
Mateusz Hoppe
81e9591c31
Refactor ImageInfo 2/n
...
Change-Id: I5e6081a75b802cc98fd89e384d550a219353728b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-10 14:20:31 +01:00
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
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
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
Dunajski, Bartosz
aeb84b3e20
y-tiling interface cleanup
...
Change-Id: If7e5ab7135eaa71d9215c87c2fc46188ffd42b02
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-08-26 15:00:26 +02:00
Krzysztof Gibala
bd63618190
Remove OCL object from MemoryProperties 6/n
...
Wire in MemoryPropertiesFlags support to:
Image functions:
-validate
-validatePackedYUV
-validateImageTraits
Related-To: NEO-3132
Change-Id: I4d71d4170704d2117d6d17602f5f2ad0f30ab1f8
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-08-23 09:28:23 +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
Piotr Fusik
dcd8728519
Use range-based for.
...
Change-Id: I758f6d5fcbf75baae454dedc9467532bc0b8c9d5
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-07-30 07:57:43 +02:00
Kamil Kopryk
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
Mateusz Jablonski
9ecaaa731a
Correct error code in clCreateImage when device doesn't support images.
...
Related-To: NEO-3175
Change-Id: I27c6fd3f6b86ef47599bf8f7f68b2dfa8c46e1f0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-05-31 11:37:45 +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
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
Woloszyn, Wojciech
f624ec757b
Unify mipmap layout accross platforms
...
- revert "Fix reported row/slicePitch for mip-maps"
- calculate mipmap offset without gmm
Change-Id: Id4802ef9624ad330e0d0f871dfa4d4fc35a7ba33
2018-09-25 16:27:43 +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
Kamil Diedrich
d3d8b6f905
change ARRAY_COUNT macro to constexpr
...
Change-Id: I027c4e70e3b901f3ffb3c0971935ae67e971db07
2018-08-14 10:04:58 +02:00
Woloszyn, Wojciech
8a488ad52f
Fix reported row/slicePitch for mip-maps
...
- use information from gmm correctly
- modify computation on gen8
Change-Id: Iaefcc20ce9436ef70cd2f4bc36654932c4b5af49
2018-05-22 10:36:54 +02:00
Mateusz Jablonski
936f42c21a
Initialize all variables used in test that fails sporadically
...
Change-Id: Ifd59c4111390a7855a45ae956a5b4ce3015f2401
2018-04-11 15:13:57 +02:00
Mateusz Jablonski
5d296f15e3
Validate image 2d sizes unless parent image is nv12
...
when any check in Image::validate method failed then early return
Change-Id: Ib28110ac493f5930ffa99fa7463443e9e7fc8fcf
2018-04-10 11:41:00 +02:00
Mateusz Jablonski
1843b23692
Fix image 2d validation
...
check image sizes only for image without parent mem object
Change-Id: I73189f1c73653f609c6e4d7dcb7a85d06a2f858a
2018-04-10 09:39:52 +02:00
Mateusz Jablonski
ac45ff74ec
Fix creating image from image
...
- allow creating image 2d from non NV12 image 2d
- validate image descriptor and format when create image from image
Change-Id: Ie7887e75f1450fc723dc1d1ae9ff5639d88835fc
2018-04-09 11:29:11 +02:00
Dunajski, Bartosz
80eefc79f3
Fix normalizing factor for SNORM formats
...
Change-Id: I4febe3a557762b94c0c4445015c948d45a4390d2
2018-02-02 16:10:48 +01:00
Brandon Fliflet
7e9ad41290
Initial commit
...
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00