03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-09 10:29:06 +01:00
68300a9605
Correct typo - createFunc
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-08 09:16:43 +01:00
47fa30b419
Simplify code - image create function
...
Reduce number of lines, reduce nested if statements
and others
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-06-27 17:46:03 +02:00
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-05-11 14:02:04 +02:00
3123ab5bf9
Correct media compression format for planar images
...
Set most significant bit for chroma planes.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-26 21:54:08 +01:00
03e617d14f
Refactor memory object control state methods in generated commands
...
remove setters/getters for Index To Mocs Tables fields
all information contained in MOCS from gmm client context is now handled
by dedicated method set/get MemoryObjectControlState
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-15 12:01:20 +01:00
ce78bab177
Image compression checks
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
Related-To: NEO-6102
2021-10-27 13:36:41 +02:00
b1df167632
Move enable_product.inl to shared
...
extract api agnostic validators to shared
remove not needed opencl includes from neo shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 22:02:16 +02:00
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-07-19 19:49:22 +02:00
69004a7c7d
Add extra parameter to setImageArg()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-04-01 12:20:29 +02:00
5618d4dfa4
Correct image initialization for linear storage allocations 2/2
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-02-02 17:12:18 +01:00
c2e333fe38
Update compression encoding interface + test traits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-01-29 13:57:15 +01:00
2c1551d40d
Extend specialQueue in context to StackVec
...
Related-To: NEO-4589
Change-Id: I92db4cf8511e13a35307a4f48b51041a6fc7330f
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-10-30 13:33:46 +01:00
1868658b2f
Optimize MultiGraphicsAllocation
...
Related-To: NEO-4672
Change-Id: I28b23a1d1f3d824d2e2cbe6a62a7151a7d9d2296
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-08-03 15:01:23 +02:00
47df60c067
Pass MultiGraphicsAllocation in Image
...
Related-To: NEO-4672
Change-Id: I01c2e7b25cb3448af9520493025569895eb4a155
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-07-20 10:26:19 +02:00
f97993ec31
Pass root device index to Image::appendSurfaceStateParams
...
Related-To: NEO-4672
Change-Id: I65b9fcf6c668b903dc4fe134e51202e7c7f093e3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-30 10:53:45 +02:00
1b3086a823
Pass root device index to setImageArg and setMediaImageArg methods
...
Related-To: NEO-4672
Change-Id: I983adfe32ca153e9edbeb5918bf923516758d200
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-25 11:47:47 +02:00
fa3cb35fde
Add check if device support Images.
...
Related-To: NEO-4675
Change-Id: I0c2b6e04536e45e70748983521e8469dd3dad697
2020-06-24 23:38:03 +02:00
4623707eca
Remove parameterless Image::getGraphicsAllocation method
...
Related-To: NEO-4672
Change-Id: Ib8cebf322d7d2f407627e15746896b315780c6bb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-18 16:12:54 +02:00
57d0967a2c
Pass root device index to MemObj::getGraphicsAllocation method
...
leave parameterless method in Buffer and Image classes
add method to remove graphics allocation from MultiGraphicsAllocation
Related-To: NEO-4672
Change-Id: I3020eecfabe9a16af7f36d68a74b32d3f4fc2276
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-06-05 13:18:03 +02:00
0a6da52bd4
Add implementation of new OpenCL 3.0 API functions
...
Additionally unify implementation of API functions related to creating buffers
and images.
Related-To: NEO-4368
Change-Id: Icfafc32f15e667e249fb318072194b6f76bd6481
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-15 12:09:08 +02:00
8fd40b090d
Add supportsOcl21Features value to capability table
...
Related-To: NEO-4368
Change-Id: If176d3be7c47d9d9ab70beebe664f2d569997501
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-05 15:02:50 +02:00
2caeb739c3
Refactor libva and OCL sharing to pass in Intel flag
...
Change-Id: If2580366576b4880fa1a774a2a61cfbceb241835
2020-04-30 16:43:54 +02:00
b0ed3b2ab1
Refactor MemoryPropertiesFlags
...
Rename:
- MemoryPropertiesFlags to MemoryProperties
- MemoryPropertiesParser to MemoryPropertiesParserHelper
- getMemoryPropertiesFlags to getFlags
- getMemoryPropertiesFlagsIntel to getFlagsIntel
- functions involved with MemoryPropertiesFlags
Related-To: NEO-4143
Change-Id: I4eec67bba95dd5354d0df43c31e6ca724909138e
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-04-28 18:15:25 +02:00
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-24 10:22:30 +01:00
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-23 23:49:12 +01:00
370424a1e0
Change core inlcudes
...
Change-Id: Iaec903af420f0a92f7d86e484c83300fb9c531ad
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-02-23 18:46:50 +01:00
d015d3633f
Add absolute path to include
...
Change-Id: Ib0782b4ab8d9a26ec358ecfb57721f4fe8d51b06
2020-02-23 08:47:49 +01:00
fa8e720f9e
Reorganization directory structure [1/n]
...
Change-Id: Id1a94577437a4826a32411869f516fec20314ec0
2020-02-22 21:56:09 +01:00