f80480de7f
Move ClDevice to a separate file
...
Related-To: NEO-3938
Change-Id: I275b9285b70dac2c9bc52878f6e517e4f3e083b3
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-01-30 12:46:10 +01:00
522dedfbd2
Move files to core
...
Change-Id: I78bf6a82df3399a2b79143333989bac81e7a392a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-01-29 12:21:40 +01:00
b74d502052
Moving patchtokens decoder to core
...
Change-Id: I61d9f3ec7a1bca55df5b3b8c1884014acff1a4c0
2020-01-25 15:16:01 +01:00
f057712fa7
Program refactor
...
* decouple program_info
* move global allocations relocation to linker
* remove obsolete tests
* initial cleanup to kernel_info kernelInfo
* unified patchtoken validation
Change-Id: I0567cd6d607b4f3cf44e6caf33681f6210760f76
2020-01-25 10:56:30 +01:00
b5e2f322f6
Move files from runtime/memory_manager to core
...
- remove TbxMemoryManager
Change-Id: I554feff51f08e108b2e9ee22ecaa2cb75a1eead7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-01-21 15:28:47 +01:00
4d3dfa9514
Add helper for casting to osHandle
...
Change-Id: I61d397d68a7be304f314b272905323339318856b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-01-21 14:27:52 +01:00
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
172e75147e
Make OsInterface root device specific
...
Related-To: NEO-3857
Change-Id: Ibcd80c731b5d3755b62e0e03d0ffeedb08b52ca0
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2020-01-15 11:07:25 +01:00
01d8532f52
Move files to core
...
- wddm_allocation.h/.cpp
- os_context.h
- residency_container.h
Change-Id: I9f933a09d1142f86550c0d67626f0719b6450303
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-01-13 18:25:00 +01:00
10d274daa9
Pass GmmClientContext to Gmm and GmmResourceInfo
...
Related-To: NEO-3007
Change-Id: Ia590670e93ed93b0941d5a5dc6ac010268cb561e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-31 12:19:32 +01:00
44a9ec5c1a
Make MemoryOperationsHandler adapter specific
...
Change-Id: I978ecaf0fbe3cfc3b645b84d978b7d9234b28bd1
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-12-30 19:26:19 +01:00
cc46cdf46c
Move PageTableManager to RootDeviceEnvironment
...
Related-To: NEO-2285
Change-Id: I77699b5f540b6ac5b73cf1830712a5591326b766
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2019-12-19 12:26:45 +01:00
8a059e636a
Add ULTs to check rootDeviceIndex correctness in internal GraphicsAllocations
...
Related-To: NEO-2941
Change-Id: I76cfae48ef88fece6fd59453493f499dbf89f43b
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-12-18 14:50:10 +01:00
230d808021
Add mechanism to dynamically assign thread arbitration policy by one kernel
...
-use clSetKernelExecInfo with param
CL_KERNEL_EXEC_INFO_THREAD_ARBITRATION_POLICY_INTEL
to change default value of ThreadArbitrationPolicy
Change-Id: I15d0de0840ed14687c16ae04890b662bc157de76
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2019-12-11 09:30:33 +01:00
3eab5cfe35
Patch flat image params on setKernelArg
...
Change-Id: Iae0f37dfcd2ee14a3874835f2e444549d1769074
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-11 08:18:55 +01:00
5fa53f4516
Move headers to core
...
- address_patch.h
- options.h
- registered_method_dispatcher.h
- grf_config.h
Rename OCL_RUNTIME_PROFILING -> KMD_PROFILING
Related-To: NEO-3982
Change-Id: I06cf72729e9d7d7d2ff0bd169fcbada00c4b509a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-10 12:19:29 +01:00
16c6d7eb9b
Refactor ApiFixture
...
- setup number of root devices
- define tested root device
Related-To: NEO-4000
Change-Id: I785d07a7f54932f66fe57637c8d10775743a871c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-12-09 16:32:44 +01:00
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
72a1542140
[2/N] Program refactor - gather compiler options
...
Change-Id: I0a614be73fbd87184be2dfea407582a58c27b0bc
2019-12-06 22:17:19 +01:00
82bc594af0
Add clEnqueueNDRangeKernelINTEL API
...
Related-To: NEO-2712
Change-Id: If1d16d9d626871a9dc4b19282f9edc5786ffa398
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-12-04 17:11:28 +01:00
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
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
1ecad5faed
Move IndirectHeap to core and improve unit tests
...
Change-Id: If7e329fc12fe934eb0f6b1762d3b0d86aab287e6
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-03 15:06:27 +01:00
614156dd8b
Move cache_policy to core
...
Change-Id: I16be70d15f329117539fe6dfcc07c6dc10d54977
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-12-03 14:53:49 +01:00
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
355e8d3e5a
[1/N] Program refactor - decouple from patchokens
...
Change-Id: I63bbf6c31a5db9e788124f22b6105e65c16c86d4
2019-11-25 19:46:21 +01:00
8d7c965dd5
Move Preemption tests to core
...
Change-Id: I717f2e485cac962373474c30e7ed7c52eab58e7f
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2019-11-19 17:47:38 +01:00
3e1b15c31d
Move initialization of AubCenter to RootDeviceEnvironment
...
make RootDeviceEnvironments vector of unique_ptr
Related-To: NEO-3857
Change-Id: I23998502198307c8535cdd5c9c4af5223a5d69a5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-19 11:30:16 +01:00
b31e25dbb6
Move PreemptionHelper class to core
...
Change-Id: I172c4beb8ea2576505d6192585d45cfa3d00da34
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2019-11-18 23:59:28 +01:00
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
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
5a8f455a84
Remove csrsContainer from root device environment
...
improve mocking:
- add method to create RootDevice in Platform
- add method to create SubDevice in RootDevice
- add method to create CommandStreamReceiver in Device
Related-To: NEO-3691
Change-Id: Ie9fe3de260492604333c8ca93796bfbffae518c4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-11-13 10:05:09 +01:00
7b7ac67e47
Extend an allocation properties constructor
...
Related-To: NEO-2998
Signed-off-by Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
Change-Id: Ia2a99ff3bae574cc0cc40a973a30bdca126fe12d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-11-12 16:21:54 +01:00
684d58d2aa
Make GraphicsAllocation constructors unambiguous
...
Related-To: NEO-2941
Change-Id: Iedd16d0dcb4158b5e7832043289e2e6aba1549d5
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-11-06 10:12:26 +01:00
cab8968e1a
Fixing regression in rebuildFromIr
...
Change-Id: If1604861180d935575cd06fb2978df114453a070
2019-11-02 21:52:16 +01:00
fed673861f
Add multiple root devices support to memory manager
...
Related-To: NEO-2941
Change-Id: If4977c19dbd083f2d1559a40f9b4e911eab4859c
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2019-10-31 14:30:19 +01:00
e784ba39fb
[2/N] Make the execution environment adapter agnostic
...
-add rootDeviceId to the command stream receiver
Related-To: NEO-3857
Change-Id: I6c7f334ebe3d19cf0c58a4db65d013b7a8b7f982
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-10-29 17:15:01 +01:00
d408b82a19
Move aub center and command stream receivers to root device environment
...
resize root device environments to 1 by default
Related-To: NEO-3691, NEO-3857
Change-Id: Idf3d61e84f8265f30381c18216632d0ffb2a16de
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-28 14:40:43 +01:00
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
c8664b50a4
MemoryManager: don't access command stream receivers from execution environment
...
Related-To: NEO-3691, NEO-3857
Change-Id: I8d83456f4164d2b25d78bffa368cffe988c498b0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-22 17:38:24 +02:00
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
90e5cf164c
Moving hash and file_io to core
...
Change-Id: I1e6eece53fadf62a8919aa41e04deee3dac2ce60
2019-10-17 13:16:20 +02:00
856e5c6aaf
[1/N] compiler interface refactor
...
Decouple compiler interface from Program object
Change-Id: Ibd63c6eee01d85527318ccad52e52f5487d3402e
2019-10-16 16:17:13 +02:00
dccce00711
Remove redundant getters/setters from MockContext class
...
Change-Id: I4283c1b5805141bf573fd433190e08d853ec7275
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-10-16 12:29:34 +02:00
81d587e1f9
Change arguments in creation of DispatchFlags
...
Change-Id: I150e0da2bc76a665e82c308ee2094742c13c2aa3
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com >
2019-09-30 13:53:58 +02:00
03f910466e
Remove default constructor of DispatchFlags
...
Resolves: NEO-3394
Change-Id: I6d5d8e389e0680e698423e4e36b4f0d20d173522
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com >
2019-09-24 13:46:34 +02:00
b71e3a8bee
Add aub test with stateless path
...
Change-Id: I189deba70dbd9c7dfb33994b3a7876b3b889a47e
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-3627
2019-09-20 12:13:40 +02:00
115070767c
Move graphics_allocation to core folder
...
Change-Id: I16b8dbb57c2a40126826a232332c18ba9f563220
2019-09-18 05:26:55 +02:00
dc949f6d18
Setup sub device's os context based on sub device id
...
Move types defined by using to separated header file
Related-To: NEO-3691
Change-Id: I71dfca0644b7022c4a381fbe396d0e32ca7d1ce5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-09-17 14:04:26 +02:00
76fe09c2a9
Handle page faults while accessing unified memory
...
Related-To: NEO-3330
Change-Id: I7e21f894e9d1c82598954c49342d1f65af07498f
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-04 13:28:53 +02:00