Commit Graph

4681 Commits

Author SHA1 Message Date
Pawel Cieslak
b8c5b15b65 ci: enable zello_world_gpu in testing
Related-To: NEO-9699
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-04-05 09:35:38 +02:00
Kacper Nowak
b8d19ccfb5 refactor: Move logic for querying maxMemoryFillPatternSize to product helper
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2024-04-05 09:35:01 +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
shubham kumar
ebf88c92ca feature(sysman): Add pmt support in windows
Related-To: NEO-8804

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-04 11:08:58 +02:00
Zbigniew Zdanowicz
73d558058c feature: add heapless and global stateless scratch address patching
Related-To: NEO-10381

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-03 17:04:35 +02:00
Bari, Pratik
6d7e3dc5a2 fix: Changes in the Device Reset Implementation
Prior to the return of object in use error, the device is bind and init
again

Related-To: NEO-10946

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2024-04-02 17:33:40 +02:00
Naklicki, Mateusz
5a9853c7d0 fix: properly initialize data for event packets
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-04-02 17:20:47 +02:00
Bartosz Dunajski
f0a24a650c feature: sync dispatch cleanup section
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-02 15:16:21 +02:00
Jitendra Sharma
27c3a4753d fix: Add missing methods in asyncThreadFunction
Add generateEventsAndResumeStoppedThreads() and sendInterrupts()
in asyncThreadFunction().

Related-To: NEO-11014
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-04-02 14:48:17 +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
Jitendra Sharma
8ef6cdbabd fix: Send module_load event after processing all events in vm_bind
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-04-02 11:17:58 +02:00
Bartosz Dunajski
50908a0809 feature: full sync dispatch mode initialization path
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-02 11:07:09 +02:00
shubham kumar
839a150288 feature(sysman): Add product helper support in windows
Related-To: NEO-10850

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-04-02 05:51:23 +02:00
Aravind Gopalakrishnan
1af48cec4e feature: Prepare ras for netlink interface
Related-To: NEO-8568

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2024-04-02 05:41:15 +02:00
Mateusz Jablonski
089927406b refactor: move iaf headers to separate folder
add documentation about sources of linux kernel headers

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-29 12:11:51 +01: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
Young Jin Yoon
d6a14d4ed5 feature: support explicit memory locking
Added lockMemory in context to explicitly locking memory,
Added a boolean flag in graphics_allocation to indicate the allocation
is locked, and modified memory_operations_handler to add lock().

Related-To: NEO-8277
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-03-29 07:31:22 +01:00
Wenju He
15420aa094 fix: fix image 1D/2DArray in appendImageCopyFromMemoryExt/ToMemoryExt
This fixes SYCL bindless image e2e test read_write_unsampled_array.cpp
when copy engine is used.

Related-To: GSD-4137
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-03-29 07:20:11 +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
Zbigniew Zdanowicz
94cf31033c refactor: change queue interfaces to provide different scratch controller
Related-To: NEO-10381

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-28 13:50:04 +01:00
Jitendra Sharma
96abe38c6d feature: Implement getElfSize and getElfData methods for XE eudebug
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-03-28 12:32:18 +01:00
Wenju He
b0b82171ab fix: fix potential integer overflow in CommandListCoreFamily getInputBufferSize
Related-To: GSD-4137
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-03-28 10:29:40 +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
0fbd2b51f5 feature: dont assign queue id for limited sync dispatch
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-27 15:46:26 +01:00
Bartosz Dunajski
6c7a568f64 feature: handle limited sync dispatch initialization
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-27 13:44:11 +01:00
Zbigniew Zdanowicz
3560e8a735 feature: use stateless only kernels in command lists of stateless mode
Related-To: NEO-10381

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-27 13:30:47 +01:00
Mateusz Jablonski
00aa0802dd build: add missing include
https://github.com/intel/compute-runtime/pull/715

Fixes: #715

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-27 13:11:34 +01:00
Mateusz Hoppe
a8fed83e6e test: disable testBindlessImageSampled in full run
in zello_bindless_kernel test

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-26 16:29:45 +01:00
Mateusz Jablonski
1f96e6e251 fix: update uapi headers version to 6.8.1
source of files: https://git.kernel.org/stable/h/v6.8.1

Related-To: NEO-10496
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-26 16:08:32 +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
Zbigniew Zdanowicz
00445d9285 feature: add debugger functionality to global stateless feature
Related-To: NEO-10381

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-26 14:11:41 +01:00
Bartosz Dunajski
74dcb5a9e3 feature: initial support for sync dispatch token allocation
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-26 12:07:58 +01:00
Wenju He
8acb4678fb feature: implement zeCommandListAppendImageCopyToMemoryExt/FromMemoryExt
This PR implements these two APIs defined in Level Zero spec.
They are required for SYCL bindless tests read_write_*D_subregion.cpp.

Related-To: GSD-4137
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-03-26 08:55:25 +01:00
Aravind Gopalakrishnan
af65721cde refactor: Add tlb flush before copy for regular command lists
Add tlb flush under debug key also for regular command lists

Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2024-03-26 07:03:28 +01:00
Bartosz Dunajski
1377437b3f fix: in-order compact events handling
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-26 00:15:53 +01:00
Bartosz Dunajski
97ce15614b feature: mechanism to assign sync queue id in ImplicitScaling mode
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-25 20:30:32 +01:00
Young Jin Yoon
068f6a25c6 Revert "feature: support explicit memory locking"
This reverts commit 27a3307bb0.

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-03-25 20:10:20 +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
Filip Hazubski
270e8af729 performance: pass extension function name by reference
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-03-25 10:17:08 +01:00
Young Jin Yoon
27a3307bb0 feature: support explicit memory locking
Added lockMemory in context to explicitly locking memory,
Added a boolean flag in graphics_allocation to indicate the allocation
is locked, and modified memory_operations_handler to add lock().
Change the logic to work correctly with makeResident() when lock() is
called previously for the same memory region

Related-To: NEO-8277
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2024-03-25 09:49:18 +01:00
Jitendra Sharma
f0bdd5765b refactor: share acknowledgeEvent code for I915 and XE
Also remove not needed resumeImp and interruptImp methods
from level_zero/tools/source/debug/linux/xe/debug_session.h
The correct implementation is in DebugSessionLinux and
the overrides in DebugSessionLinuxXe are not needed

Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-03-22 18:45:58 +01:00
Bartosz Dunajski
9aa81bae75 feature: initial support to enable synchronized dispatch
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-03-22 17:23:58 +01:00
Jitendra Sharma
b8c27ddb20 feature: Implement VM_BIND EU debug event for XE
Related-To: NEO-8407
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-03-22 15:02:49 +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
Brandon Yates
df54d67f40 feature: Implement SBA and module debug access for xe debugger
Reuse code from i915 implementation for accesing SBA, module debug,
and context save area

Related-to: NEO-9161

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-03-22 10:50:02 +01:00
Wenju He
c0f30bece4 refactor: remove redundant allocateBindlessSlot from Image getDeviceOffset
This is a NFC change.
Bindless slot is already allocated in image initialize function.

Related-To: NEO-10352
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-03-22 10:37:16 +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
Zbigniew Zdanowicz
bf7436c2a2 refactor: change interface in level zero hw helper methods
Related-To: NEO-10062

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-21 21:55:10 +01:00
Zbigniew Zdanowicz
b3be51fc35 refactor: add checker for stateless only kernels
Related-To: NEO-10381

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-03-21 21:54:55 +01:00