Mateusz Jablonski
a4e9ede440
Dont use global namespaces of i915 definitions
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-19 13:17:59 +02:00
Zbigniew Zdanowicz
69269b9aed
Add p2p copy black box test
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-19 10:59:40 +02:00
Bartosz Dunajski
52b00a11b0
Remove LSH from CommandQueue
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-19 08:47:02 +02:00
Jaime Arteaga
db58e50564
Improve PrintUmdSharedMigration
...
Add size and timing data.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-07-18 19:47:13 +02:00
Bari, Pratik
2942a48ce8
Fix for zello_sysman properties bug
...
The unsigned char values are typecast to unsigned int during cout
operation.
Related-To: LOCI-3267
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2022-07-18 19:09:24 +02:00
Jitendra Sharma
4a8a93af96
Debugger L0 Win - Generate Proc Entry/Exit events
...
Related-To: NEO-7117
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2022-07-18 12:32:57 +02:00
Mateusz Jablonski
78c96db2fa
Create wrappers for different version of i915 headers
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-18 10:15:44 +02:00
Compute-Runtime-Validation
56a264a33d
Revert "Defer Sysman Scheduler and Memory Module Initialization"
...
This reverts commit e1748ad436 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-18 08:19:58 +02:00
Compute-Runtime-Validation
f9888db0fb
Revert "Check indirect access from igc"
...
This reverts commit e14c91fa6c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-16 07:36:49 +02:00
Kulkarni, Ashwin Kumar
aadf424476
Defer Sysman Standby Module Initialization
...
With this change, init for sysman Standby API would not be done during zeInit.
Rather init and thereby Standby API handle creation would be done only
when user explicitly requests to enumerate handles
using zesDeviceEnumStandbyDomains.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-07-15 23:14:54 +02:00
Kulkarni, Ashwin Kumar
e1748ad436
Defer Sysman Scheduler and Memory Module Initialization
...
With this change, init for sysman Scheduler/Memory API would
not be done during zeInit.
init and thereby Scheduler/Memory API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumSchedulers/zesDeviceEnumMemory.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-07-15 20:36:03 +02:00
Kulkarni, Ashwin Kumar
e58bc1ca86
Defer Sysman Temperature Module Initialization
...
With this change, init for sysman Temperature API would not be done
during zeInit.
Rather init and thereby Temperature API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumTemperatureSensors.
Modification to temperature ULTs
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-07-15 20:23:55 +02:00
Mateusz Hoppe
023f9df999
L0Debug - move apiEvents queue to DebugSessionImp
...
- the logic of reading api events is OS agnostic
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-15 16:19:38 +02:00
Szymon Morek
9203f8787b
Add template structs for L1 cache policy helper
...
Related-To: NEO-7003
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-07-15 16:14:49 +02:00
Dominik Dabek
e14c91fa6c
Check indirect access from igc
...
Related-To: NEO-7182
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-07-15 15:01:48 +02:00
Zbigniew Zdanowicz
4d80f38adc
add missing context destroy in level zero black box tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-15 14:47:44 +02:00
Zbigniew Zdanowicz
162fd4944c
Correct timeout parameter for host synchronization in level zero black box tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-15 13:35:24 +02:00
Daria Hinz
01af53b63c
Setting default device id for acronym
...
This PR includes:
- Move product config implementation from
ocloc arg helper to product config helper.
- Add default device id setting for each platform configuration.
- Add & move hw info config tests from opencl to shared
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7112
2022-07-15 12:28:58 +02:00
Joshua Santosh Ranjan
05ad32704b
Initialize device properties in zello_metrics
...
This patch fixes a crash issue because of
uninitialized device properties.
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-07-15 06:19:53 +02:00
Mateusz Hoppe
bd07b3ec97
L0Debug refactor: Replace ze_device_thread_t with EuThread::ThreadId
...
- ThreadId is preferred beacuse it uniquely identifies thread and is
not related to device topology
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-14 20:01:56 +02:00
Mateusz Hoppe
b89ebb3dd2
L0Debug: Fix for possible crash while passing set of threads
...
- zetDebugRead/WriteRegisters() only accept single thread
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-14 18:35:40 +02:00
Milczarek, Slawomir
3e22f30ed5
clEnqueueMigrateMemINTEL with memory prefetch for KMD migrated shared allocation
...
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-07-14 17:35:22 +02:00
Mateusz Hoppe
ae0e701f6f
L0Debug refactor - check single thread is stopped accessing regs
...
- enhance register access tests
- remove not used param from resume wa function
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-14 16:02:25 +02:00
Lukasz Jobczyk
8eae6c2ba3
Add ZEX_HOST_MEM_ALLOC_FLAG_USE_HOST_PTR flag
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-14 13:28:48 +02:00
Compute-Runtime-Validation
0866f235c7
Revert "Ensure shared allocations made resident across multiple devices"
...
This reverts commit 1ed273dab8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-14 08:14:00 +02:00
Mateusz Hoppe
e8a9099bf2
Refactor register access functions
...
- use ThreadId instead of api ze_dvice_thread_t
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-13 18:55:27 +02:00
Mateusz Hoppe
d139d307f0
L0Debug - extract memory access params validation
...
- remove duplication of code by moving common code
to DebugSessionImp
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-13 16:45:37 +02:00
Mateusz Hoppe
ca4ecdfb06
L0Debug - map VM to tile based on context engines
...
- make ISAallocation aware of tileInstanced allocation
Related-To: NEO-5784
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-13 14:42:58 +02:00
Yates, Brandon
7ccde3fb20
L0 Win Debug - read StateSave and moduleDebug header
...
Related-to: NEO-7162
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-07-13 14:33:47 +02:00
Zbigniew Zdanowicz
82a6f9e7b2
Use compute walker system fence for system memory or events in use
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-13 11:55:32 +02:00
Raiyan Latif
1ed273dab8
Ensure shared allocations made resident across multiple devices
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2022-07-12 21:25:40 +02:00
Brandon Yates
4f5339db1c
Add ZE_DEVICE_MEMORY_PROPERTIES_EXT to list of L0 supported extensions
...
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2022-07-12 03:39:16 +02:00
Jaime Arteaga
808724bbcf
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit 5cd2e098d6 .
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-07-12 01:06:21 +02:00
Jaime Arteaga
235e167565
Correctly return number of IPC handles in zexMemGetIpcHandles
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-07-11 11:12:54 +02:00
Bellekallu Rajkiran
e1ba6d825a
Support for power limit extensions
...
Boiler plate implementation of power limit
extension functions.
Related-To: LOCI-3125, LOCI-3193
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-07-11 09:02:25 +02:00
Kulkarni, Ashwin Kumar
97a3368aad
Defer Sysman Frequency Initialization
...
With this change, init for sysman Frequency API would not be done during zeInit.
Rather init and thereby Frequency API handle creation would be done only
when user explicitly requests to enumerate handles
using zesDeviceEnumFrequencyDomains.
Related-To: LOCI-3127
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2022-07-11 05:43:50 +02:00
Joshua Santosh Ranjan
6292a3304a
Fix Metric Activation Procedure
...
This patch implements Deactivate previously activated metric groups,
if they are not part of the current list
Related-To: LOCI-3160
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-07-08 22:18:42 +02:00
Artur Harasimiuk
6cb44ae0d9
includes refactor
...
use gen specific hw_cmds instead of all-in-one
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-08 17:02:19 +02:00
Zbigniew Zdanowicz
ee277114e0
Add source files to level zero cmake file list
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-08 15:57:35 +02:00
Artur Harasimiuk
e51294b4c1
includes cleanup
...
use hw_test_base.h instead of hw_test.h.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-08 14:28:11 +02:00
Tratnack, Geoffrey
16bd39650f
Adding Implementation of zetKernelGetProfileInfo
...
Signed-off-by: Tratnack, Geoffrey <geoffrey.tratnack@intel.com >
2022-07-07 21:45:08 +02:00
Mateusz Hoppe
9a667308b9
Refactor: move DebuggerL0 initialization to RootDeviceEnvironment
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-07 16:36:53 +02:00
Artur Harasimiuk
1f9960b305
hw_cmds.h for XE refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-07 12:17:53 +02:00
Artur Harasimiuk
e245523730
per gen/per sku TEST_F/TEST_P refactor
...
In gen/sku specific tests include only required files to reduce
dependency on not related HW scpecific headers and improve build
performance.
This is achieved by reduce in usage of hw_test.h and related collateral,
like shared/source/helpers/definitions/hw_cmds.h which can be replaced
by sku specific hw_cmds_<sku>.h
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-06 23:13:46 +02:00
Mateusz Hoppe
5956aea18d
Limit header includes from level_zero device.h
...
- remove including debugger_l0.h from device.h
- add getL0Debugger() to shared NEO Device
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-06 16:41:17 +02:00
Mateusz Hoppe
3cd4114733
Move L0Debugger tests to shared
...
- change tests to non-parameterized when parameters are not needed
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-06 12:19:03 +02:00
Joshua Santosh Ranjan
e8494abbe8
Add support for ze_device_memory_ext_properties_t
...
Related-To: LOCI-3099
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-07-06 08:18:22 +02:00
Igor Venevtsev
9e0138f5a7
Debugger L0: expose FC register set
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-07-05 16:04:54 +02:00
Lukasz Jobczyk
bcdeeb22b5
Add forward declaration on EngineGroupT
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-05 13:05:04 +02:00
Lukasz Jobczyk
0d2d41691c
Bind BCS2-8 statically
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-05 08:52:52 +02:00