Michal Mrozek
71950fa7cc
Add debug flag to control fine grain SVM reporting.
...
Change-Id: Ia5c8b8798951d87aa81799ac3a3f456d10e1aceb
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-03-23 10:18:36 +01:00
Filip Hazubski
5be85293d6
Remove getSupportedClVersion function from Device
...
Related-To: NEO-3938
Change-Id: Ida4e0d8b3a758376ea433960c8a329c061b15666
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-23 09:22:17 +01:00
Mateusz Jablonski
0f3730f5d9
Remove redundant parameter from getDevices functions
...
Change-Id: I3da50a69adb8ec64fd1d09021142b278e34c4cbe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-23 08:45:49 +01:00
Filip Hazubski
819896bca2
Remove Platform::getDevice function
...
Related-To: NEO-3938
Change-Id: Ib93df97573ef2984913e057d165a84404349fd63
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-23 08:28:27 +01:00
Artur Harasimiuk
211375e898
cpack: packaging refactor
...
Change-Id: I47f9b4b83b4deb8bdaab62c7367c48908878c807
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-03-21 14:12:43 +01:00
Zbigniew Zdanowicz
73ed2a7797
Create diagnostic and debug modes of Direct Submission
...
Change-Id: I703fdcd96bd064d20e36426d3f59538d1f672a41
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-20 18:08:29 +01:00
Dongwon Kim
af78548e80
Optionally able to provide external ocl offline compiler
...
Change-Id: I53a08c61ed38ccdf8c402afe04ee1d7b7ac98f8f
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2020-03-20 15:29:17 +01:00
Lukasz Jobczyk
ab7a846514
Pass only updated spec const values
...
Change-Id: Idc9720fb700e7ce9745872e08038b31836300a38
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-20 13:44:37 +01:00
Mateusz Jablonski
67d5c28bb1
Correct reading debug variables on Windows
...
Read value from env when cannot read value from registry
Change-Id: I6691c1b662265313d8cd57f57be7777acd878bd1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-20 13:17:11 +01:00
Filip Hazubski
a5c4ad1e2e
Remove unnecessary includes from MockDevice files
...
Related-To: NEO-3938
Change-Id: I3805bcedcdd95828b79e9b6a6bd572f20234d7de
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-19 21:47:34 +01:00
Filip Hazubski
165627c74e
Remove unnecessary includes from DeviceInfo files
...
Related-To: NEO-3938
Change-Id: I769224dba5e8106293d616ee3dc96e75e63e897f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-19 21:36:19 +01:00
Zbigniew Zdanowicz
052271c458
Remove constant cache invalidation from Gen12LP
...
Change-Id: Ia63bd0296689c3f059f1debfdffdbca3e041e3c3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-19 16:55:44 +01:00
Mateusz Jablonski
9de886681e
Remove constant parameter from resource info wrapper interface
...
Change-Id: I9d8994a41098eb76ad60fbdc19472a0504b76536
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-19 16:25:05 +01:00
Mateusz Jablonski
3cdd37d429
Rename variable igdrclHkeyType -> hkeyType
...
Change-Id: I2ea5339e459cd3fbf0c2643874f999af14fa0d22
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-19 16:10:45 +01:00
Mateusz Jablonski
bd3931a9fb
Change signature of CommandStreamReceiver::expectMemory
...
return bool value
Change-Id: Ia3471199c5fc4449ce13f92705080a4db96f88dd
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-19 15:59:18 +01:00
Mateusz Jablonski
e46142be4d
Correct detection of compatible adapters
...
compare current library path with driver store path
Resolves: NEO-4457
Change-Id: Ibf5463d6f51595fbb45ad9b23d6f2cfcceb907bf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-19 15:08:39 +01:00
Michal Mrozek
1ce4f56c9f
Remove root device index from buffer object.
...
Graphics allocation is responsible for holding this information.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
Change-Id: I5cf6fa7e92a7c716308213509aab5e446b5ef680
2020-03-19 14:38:18 +01:00
Barreyra, Bruno R
d1b29496fa
Enable GPU debugging in TGL
...
Change-Id: Ic61afef84cf361c2ffd298edcdae0f8ca6e800db
2020-03-19 12:44:32 +01:00
Lukasz Jobczyk
13e053f538
Load GDI once
...
Resolves: NEO-4174
Change-Id: I465d6137deb1dac1146a5b28ff1c100823a1d6b6
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-19 11:13:30 +01:00
Lukasz Jobczyk
3bbc07dda7
Add option to skip USM tests
...
Resolves: NEO-4481
Change-Id: I44cc192b95fa3db0cbe359902572235512e8fccd
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-19 10:28:34 +01:00
Mateusz Hoppe
aecb689c81
Create object library for ze_intel_gpu
...
Relatet-To: NEO-4480
Change-Id: Ie3b8d18f257b023d8f84713b5231f41ed1ccb21a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-19 09:16:31 +01:00
Filip Hazubski
56952113eb
Move MockClDevice to a separate file
...
Related-To: NEO-3938
Change-Id: I1bfeddb0ab68c025312bc3b8eff9571fef909780
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-18 20:16:46 +01:00
Zbigniew Zdanowicz
1db337c88f
Change to WddmMemoryManager in WddmDirectSubmission tests
...
Change-Id: If6cb1618d086d9b5a4594ab139e767ffdca4a11a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-18 19:58:11 +01:00
Filip Hazubski
e1381f89d7
Move DeviceInfo to a separate file
...
Related-To: NEO-3938
Change-Id: Ia255bd41a5dc8e521fe6aca3924b90be003ff93b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-18 18:12:22 +01:00
Zbigniew Zdanowicz
812dda6761
Create Wddm residency logging
...
Change-Id: I7b469dd42cdedfdde2a9abea8d02bac2046c91cf
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-18 13:31:01 +01:00
Bartosz Dunajski
265b0c9aa0
Move GMM_INIT_IN_ARGS initialization to dll tests
...
Change-Id: I8f647c0ecf737492995d34ba6c0344325fdad48a
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-17 17:56:12 +01:00
Mateusz Hoppe
1444d98575
Debugger support in L0 fixes
...
Related-To: NEO-4404
Change-Id: I733b3018606b243989d9ba382da9d06bedbae799
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-17 14:31:59 +01:00
Lukasz Jobczyk
e9778d40c1
Access spec const values with proper type
...
Change-Id: Ifb43ab62bbb6b8bd40f6f13912ad6763db523a65
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-17 12:17:59 +01:00
Filip Hazubski
3b149b69a7
Remove duplicated fields from ClDeviceInfo
...
Related-To: NEO-3938
Change-Id: Ic13d69eaf2ba54794f82d78b058c960f27a6c29d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-17 08:58:34 +01:00
Mateusz Jablonski
196409f24c
Setup registry reader in DriverInfoWindows constructor
...
Related-To: NEO-4457
Change-Id: I6d4dcced724c56ea350e27eb9494f32b3299e88a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-17 08:42:05 +01:00
Jablonski, Mateusz
af33d42e88
Correct StackVec test
...
Change-Id: Iadd7f1ef075b975beeddc503482b33e67fa2875b
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-16 18:02:06 +01:00
Mateusz Jablonski
97bad05923
Move DriverInfo to shared/source/os_interface
...
Related-To: NEO-4457
Change-Id: I427cceeee9b2804fdd047c8a6acde3ad5f85923f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-16 17:35:25 +01:00
Igor Venevtsev
2b6fa20e12
Set resource48Bit flag according to GraphicsAllocation::AllocationType
...
Related-To: NEO-2941
Change-Id: Iefb1870280ef60cf6c70c195e1e7d23739f7b427
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-03-16 16:47:01 +01:00
Bartosz Dunajski
e4564854a4
Add missing properties
...
Change-Id: Ie19be11a475041569a2af5b6af607de335ad0f62
2020-03-16 15:51:21 +01:00
Kamil Kopryk
e55d4bf234
Adjust preffered wgs multiple for specific configs
...
Change-Id: Ib7e788760f0400b983e03044386f04637e12727e
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4331
2020-03-16 13:57:06 +01:00
Raiyan Latif
43433244f9
Enable support for indirect allocation access to Kernels
...
Change-Id: I3ded8cce3761a38aa4a4d71b4089f79c844311c5
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-03-15 22:13:19 +01:00
Jaime Arteaga
c0131430d4
Use standard64KB heap for linux shareable allocations
...
Relates-to: NEO-4196
Change-Id: Ica1fd485c14780043f547a752195bf55f80505dd
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-15 21:54:19 +01:00
Bartosz Dunajski
effbf78dc2
Improve debug variable description
...
Change-Id: Ie1a420313b4de49223b5b74c7209f0739f78940d
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-14 23:37:20 +01:00
Jobczyk, Lukasz
1d44699adb
Enable hw path in the memory manager multi device test
...
Resolves: NEO-4136
Change-Id: I95b1de2804b61516bda9d6eb76d30ea9752d0771
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-14 21:53:02 +01:00
Bartosz Dunajski
24c6a1ed96
Add MI_FLUSH_DW command estimation
...
Change-Id: I71d966209ce1a9996bfe3f48f3d8da00156211a3
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-13 14:11:24 +01:00
Michal Mrozek
3243b9d69d
Limit blitter max height.
...
Change-Id: I957d5501cac8b837391f88d6e20d1bf47e681ae5
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-03-13 12:29:28 +01:00
chmielew
e2dedd41f4
ocloc - argHelper support for MultiCommand and FatBinary
...
Change-Id: If4a4e6292609ce544a6534ebd4937ffe1cc09e67
2020-03-13 10:31:19 +01:00
Lukasz Jobczyk
9cc4d6fba1
Move debugger to root device environment
...
Resolves: NEO-3857
Change-Id: I216ef0cfc4ed7e1ab67261378905c6c0ec40a17f
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-13 10:07:17 +01:00
Kacper Nowak
b94ce17cb4
remove magic numbers + add reg_global_timestamp to helper
...
Change-Id: I8a42139ef73586edc7f826750f7d6582e1750cad
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-03-12 16:04:49 +01:00
Sebastian Luzynski
6eae7fc3c7
Altered unit tests to suit new MiFlushDwWA() workaround.
...
Related-To: NEO-4426
Change-Id: Ib13719a711adda6fb3da3c2893898f0f31418508
2020-03-12 14:45:44 +01:00
chmielew
c1aabdf51c
ocloc - renaming "Intel OpenCL GPU device binary" -> "Intel Compute -||-"
...
Change-Id: Id9f8bba36a04487bee1c553e3af0d48c466d797b
2020-03-12 14:31:30 +01:00
Andrzej Swierczynski
fcd47e9631
Disable ftrE2ECompression flag on gen12lp on linux
...
Related-To: NEO-4415
Change-Id: Iddc0d49632a91ce40f625f5dc0beb30bec02be1e
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-03-12 14:03:43 +01:00
Lukasz Jobczyk
fe0f259eaa
Pass proper spec const values to IGC
...
Change-Id: Id02f6fca1ce3ab603ac8b539ecb8ae5383276473
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-12 13:42:59 +01:00
Jablonski, Mateusz
d3f3c4a9de
Remove redundant virtual keywords
...
Change-Id: Ib303290dd5e4ce723eeb3670d6a3ceb8019cabd3
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-12 12:16:55 +01:00
Michal Mrozek
ff09ef9263
Prevent "0" as delta.
...
Change-Id: Ic0fae0ff816c6c587eb37b43462455f86cf3628c
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-03-12 10:56:12 +01:00
Zbigniew Zdanowicz
2213b8808f
Detect new CPU features using cpuid
...
Change-Id: Ie82e1ae4d21e758a0b27b59dd130793f6cf7d14f
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-12 07:56:54 +01:00
Filip Hazubski
5ac8d8e667
Add ClDeviceInfo
...
DeviceInfo contains a subset of ClDeviceInfo values.
Related-To: NEO-3938
Change-Id: Idae4fae4d25e1fb3106d8b95294fa70ebc6281df
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-11 16:45:27 +01:00
Mateusz Hoppe
c5454d6cce
Rename neo_core to neo_shared
...
Change-Id: Ibf263a1c5a2445156859a647248918d3db48498b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-11 16:05:19 +01:00
Milczarek, Slawomir
beb52c58b1
Moved additional synchronization helpers to base inl file
...
Related-To: NEO-4227
Change-Id: If79559b6a7fbf71d76983bfb9bf518d902fc235a
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-03-11 13:51:41 +01:00
Michal Mrozek
490e9e666b
Add wddm implementation for detection whether cpu copy is required.
...
Change-Id: Ia8dbd38b2e701bf56148785815599e15f4711b66
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-03-11 13:15:02 +01:00
Bartosz Dunajski
1399e55df7
Flush cache for blit aux translation
...
Change-Id: I108273bee286cdeed06e0c287945099cea481a73
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-11 08:40:06 +01:00
Lukasz Jobczyk
e9c576393e
Move hwInfo to root device environment
...
Related-To: NEO-3857
Change-Id: Ic23077cad080a249457cec39462ca7407e75b227
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-10 17:13:08 +01:00
Mateusz Hoppe
2999448c32
Move environment_variables to shared
...
Change-Id: Ibc101930bc83c10f117c9408ee41d09851d89e2d
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-10 14:25:02 +01:00
Konstanty Misiak
7ada522fa2
Move CSR to shared [1/n]
...
Related-To: NEO-4344
Change-Id: I356b46bdfac7c943b95ee6dc41d3416bd880f9cb
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-03-10 12:41:34 +01:00
Artur Harasimiuk
06981eae0a
ocloc: do not return error when asking for '--help'
...
Change-Id: I5bf06085e06d3ec73c757ce37d5f787fad3478bb
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-03-09 19:30:51 +01:00
Bartosz Dunajski
91a5e98209
Request dcFlush for barrier with TimestampPacket write
...
Change-Id: Ieab115ba651b10d8da0998ec21f2c498ae0fe371
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-09 17:21:52 +01:00
Lukasz Jobczyk
a77209f5b7
Receive spec consts from proper program source
...
Change-Id: I1e0ca9d2948190011fc1c75f24bdd8c3bb372daf
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-09 15:12:15 +01:00
Pawel Wilma
4f8325fa75
Add missing DualSubSliceCount in ocl-igc interfrace on Windows
...
Related-To: NEO-3777
Change-Id: Iaf076c4c103e1dd2b6e2d40b8e754a0fe0eb8d0b
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-03-09 13:27:22 +01:00
Zbigniew Zdanowicz
11f76befda
Limit direct submission to default context by default
...
Change-Id: I274d402eead87afca634d3b876fe500777910f96
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-09 13:02:07 +01:00
Mateusz Hoppe
97d9d35ab7
Move SourceLevelDebugger to shared
...
Change-Id: I8c8e1c69414833908519ceea8fc30362222f01c9
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-09 12:33:43 +01:00
chmielew
0501e9b366
remove ocloc_lib from make install
...
Change-Id: Ic91a7db6763ba03543e20c7ba8dd1ea6adba0103
2020-03-09 10:32:11 +01:00
Jablonski, Mateusz
612f47ced3
Correct permissions of ocloc
...
Change-Id: I3116f8c88458946bffe3595d6e62f9ef0bd599de
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-06 11:30:56 +01:00
chmielew
fa6608d20e
ocloc fixes
...
Change-Id: I3b60b7fafa8ae17fbf73680892838b1cabd24327
2020-03-05 16:20:21 +01:00
chmielew
ee192ebf7c
ocloc API - fat_binary fix
...
Change-Id: I5e5eaa2abc6525decf671b7e710d3283c64f0528
2020-03-05 13:25:41 +01:00
Mateusz Jablonski
7cf57e04f9
Move builtins and compiler interface to RootDeviceEnvironment
...
Resolves: NEO-4355
Change-Id: Id1a3365673165d775a60a7e0a3f463e1b8f5a496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-05 13:22:22 +01:00
Lukasz Jobczyk
ab3ae5fea7
Copy specialization constant value
...
Change-Id: I5bee6ef3e5d48d42194df690860fdd6ef6b90246
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-05 12:51:55 +01:00
Mateusz Jablonski
899045f900
Add methods to get builtins and compiler interface from device
...
Related-To: NEO-4355
Change-Id: I6b120b5293a180ce35a1671b5d2952003d56f9a6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-05 11:23:24 +01:00
Sebastian Luzynski
9fadc918c7
Added empty programMiFlushDwWA() workaround.
...
Related-To: NEO-3940
Change-Id: Ibc0978557004ed599a6698d76dc0f55bd26f8999
2020-03-05 11:01:46 +01:00
chmielew
3e85c337f3
ocloc - remove CL types
...
Change-Id: I724d9d64b1f883fccfea3b7c488921c2419bbe37
2020-03-04 15:26:53 +01:00
Zbigniew Zdanowicz
ad4925aef9
Do not use direct submission in internal and low priority contexts
...
Change-Id: Ifac52dd36737151ea4d84bec95750e1716cafa9a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-04 13:12:37 +01:00
Lukasz Jobczyk
a1c6b0f4a7
Use hwInfo from root device environment [4/N]
...
Related-To: NEO-3857
Change-Id: I50003aa1cf2c866827e98fa69212e11d190fda36
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-03 19:31:19 +01:00
Jablonski, Mateusz
6df36e5667
Linux: setup correct FileDescriptor when initializing GmmClientContext.
...
Related-To: NEO-3691
Change-Id: I192e53ba97b36decb197fa3aaa009b1c60787db5
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-03 19:21:14 +01:00
Lukasz Jobczyk
ddc320406d
Adjust getDevices to multi root device scenarios
...
Related-To: NEO-3857
Change-Id: I92d77e4cd39ca0fe757ae6387e7ca09479a5ea07
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-03 11:53:37 +01:00
Filip Hazubski
5c3412ede1
Increment reference count when creating sub device
...
Resolves: NEO-4362
Change-Id: I8f667ff4baa368d3504da0b3ffd2db39a4d00d68
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-03 11:40:17 +01:00
Michal Mrozek
4803e82eda
Add entry points for detecting whether cpu copy is required.
...
Change-Id: I04438da6241eedf127fd7e51ab257d22186d904e
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-28 13:48:06 +01:00
Jaroslaw Chodor
82bda4febc
Kernel descriptor, slm - don't use byVal
...
Change-Id: I673179ca5caa610038805b91a961005db52ad28a
2020-02-28 07:24:00 +01:00
Chodor
424120a86e
Kernel descriptor - copy name
...
Change-Id: Ic4ef196cf5ff2be7a06a5c09804685341944e56f
2020-02-28 01:31:31 +01:00
chmielew
e28419fc91
moving ocloc to shared folder
...
Change-Id: Ic739cf747f7e6fae2c0cd57f0bc1aa0899d3aa53
2020-02-27 18:46:00 +01:00
Bartosz Dunajski
db012c9d5c
Add cache flush for blit enqueues
...
Change-Id: I31dbeed9973c5077bf79ea7c7534b2430bca5083
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-02-27 16:16:20 +01:00
Mateusz Jablonski
ec647dabe9
Move GmmHelper to RootDeviceEnvironment
...
Related-To: NEO-3691
Change-Id: I8afdf65f360acc5b9d7b47a728d1d185e5e3700b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-27 15:50:56 +01:00
Mateusz Hoppe
a799358ac7
Correct CMakeLists style
...
Change-Id: Ie34fcd4356e1610b4fd9e9d0c60a454d7286596a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-27 14:12:21 +01:00
Mateusz Jablonski
e2d69f7a7c
Windows: correct creating shareable allocation
...
Change-Id: If3f67a9d3c4df072a8d23dcc2ccaa4b04a8bbb67
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-27 13:31:38 +01:00
chmielew
697848f3d1
ocloc as shared library, ocloc API
...
Change-Id: Ie866b9ad5ee6de8c8b10f83551e2a3cab9d64a02
2020-02-27 12:14:05 +01:00
Sebastian Sanchez
61ba7a838f
Define MI_MATH greaterThan() function
...
Define MI_MATH "greater than" function and simplify code
in encodeGreaterThanPredicate().
Change-Id: Ib1d0a3f712e672f105d0697a105e4d9b14301172
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-27 10:07:53 +01:00
Sebastian Sanchez
54b2763466
Enforce ALU register type for EncodeMath interface
...
General purpose register cannot be used for MI_MATH
calculations. ALU registers must be used.
To prevent passing general purpose register into the
EncodeMath interface, enforce a ALU register type
at compile time.
Change-Id: I98aa8605cde27e7003029d33b3ef3bcfb2306878
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-27 08:33:04 +01:00
Mateusz Hoppe
2def8cdeec
Cleanup shared sources
...
- link sources to neo_core
Change-Id: I7efaadcee80f7bbf8ac40f141c60d31f69161de7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-26 21:52:03 +01:00
Jaroslaw Chodor
207c71ceca
Adding kernel descriptor initialization
...
Change-Id: Ica3ace0d06202e6c0909f91dd53e61824fe73c23
2020-02-26 20:02:01 +01:00
Mateusz Jablonski
078ef764a4
Windows: discover all devices
...
Related-To: NEO-4208
Change-Id: I9d577ce3acc7545f7c424afcbd9869f50db200e6
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-26 14:05:08 +01:00
Lukasz Jobczyk
c824b2e451
Create local memory bank selector per root device
...
Related-To: NEO-3857
Change-Id: I52a2908715e8f2f9b5d84891bd039b88b3d163ca
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-02-26 11:48:26 +01:00
Jablonski, Mateusz
2a993fda3d
Linux: discover all devices
...
Related-To: NEO-4208
Change-Id: Id1a6d4a71790623fe27a1687c8a3553b3b70f398
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-02-26 11:07:40 +01:00
Sebastian Sanchez
1187eb0375
Fix encodeMulRegVal() calculation
...
encodeMulRegVal() makes extensive use of encodeAluAdd().
The following problems are addressed:
* encodeAluAdd() performs an addition and saves the
calculated result to the first register. Saving the
result to the first register clears the calculated result.
* An array of MI_MATH buffers is setup prior to performing a
series of encodeAluAdd()'s where the same registers are
reused for the calculations. For calculated results to be
carried over from one encodeAluAdd() operation to subsequent
encodeAluAdd() operations, the MI_MATH buffer needs to be
setup per encodeAluAdd().
Create EncodeMath<Family>::addition() to reserve a MI_MATH buffer
and performs the addition by calling encodeAluAdd().
Modify encodeAluAdd() to save calculated result to a third
register. Then, after EncodeMath<Family>::addition() is called
in encodeMulRegVal(), copy the calculated result from the result
register to the first register from the EncodeMath<Family>::addition()
operation. This will allow the calculated value to be carried over
to subsequent addition operations.
Change-Id: I9c6f8362a1ca2f7e3361aaa48d8748dd6ff0f4c8
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-25 14:13:35 -08:00
Michal Mrozek
f320b71091
Improve CPU copy debug flags.
...
- now setting them to 0 disables cpu copies.
Change-Id: Id850c999a04479092d562e5df6e0de3ece80051c
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-25 16:57:35 +01:00
Mateusz Jablonski
2c62dadd97
Pass RootDeviceEnvironment to setRenderSurfaceStateForBuffer method
...
Change-Id: I3d3b9515be7d31aef64c260d0988db357e8122ca
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-25 15:50:18 +01:00
Kamil Kopryk
71468dd11d
Add selector for copy engines
...
Change-Id: I28b11aead8e554b7299ff7f504751847068a2edf
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4320
2020-02-25 14:10:25 +01:00
Mateusz Jablonski
74072d4916
Access GmmHelper and GmmClientContext via RootDeviceEnvironment
...
Related-To: NEO-3857
Change-Id: Ie9d719c9884fd89580ce3592a0d4d4cd42862f47
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-25 12:32:16 +01:00
Mateusz Hoppe
4a41c9741c
Move options_dll file to shared directory
...
Change-Id: I6a54610741a91aeb902a405bdc0e4ef444106719
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-02-25 11:47:26 +01:00
Jaroslaw Chodor
915b80b1df
Introducing kernel descriptor
...
Change-Id: I4ce6ebf27a81cf14b055817ebfe76d8427e349ab
2020-02-25 00:03:15 +01:00
Andrzej Swierczynski
e453d2c04f
Change method of access to pinBB vectors
...
Related-To: NEO-4319
Change-Id: I70695361c368a7769b6dbb7db57597f188226133
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-02-24 17:23:54 +01:00
Maciej Plewka
357fdc2e65
Move built ins to share directory
...
Change-Id: I740a349a0f15229cd356fffe996932029bf0f98b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-24 15:46:44 +01:00
Dunajski, Bartosz
750036742d
Create only available engines
...
Change-Id: If7880db0dd7aa76b578d0e4e300f510ca686b825
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-24 14:06:36 +01:00
Mateusz Jablonski
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
Mateusz Jablonski
ee5ebde417
Add absolute include paths
...
Change-Id: I5b8631603b0f0b2ed8eb1a61f7e7770b27867423
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 01:21:00 +01:00
kamdiedrich
9e97b42ee6
Reorganization directory structure [4/n]
...
Change-Id: Ib868ed62d12ea8f9f123644219ba299e86a658ac
2020-02-24 01:04:42 +01:00
Mateusz Jablonski
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
kamdiedrich
e072275ae6
Reorganization directory structure [3/n]
...
Change-Id: If3dfa3f6007f8810a6a1ae1a4f0c7da38544648d
2020-02-23 23:48:28 +01:00