Mateusz Jablonski
36194c4e7d
refactor: correct variable namings
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 23:49:03 +01:00
Mateusz Jablonski
aac8686095
fix: correct calculating submit cpu timestamp
...
Related-To: NEO-9590, HSD-18035219634
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 17:42:41 +01:00
Mateusz Jablonski
feccb86582
test: simplify mt test, reduce number of iterations
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 12:55:31 +01:00
Fabian Zwolinski
06ec4c3a82
fix: aub residency in HW+AUB mode
...
Related-To: NEO-9230
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-11-29 11:54:59 +01:00
Mateusz Jablonski
8e3caef814
test: add support for alarm in Windows ULT
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-27 14:24:45 +01:00
Mateusz Jablonski
c7daa7a960
test: add per test case timeout
...
fail unit test when takes more than 5s
fail aub test when takes more than 20s
add mechanism to control timeout per aub/mt/unit test
disable tests with fstream
Related-To: NEO-7006
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-27 12:58:11 +01:00
Compute-Runtime-Validation
6906a4df5a
Revert "feature: enable bindless mode in ocloc in L0 on dg2"
...
This reverts commit c35b13ccae .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-25 03:20:54 +01:00
Kamil Kopryk
ce7298d512
feature: Add heapless mode programming in ocl
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-11-24 12:53:39 +01:00
He, Wenju
c35b13ccae
feature: enable bindless mode in ocloc in L0 on dg2
...
Before this PR, bindless build option isn't enabled in ocloc by default on dg2.
So aot built program still use bindful kernel.
This PR appends bindless option to ocloc according on releaseHelper config.
Related-To: NEO-7063
Signed-off-by: He, Wenju <wenju.he@intel.com >
2023-11-24 12:37:42 +01:00
Mateusz Hoppe
24a32b97c8
test: refactor aub tests to use AUBFixture
...
- AUBCommandStreamFixture derives from AUBFixture
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-11-22 15:25:00 +01:00
Mateusz Hoppe
007d9c2801
test: refactor CommandEnqueueAUBFixture in aub_tests
...
- use AUBFixture to setup device and proper AUB csr
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-11-21 15:15:21 +01:00
Mateusz Hoppe
70beb8834d
test: improve aub tests - do not reset csrs
...
- CSRs do not need to be reset to Aub/Tbx csrs, they are already created
properly
- only AUBFixture in L0 and OCL is changed
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-11-21 11:25:57 +01:00
Mateusz Jablonski
8dd80efbb1
refactor: move getting thread per eu configs to release helper
...
Related-To: HSD-18034098647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-21 09:44:32 +01:00
Mateusz Jablonski
35c1f34672
refactor: move number of threads per eu to release helper
...
Related-To: HSD-18034098647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-20 12:16:33 +01:00
Mateusz Hoppe
2b35c2374b
test: refactor aub tests to create Aub/Tbx csr
...
- aub_tests should create AUB/TBX csr, this will prevent using empty
UltCommandStreamRecevier if CSR is not overriden in device
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-11-20 10:41:21 +01:00
Mateusz Hoppe
32a5b955dd
refactor: use cmdQ from fixture in aub test
...
- do not allocate more cmdQs than necessary
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-11-17 16:58:12 +01:00
Fabian Zwolinski
40fd1b0336
fix: report correct version of cl_khr_external_memory extension
...
Related-To: NEO-9530
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-11-17 15:49:56 +01:00
Kacper Nowak
c504b497d7
refactor: Store AIL in root device environment
...
Instead of storing AIL configurations in global table, store it
in root device environment.
This also prevents potential scenario with accessing deleted memory due
to symbol collision when application uses both OCL/L0 libraries.
- AIL is now stored in root device environment, and gets initialized
with other helpers
- Minor: corrected naming in ULTs
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
Related-To: NEO-9240
2023-11-17 15:18:27 +01:00
Compute-Runtime-Validation
27000c06cb
Revert "refactor: Store AIL in root device environment"
...
This reverts commit 02ef252b7d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-16 19:37:42 +01:00
Andrzej Koska
63aaa3b63f
fix: Race removal between enqueueKernel and clFinish
...
Related-To: NEO-8196
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2023-11-16 17:33:44 +01:00
Warchulski, Jaroslaw
d358ed051f
fix: remove unnecessary check in patchPrivateSurface function
...
Related-To: GSD-3840
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-11-16 10:04:41 +01:00
Kacper Nowak
02ef252b7d
refactor: Store AIL in root device environment
...
Instead of storing AIL configurations in global table, store it
in root device environment.
This also prevents potential scenario with accessing deleted memory due
to symbol collision when application uses both OCL/L0 libraries.
- AIL is now stored in root device environment, and gets initialized
with other helpers
- Minor: corrected naming in ULTs
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
Related-To: NEO-9240
2023-11-15 13:17:56 +01:00
Dominik Dabek
961a8d91d0
refactor: move gmm constructor flags to struct
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-11-15 09:26:13 +01:00
Mateusz Jablonski
18b43eeb6a
test: prepare tests to run with clang on Windows in release config
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-14 14:29:00 +01:00
Filip Hazubski
fee423fa15
fix: Add PVC device id 0x0B6E for Intel(R) Data Center GPU Max 1100C
...
Resolves: NEO-9440
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-11-14 08:03:51 +01:00
Mateusz Jablonski
cec6492cd9
fix: fix issues with ubsan in shared and ocl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-13 12:40:57 +01:00
Compute-Runtime-Validation
20cef540e0
Revert "performance: re-enable map/UnmapMemObject on CPU"
...
This reverts commit ef7c1f3940 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-10 16:33:12 +01:00
Baj, Tomasz
10a97548c2
refactor: remove ReturnSubDevicesAsApiDevices from OCL and L0
...
Related-To: NEO-9437
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2023-11-09 15:43:06 +01:00
Mateusz Jablonski
781533565e
fix: fix issues with ubsan in shared and OCL tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-09 12:39:29 +01:00
Dominik Dabek
7a6fc209dd
performance: prealloc cmdbuffer on mtl
...
Preallocate 2 command buffers allocations per command queue initialized
on MTL.
Related-To: NEO-8152
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-11-08 17:21:13 +01:00
Igor Venevtsev
ef7c1f3940
performance: re-enable map/UnmapMemObject on CPU
...
Resolves: NEO-9398
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-11-08 02:27:22 +01:00
Mateusz Jablonski
330fb40107
fix: fix clang-tidy issues
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-31 16:32:06 +01:00
Mateusz Jablonski
b9a3adee30
test: fix compilation error of mt tests in clang on Windows
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-31 13:16:20 +01:00
Mateusz Jablonski
e301418423
fix: correct issues with clang tidy
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-31 12:23:42 +01:00
Baj, Tomasz
28c6dbf8c1
fix: set ParentDevice for subDevice only
...
Related-To: GSD-6609
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2023-10-31 12:11:39 +01:00
Mateusz Jablonski
9c7f31620a
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-31 10:29:15 +01:00
Pawel Cieslak
f29dc33b34
fix: fix issues detected with clang-tidy-16
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2023-10-31 08:06:30 +01:00
Mateusz Jablonski
d56abe6f60
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-30 17:26:20 +01:00
Andrzej Koska
4f35bf5282
test: add test to waitForTimestamps
...
Related-To: NEO-8196
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2023-10-30 15:49:50 +01:00
Mateusz Jablonski
036d1e4814
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-30 12:48:51 +01:00
Michal Mrozek
80e3632c41
performance: do not free deferred allocations when not needed
...
Level Zero doesn't use deferred allocations so no point in paying the
price to check for them in cleanAllocationList.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2023-10-27 18:02:43 +02:00
Dominik Dabek
39cf653959
performance(ocl): cmd buffer prealloc per cmdqueue
...
Add mechanism to preallocate cmd buffer allocations in command stream
receiver reusable allocations list per command queue initialized.
This should limit additional allocations during hot loop.
Needs to be enabled in subsequent commits by setting product helper
method.
Related-To: NEO-8152
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-10-27 16:56:29 +02:00
Mateusz Jablonski
f9f5377218
test: remove gmock from metrics ult
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-27 09:38:23 +02:00
Mateusz Hoppe
5d572b9c8f
feature: allow freeing memory in aubstream
...
Related-To: NEO-2707
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-10-26 17:16:23 +02:00
Compute-Runtime-Validation
fca2159430
Revert "fix: if device hierarchy is flat then getSubDevicesCount return 1u"
...
This reverts commit cb0bb57f49 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-26 15:40:29 +02:00
Mateusz Hoppe
40392b33f4
refactor: cleanup - remove not used code from Program
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-10-26 15:21:17 +02:00
Zbigniew Zdanowicz
8a07380548
refactor: remove redundant method
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-10-25 18:02:16 +02:00
Jablonski, Mateusz
8b682a6bcb
fix: fix compilation error in clang on Windows (3/n)
...
Related-To: NEO-9248
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2023-10-25 17:38:56 +02:00
Baj, Tomasz
cb0bb57f49
fix: if device hierarchy is flat then getSubDevicesCount return 1u
...
Related-To: NEO-9167
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2023-10-25 15:51:52 +02:00
Mateusz Jablonski
7e7eea9995
fix: calculate event timestamps based on submit time and host time diff
...
Related-To: HSD-18034426016, HSD-18034426678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-25 12:24:40 +02:00