Commit Graph

78 Commits

Author SHA1 Message Date
39f0387ecc Move tbx stream, tbx csr to shared
Related-To: NEO-5161

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>i
2021-05-31 14:35:32 +02:00
d0cb27226f Move mocks: cif, gmm context, compilers
Related-To: NEO-5161

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-27 12:51:28 +02:00
0e9aa45e46 Improving OS abstraction
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-23 21:40:37 +02:00
a692f1ecc5 Move flag setup after initialization
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-20 13:39:18 +02:00
a5d38170ad Move some shared tests to shared
Tests that are not specific to openCL or level zero

Related-To: NEO-5161

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-18 13:51:18 +02:00
3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
9c5dee54dc Fix root device residency for TagNode
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-17 14:51:23 +02:00
a6c6290c09 Move TSP creation to HwHelper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-14 15:08:53 +02:00
3ae75b39fb Changing win dev discovery to DXCoreAdapterFactory
Second try - keeping legacy path as fallback

Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-13 22:31:48 +02:00
5d90594d9d Revert "Changing win dev discovery to DXCoreAdapterFactory"
This reverts commit 83143c4318.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-05-11 12:40:03 +02:00
83143c4318 Changing win dev discovery to DXCoreAdapterFactory
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-30 15:57:35 +02:00
902cce597a Add new functionality to load SIP from file
Related-To: NEO-5718

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-23 13:48:26 +02:00
e0b5f2f7f7 Add new IO functions
Related-To: NEO-5718

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-19 16:32:33 +02:00
298df1582b Add flag to determine if csr can allocate in internal heaps
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-01 15:37:41 +02:00
da9d039dd6 New method to return TimestampPacket alignment
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-01 11:55:11 +02:00
52e118fe49 Add extra parameters to Buffer::setSurfaceState() method
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-16 10:17:59 +01:00
f7d105f2e2 Create work partition allocation
Related-To: NEO-5546
Resolves: NEO-5561
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-17 15:28:42 +01:00
25c696ae85 cmake refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-02-12 14:42:27 +01:00
8a700c5187 Move non-ult shared files to single directory
Add SKIP_SHARED_UNIT_TESTS flag

Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00
6f69bd3560 Initialize SIP kernel in Device::create()
Related-To: NEO-4878

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-01-08 15:46:23 +01:00
ff3d4799ca Refactor cmake
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-12-22 00:41:43 +01:00
6986d5de0b Add helper functions for memory compression to CSR
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-21 17:43:03 +01:00
e665111013 Verify debug manager state in UltConfigListener
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-12-18 14:18:36 +01:00
d94e2bf149 Refactoring of per-DSS backed buffer programming
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 22:22:47 +01:00
9bd0c69913 Add ClearColor allocation support for blitter
Related-To: NEO-5175

Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-12-14 18:22:05 +01:00
343fd602fa Add method to submit kernel on single subdevice
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-12-01 22:15:05 +01:00
baea633bdd Correct logic in MultiRootDeviceFixture
Related-To: NEO-4589

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-11-27 16:22:39 +01:00
556b6cd457 Add concurrent kernel execution type
Related-To: NEO-4940
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-11-20 16:12:42 +01:00
4d2750161d Move OsAgnosticMemoryManager to shared
Resolves: NEO-5188
-move MockGraphicsAllocation to shared

Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-02 21:02:53 +01:00
c678f3d9b0 Make DeviceBitfield argument constant
Related-To: NEO-5225

Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-30 13:45:32 +01:00
30a67618f8 Add DeviceBitfield argument to CSR constructor
Related-To: NEO-5225

Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-28 17:10:31 +01:00
27c281a044 Fix start and dispatch blitter commands in direct mode
Related-To: NEO-5010

Change-Id: I3d03ef39325adb2beba26a989906381f5eccc4ff
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-20 14:12:22 +02:00
ca5f34133b Move aub and tbx code to shared
Related-To: NEO-3964

Change-Id: Ice978e582721498d7496f989767ce7d6f5f4caf4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-19 16:04:47 +02:00
34176a8ea9 Correct formatting
Change-Id: I592986cb67099136a75d12ad3bc9729c7f85738b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 10:46:26 +02:00
8fcd51c2c8 Do not obtain command stream if it will not be needed
Change-Id: Id7fa1c6b78e71a085084f8fcb66a7b8e873ad2bc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-10-08 12:24:03 +02:00
f75c9e2f57 Make sure that implicit flush controls are disabled in AUB capture.
Change-Id: Ie731b8f6f2ca322e8298e8e2f3ed633fe01f07fb
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-09-24 06:35:53 +02:00
3b6f9b7cb6 Add implicit flush for new resources and idling gpu
Related-To: NEO-5100

Change-Id: I57fdb8eecd88124c4c9171014950554c35dbecd1
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-09-22 21:50:02 +02:00
2590a87baf small cmake cleanup
Change-Id: I379327082a0527e41e8394274d8ad1c02378a294
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-09-11 09:11:24 +02:00
fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
b7ff10fccf cmake refactor
Change-Id: Ic276b78419f2828c34ad70e2a7b2dbdbdf38f89d
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-08-11 12:41:57 +02:00
17141f440f cmake: refactor hw platform enabling
Change-Id: Ib672ab524dc00dd9d817e82ecfd7bf1bb3334777
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-07-31 13:50:04 +02:00
8daf71070d Enhance mocking env variables
Change-Id: I2d0659b6f608467f9c1bc5746742ac5e3454582d
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-30 14:52:14 +02:00
d76515a18d Metric Api: Moved the initialization to zeInit
Change-Id: Ia390389e514facb3d81cc28d97bf017367e9f728
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-27 21:41:24 +02:00
073a40c14c Move reading env vars to DriverImp
- add requirePerContextMemorySpace flag to ExecEnv

Related-To: NEO-4637

Change-Id: I3968bedd9cfd1b1e41e79b63939b7a9bf25e7ff5
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-07-14 19:51:41 +02:00
351af1d3de Correct tests: pass device bitfield to allocation properties [3/n]
Related-To: NEO-4722

Change-Id: Id1459e6a2ebd71e410193cfbdfa2cfa44edf3b1d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-06-30 21:13:25 +02:00
0e76e9db66 Unify Debugger::create methods and link to shared library
- OCL and L0 can share this method

Change-Id: Ice9488281a5c2a26ea09310319243880a6aa0682
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-19 08:26:18 +02:00
d55a0ae5c6 Detect enable program debugging env variable
Resolves: NEO-4713

Change-Id: Id9ce30b84943c4b364f7756a430d58df2614a28b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-09 15:23:20 +02:00
aa8e9fb634 Rename ocl DeviceFixture and add shared tests specific one
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-06-01 15:44:05 +02:00
02f2f22045 Add profiling support for blitter
Resolves: NEO-4121

Change-Id: I29dfcf07d48100c578cbc432fee4d87dfa18e8f4
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-05-29 13:43:14 +02:00
f4ef256900 Program hardware context in L0 command queue
Related-To: NEO-4577

Change-Id: I204a5e86ad3b23b71071bbbfd58c23a408f6865f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-05-29 13:07:38 +02:00