Andrzej Swierczynski
1eb3bd5c0a
Move platform() and constructPlatform() to MockPlatform
...
Related-To: NEO-4207
Change-Id: I7ed1c16f2eb357c3143d2a3f0b688f3cc747e9ff
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-03-23 23:49:39 +01:00
Mateusz Jablonski
688c95ce3c
Rename getDevices functions
...
getDevices -> prepareDeviceEnvironments
Change-Id: Ie5bbc0e9f1fe9b1c34ba012249ffa33c4d2ebd05
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-23 12:53:42 +01:00
Lukasz Jobczyk
38f53cab8a
Add type alias for spec const values map
...
Change-Id: I77c006f3b3953b108091914fec1f7ba040c7590b
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-03-23 12:11:44 +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
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
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
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
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
Barreyra, Bruno R
d1b29496fa
Enable GPU debugging in TGL
...
Change-Id: Ic61afef84cf361c2ffd298edcdae0f8ca6e800db
2020-03-19 12:44:32 +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
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
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
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
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
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
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
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
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
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
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
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
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 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
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
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
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
Jaroslaw Chodor
207c71ceca
Adding kernel descriptor initialization
...
Change-Id: Ica3ace0d06202e6c0909f91dd53e61824fe73c23
2020-02-26 20:02:01 +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
Jaroslaw Chodor
915b80b1df
Introducing kernel descriptor
...
Change-Id: I4ce6ebf27a81cf14b055817ebfe76d8427e349ab
2020-02-25 00:03:15 +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