Commit Graph

9 Commits

Author SHA1 Message Date
Dunajski, Bartosz ec21f06427 Move GMM-OCL types conversions to new helper + includes cleanup
Change-Id: I13e5917a32a5cd894ee42a848407fe20bf1daa06
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-12-04 10:42:49 +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 04b4198228 Use castToUint64 while casting form void* to uint64_t.
- Otherwise the uint64_t GPU address may not be proper
- The sign bit is propagated while reinterpret_cast is happening
causing wrong address to be generated.

i.e. in 32 bit application:
void* address = 0xffff0000;
unit64_t gpuAddress = reinterpret_cast<uint64_t>(address);

gpuAddress is equal to 0xffffffffffff0000 instead of 0x00000000ffff0000.

Change-Id: I36665651d615c3ab612b2cea375fa539edc7d08d
2019-12-02 12:50:33 +01:00
Mateusz Jablonski e7ee6daaa0 Remove runtime/gen_common from include paths
Change-Id: I4d1f9e64e0f4099e7903234e62b070ad4235347a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 13:37:34 +01:00
Lindong Wu 9066192dc3 add dispatch hints for more flixable control on workload dispatch
Change-Id: Iecfe3031172fd108a1ef0d77d2fff8ad3cef22b3
2019-10-16 15:40:07 +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
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
Maciej Dziuban 0181468a12 Extract functions to buffer_base.inl
Related-To: NEO-3016
Change-Id: I49bec2ce0e68d78a7feb15f8dbb0793c7dc07aab
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-13 12:30:01 +02:00