Brandon Yates
0c6444aab7
feature(debugger): online page fault event handling
...
Related-to: LOCI-2052
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-08-23 18:29:58 +02:00
Mateusz Jablonski
e429afec1e
refactor: unify mocks for getenv function
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-08-23 13:44:40 +02:00
Mateusz Jablonski
f3aa042ec2
refactor: remove redundant specializations of product helper methods
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-08-23 12:56:52 +02:00
Bari, Pratik
f9e4381c1e
feature: Add FsAccess and Derived class in Sysman Kmd Interface
...
- The FsAccess, ProcFsAccess and SysfsAccess classes have been added in
a file in the Sysman Shared directory. The instances of these classes
are maintained in the Sysman Kmd Interface classes.
- Added functions for opendir, readdir and closedir in the shared code.
- Added a ULT in the sysman directory to cover these new functions from
the shared code.
Related-To: LOCI-4689
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2023-08-23 11:38:57 +02:00
Spruit, Neil R
5c75449508
fix: Track Sub Device Hierarchy for use by Metrics Library
...
Related-To: LOCI-4819
- When communicating with the Metrics Libraries, if one is using a
specific sub device, then the correct physical sub device index and
number of sub devices must be used.
- When Affinity Mask is set, this hierarchy information is lost,
therefore the sub device hierarchy data is stored in a map to each
"device" to be returned to the user allowing for the correct sub device
information to be passed to the metrics library.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-08-22 21:37:25 +02:00
Zbigniew Zdanowicz
873b3d4241
fix: do not process scratch space when no surface heap pointer provided
...
Related-To: NEO-8281
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-08-22 17:44:35 +02:00
Kacper Kasper
991febcdf4
fix: extend cache hash with compiler commit sha, lib size and mtime
...
Related-To: NEO-4262
Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com >
2023-08-22 15:28:57 +02:00
John Falkowski
d49190f4ae
feature: Add debug/release variables prefixes
...
Add debug/release variables with prefixes for Level Zero, OpenCL and NEO
Resolves: NEO-6357
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-08-22 15:15:45 +02:00
Dunajski, Bartosz
7e6e0da978
feature: flush task count on cmd list hostSynchronize if needed
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-08-22 14:29:14 +02:00
Cencelewska, Katarzyna
dfa420d318
fix: remove wa for override patIndex on mtl
...
after forcing cacheable to 0 this wa should be not needed
Related-To: NEO-8120
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-08-22 12:09:19 +02:00
Mateusz Jablonski
894bab05ef
fix: add missing zero-initialization in StackVec class
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-08-22 11:54:12 +02:00
Dunajski, Bartosz
f3b2458a9c
fix: Use immediate command queue instead of CSR to obtain TaskCount.
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-08-21 15:04:46 +02:00
Compute-Runtime-Validation
bef6b64148
Revert "feature: add AIL for selected apps on MTL"
...
This reverts commit 68909a895a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-21 13:58:30 +02:00
Spruit, Neil R
ea7b7d7009
feature: Support for Combined Device Hierarchy
...
Related-To: LOCI-4662
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-08-21 10:26:20 +02:00
Mateusz Hoppe
8435160db4
feature: bindless addressing for images
...
- program surface states for redescribed images correctly. Image copy
to/from memory are using redescribed surface states,
- refactor state base address programming - program address and size
together, set max size at the beginning due to lack of Enable flag
- set GpuBase in WddmAllocation when external heap is used
- return max ssh required size from kernelInfo or based on stateful args
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-08-18 15:59:20 +02:00
Hazubski, Filip
94bfc3418b
fix: Update value of XE_ONE_SEC variable
...
Update the value to correspond to used unit of time (ns).
Related-to: NEO-7996
Signed-off-by: Hazubski, Filip <filip.hazubski@intel.com >
2023-08-18 14:52:16 +02:00
Artur Harasimiuk
f6e0c0cf89
Revert "feature: Add debug/release variable prefixes"
...
This reverts commit ec95d9314a .
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2023-08-18 12:42:39 +02:00
John Falkowski
2403212dcd
fix: chunking prefetch add USER_FENCE
...
Add USER_FENCE before PREFETCH call and after the BIND
Related-To: NEO-8098
Signed-off by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-08-17 21:32:47 +02:00
Mateusz Hoppe
a26e25f1df
fix: do not notify KMDAF when lock/unlock fails
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-08-17 11:32:40 +02:00
Lukasz Jobczyk
6fcb0f1407
fix: flush dc when blocking flag set
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-08-17 10:10:56 +02:00
Andrzej Koska
0a3b135673
fix: Taking into account variable ReturnSubDevicesAsApiDevices
...
Taking into account variable ReturnSubDevicesAsApiDevices
during Retain and Release Device
Related-To: NEO-8161
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2023-08-16 16:14:42 +02:00
Young Jin Yoon
91deddb69b
feature: register handler when we migrate to GPU
...
Created registerFaultHandler() and checkFaultHandlerFromPageFaultManager()
and removed registering sigaction() from the contructor of the
PageFaultManagerLinux class.
Added if statment to check the current pagefault handler is from the
pagefault manager. If not, register the pagefault handler of the current
pagefault manager on linux.
Refactored windows exception vector adding logic to
registerFaultHandler() and call upon the constructor of the
PageFaultManagerWindows, and make
checkFaultHandlerFromPageFaultManager() always return true for windows.
Related-To: NEO-8190
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2023-08-14 11:14:03 +02:00
Compute-Runtime-Validation
ce7b25d445
Revert "fix: use proper pointer inside appendWriteGlobalTimestamp"
...
This reverts commit 5a235af209 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-14 10:54:20 +02:00
Lukasz Jobczyk
3ab72e7d79
fix: Align svm cpu to alignment passed to properties
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-08-11 14:57:49 +02:00
Katarzyna Cencelewska
5a235af209
fix: use proper pointer inside appendWriteGlobalTimestamp
...
Related-To: NEO-8105
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2023-08-11 08:18:45 +02:00
Compute-Runtime-Validation
820e94e89c
Revert "fix: Align svm cpu to alignment passed to properties"
...
This reverts commit d66da494d4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-11 07:14:30 +02:00
Maciej Plewka
e4a2d10a84
fix: limit ccs number to 1 on dg2 [2nd submission]
...
Related-To: NEO-7863, HSD-14019186972
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-08-10 14:03:55 +02:00
John Falkowski
ec95d9314a
feature: Add debug/release variable prefixes
...
Resolves: NEO-6357
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-08-10 14:01:09 +02:00
Fabian Zwolinski
6fca8ee195
refactor: Remove SourceLevelDebugger
...
Removed:
- SourceLevelDebugger (with tests)
- DebuggerLibrary
- DebuggerLibraryRestore
- debuggerSupported field from hwInfo.capabilityTable
- HasSourceLevelDebuggerSupport matcher
- ExperimentalEnableSourceLevelDebugger debug var
- EnableMockSourceLevelDebugger debug var
- DebuggerOptDisable debug var
- lib_names.h.in file
- third_party/source_level_debugger/igfx_debug_interchange_types.h
Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-08-10 11:14:02 +02:00
Lukasz Jobczyk
7330974116
feature: Enable dispatch monitor fence from wait
...
Resolves: NEO-8240
Related-To: NEO-8067
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-08-10 09:45:22 +02:00
Compute-Runtime-Validation
8213c2a0cd
Revert "feature: Enable dispatch monitor fence from wait"
...
This reverts commit 4d5b4ef4f1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-10 04:25:58 +02:00
Kacper Nowak
1afaf37f78
refactor: Unify GTPin initialization logic between APIs
...
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
context creation and if yes,
make a call to OpenGTPinOCL function.
Handle potential errors gracefully without exiting.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-08-09 17:15:24 +02:00
Mateusz Hoppe
c43b827702
feature(debugger): allocate per-context SIP kernels with contextID
...
- optimize allocating SIP kernels for context - use cached binary
- parse SIP binary to find patch location
- patch SIP binary with Offline dump context id
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-08-09 16:22:20 +02:00
Lukasz Jobczyk
d66da494d4
fix: Align svm cpu to alignment passed to properties
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-08-09 11:52:21 +02:00
Lukasz Jobczyk
4d5b4ef4f1
feature: Enable dispatch monitor fence from wait
...
Resolves: NEO-8240
Related-To: NEO-8067
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-08-09 09:43:47 +02:00
Lukasz Jobczyk
fc1f45b630
feature: Dispatch monitor fence from wait
...
Resolves: NEO-8240
Related-To: NEO-8067
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-08-08 16:42:27 +02:00
Milczarek, Slawomir
f3f623900a
fix: memory prefetch for kmd migrated shared alloc to check for invalid usm ptr
...
Fix for SIGSEGV in SYCL_CTSO0Debug-usm_api_prefetch_handler_no_events_l0
./run_l0.sh usm_api_prefetch_handler_no_events test_usm
Related-To: LOCI-4742
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-08-08 11:29:14 +02:00
Compute-Runtime-Validation
8e989fa333
Revert "fix: limit ccs number to 1 on dg2"
...
This reverts commit d2ec766bf1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-08 04:43:31 +02:00
ocldev
6e9bb7e1ac
feature: brand string update
...
Related-To: NEO-7929
Updating device brand strings
Based on public support in Windows driver 31.0.101.4578
https://www.intel.com/content/www/us/en/download/729157/
Signed-off-by: ocldev <ocldev@intel.com >
2023-08-07 21:29:19 +02:00
Kamil Kopryk
ffac216ab2
fix: use decanonize from gmm helper in xe
...
Related-To: NEO-7996
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-08-07 17:45:03 +02:00
Lukasz Jobczyk
6beebaf428
fix: invalidate texture cache when dispatch monitor fence
...
Related-To: NEO-8067
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-08-07 11:32:36 +02:00
Katarzyna Cencelewska
6d8ff6399c
feature: add possibility to force device id on Windows
...
Related-To: HSD-18031930757
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2023-08-07 11:25:11 +02:00
Maciej Plewka
d2ec766bf1
fix: limit ccs number to 1 on dg2
...
Related-To: NEO-7863, HSD-14019186972
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-08-07 10:50:45 +02:00
Compute-Runtime-Validation
65df34bbc7
Revert "refactor: Unify GTPin initialization logic between APIs"
...
This reverts commit 68a5108e05 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-07 04:31:52 +02:00
Kacper Nowak
68a5108e05
refactor: Unify GTPin initialization logic between APIs
...
Add support for new GTPin loading logic in OCL path, similar to existing
in L0 - invoking exposed, dedicated API call (OpenGTPinOCL).
- Move logic to shared, including unit tests
- Check whether instrumentation is required on
clGetPlatformIDs API call, and if yes,
make a call to OpenGTPinOCL function.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-08-05 18:22:08 +02:00
John Falkowski
f652c7311d
feature: Add prefetch for chunking with shared and device mem
...
Perform prefetching of chunks on shared and device allocations
after bind.
Related-To: NEO-8066
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
Signed-off by: John Falkowski <john.falkowski@intel.com >
2023-08-05 02:17:39 +02:00
Kulkarni, Ashwin Kumar
cb2b4214b4
feature: support UUID feature for windows
...
Related-To: LOCI-3523
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2023-08-04 20:57:38 +02:00
Compute-Runtime-Validation
d93789dbab
Revert "fix: use decanonize from gmm helper in xe"
...
This reverts commit e6b0930657 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-08-04 17:20:25 +02:00
Mateusz Hoppe
c44b600ec7
fix: assert message printing
...
- assert buffer has header that needs to be accounted for while parsing
the buffer and reading format strings. currentOffset in Printf Formatter
must not exceed size in header. The offset is relative to the beginning
of buffer, not the "begin" field in header
Resolves: NEO-8237
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-08-04 16:48:59 +02:00
Mateusz Jablonski
a1ff8d0ca0
fix: add missing initialization of hw info on ADLP
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-08-04 14:25:09 +02:00