Commit Graph

4904 Commits

Author SHA1 Message Date
Bartosz Dunajski
e47b88f6e4 feature: program fence during bcs tag update
Related-To: NEO-10417

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-11 13:43:04 +02:00
Kamil Kopryk
cfc3b6a8c2 refactor: add heaplessModeEnabled argument to isHeaplessStateInitEnabled
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-11 10:08:10 +02:00
Filip Hazubski
62b0b5096e fix: Add RPL-S device id
Add device ID: 0xA78A

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-04-10 15:10:04 +02:00
Mateusz Jablonski
cb2b572e94 feature: add support for null aub mode
In this mode AUB csr will be created, however, no aub file will be created

Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-09 16:59:42 +02:00
Compute-Runtime-Validation
9568ee47e7 Revert "fix: remove compiler cache legacy implementation"
This reverts commit 864f42116c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-04-09 02:06:51 +02:00
Weronika Kapusta
864f42116c fix: remove compiler cache legacy implementation
Related-To: NEO-10679
Signed-off-by: Kapusta, Weronika <weronika.kapusta@intel.com>
2024-04-08 16:40:57 +02:00
Bartosz Dunajski
ef35c5cb62 feature: program device to host fence in ocl path
Related-To: NEO-10417

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-08 14:57:16 +02:00
Dominik Dabek
0d69dfe165 refactor: remove comment
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-04-08 11:43:19 +02:00
Bartosz Dunajski
a83f3f7bc1 refactor: multicontext aub fixture api agnostic + improve createModuleFromFile
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-04 15:50:40 +02:00
Kamil Kopryk
4eae28bd64 feature: introduce heapless state init in L0
Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-02 12:34:53 +02:00
Dominik Dabek
b109094e4b fix: move ulls controller stop thread
Move ulls controller thread stopping to execution environment
destructor. This removes the vptr race from ulls controller destructor.

Put tests that are actually running the ulls controller into multi thread
tests.

That way they are compiled with thread sanitizer and removes the
variable test time from traditional ULTS.

Related-To: NEO-10942

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-04-02 08:26:19 +02:00
Mateusz Hoppe
f86d4220a5 feature: add bindless samplers support to level zero
- samplers using bindless adressing require patching bindless offsets to
sampler states on kernel's cross thread data

Related-To: NEO-10505

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-29 08:07:28 +01:00
Kacper Nowak
35ca2bbea9 refactor: refactor logic for querying atomic FP capabilities
- Move logic from product helper to compiler product helper
- Add method for adjusting fp16 and extra capabilities using release
helper (if present).


Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2024-03-28 15:27:45 +01:00
Mateusz Jablonski
bcaa62bed3 build: refactor linux kernel headers
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-28 14:48:09 +01:00
Mateusz Jablonski
6095efa7d3 build: disable aub tests compilation by default
aub tests compilation can be enabled with cmake flag NEO_SKIP_AUB_TESTS=0
aub tests execution can be enabled with cmake flag NEO_SKIP_AUB_TEST_RUN=0
enabled aub tests execution forces compilation of aub tests targets

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-27 19:15:25 +01:00
Bartosz Dunajski
c3546f9e62 refactor: enable 64b mi_atomic operands and add cmp/wr operation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-27 18:56:40 +01:00
Lukasz Jobczyk
436579ca8c fix: Disable async release of buffers with external host ptr
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-03-27 15:07:14 +01:00
Compute-Runtime-Validation
707796a50d Revert "fix: Disable async release of buffers with external host ptr"
This reverts commit 9b715c3ffc.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-03-27 07:49:54 +01:00
Bartosz Dunajski
fce016ee7a refactor: add new semaphore param
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-26 15:46:47 +01:00
Mateusz Jablonski
78a4a92b44 refactor: reorder members to reduce internal padding in structs
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-25 15:50:00 +01:00
Lukasz Jobczyk
9b715c3ffc fix: Disable async release of buffers with external host ptr
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-03-25 12:55:57 +01:00
Filip Hazubski
07b9117b44 refactor: Explicitly delete copy c-tor and copy assignment of GlBuffer
Comply with the rule of three.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-03-25 10:55:02 +01:00
Compute-Runtime-Validation
e9b866ab11 Revert "fix: Disable async release of buffers with external host ptr"
This reverts commit 70a62d89e3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-03-23 11:49:42 +01:00
Lukasz Jobczyk
70a62d89e3 fix: Disable async release of buffers with external host ptr
Related-To: NEO-10036

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-03-22 18:11:27 +01:00
Mateusz Jablonski
d94be09020 refactor: remove not needed check for exec softpin
Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-22 17:30:49 +01:00
Dominik Dabek
2b964254d6 performance: debug key for adjust ULLS on battery
ULLS controller timeout settings will be adjusted based on ac line
status and lowest queue throttle from submissions.

Lowest queue throttle is reset when controller stops ULLS.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-03-22 14:24:00 +01:00
Katarzyna Cencelewska
da7b03dd15 fix: to always use grfs count in calculateNumThreadsPerThreadGroup
grf size != grf count

Related-To: GSD-8437
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-03-22 11:03:18 +01:00
Katarzyna Cencelewska
dd1d52259e refactor: add param rootDeviceEnvironment to calculateNumThreadsPerThreadGroup
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-03-21 22:25:14 +01:00
Aravind Gopalakrishnan
04b99de4d6 refactor: Force tlb flush during TC after copy
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-03-21 07:25:46 +01:00
Mateusz Hoppe
0cec5ccc32 fix: check if any of devices has BindlessHeapHelper enabled
- report Bindless_images extension in driver only when at least one
device has global bindless heaps enabled

Related-To: NEO-10352

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-20 20:50:58 +01:00
Wenju He
03078541d7 feature: make global bindless heaps resident when created
Make bindless heaps resident right after heap allocation.
Motivation is that SYCL bindless image can be passed as a value argument
or through memory. Therefore, we're not able to make its bindless heap
resident during kernel initialization or setting kernel arguments.

This fixes SYCL bindless image read_write_*D.cpp tests on DG2.

Related-To: NEO-7063
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-03-20 14:40:11 +01:00
Bartlomiej Wolny
7db5f6d5bf fix: add texture cache flush on image dtor
Related-To: NEO-9794
Signed-off-by: Bartlomiej Wolny <bartlomiej.wolny@intel.com>
2024-03-18 17:03:17 +01:00
Aleksander Czerwionka
f7342ff910 fix: Add additional ADL-N device ids
Related-To: NEO-10610

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2024-03-15 17:34:17 +01:00
Fabian Zwolinski
eb259c1f52 fix: set kernel LWS prior to obtaining indirect heaps
When calculating the size of the indirect object heap,
the local work group size from kernel implicit args is taken into account.
If the LWS is not set before this calculation,
it can lead to insufficient ioh allocation size.
Such a problem is seen when local ids are generated by the runtime
and then written to ioh. The write fails due to lack of space in the allocation.

Related-To: IGC-7708
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2024-03-14 10:38:46 +01:00
Ben Ashbaugh
e00230a6c2 fix: correctly report support for SPIR-V 1.0 through 1.3
Related-To: NEO-10336

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2024-03-12 17:54:09 +01:00
Kamil Kopryk
626b3846b0 refactor: change compute walker to defaultWalkerType
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-03-12 17:52:43 +01:00
Grzegorz Wawiorko
87f2357868 fix: Update CL_DEVICE_LATEST_CONFORMANCE_VERSION_PASSED value
Signed-off-by: Grzegorz Wawiorko <grzegorz.wawiorko@intel.com>
2024-03-12 08:42:21 +01:00
Dominik Dabek
4442a97696 test: disable buffer pooling in aub test
Disable buffer pooling in MultitileMulticontextTests

Related-To: NEO-10526

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-03-11 17:03:00 +01:00
Mrozek, Michal
f71f6d2b72 refactor: remove not needed code
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2024-03-08 18:18:55 +01:00
Mateusz Hoppe
9f701d204e test: remove unnecessary error output in ocloc ults
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-08 14:21:22 +01:00
Mateusz Hoppe
5e15543b14 test: improve unit tests - use virtual file system
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written

Related-To: NEO-7006

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-08 13:34:19 +01:00
Dominik Dabek
4af5851778 test: add missing compression flag
explicit test for xe hpc

add missing compression flag to compressed buffer performance hint test

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-03-08 12:51:17 +01:00
Kamil Kopryk
168445784e feature: introduce states programming at driver init heapless ocl
Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-03-08 12:29:44 +01:00
Lukasz Jobczyk
88a8bc8ac6 fix: Download BCS allocations when timestamps are completed
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-03-08 10:47:53 +01:00
Mrozek, Michal
10313b7b84 refactor: remove not needed code
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2024-03-07 18:50:16 +01:00
Filip Hazubski
336a2c45ac test: Correct logic in MulticontextAubFixture
Ensure that device with CSR_AUB is created
after the aub name override is properly initialized.

For devices with RCS disabled and single CCS enabled,
allow dual context cases to utilize the same CCS engine twice.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-03-07 13:23:11 +01:00
Maciej Plewka
26abb4a1fa refactor: Modify cl_gl_private header to be sherable with OGL
Related-To: NEO-9151

With this change OpenGL should be able to use
cl_gl_private_intel_structures.h header
directly from openCL repository.

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-03-07 12:19:30 +01:00
Kamil Kopryk
6ac90f76c5 test: disable test temporarily
Related-To: NEO-10637
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-03-07 07:50:37 +01:00
Michal Mrozek
660539fe4e refactor: remove not needed code.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-03-06 20:13:57 +01:00
Maciej Plewka
f0281202bf feature: Signal to OGL creating/destroying shared buffer
Related-To: NEO-9151
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-03-06 16:28:28 +01:00