Dominik Dabek
5899fc6bfb
Enable taskcount from wait on multi gpu envs
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-07-14 15:28:48 +02:00
Daniel Chabrowski
bdf0483068
Hide details of AllocationsList from header
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-07-14 12:19:19 +02:00
Kamil Kopryk
7c538b956a
Correct typo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-07-14 10:13:12 +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
Dominik Dabek
b225c63b9a
Fix: Disable timestamp from wait on multi gpu envs
...
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-07-13 13:33:29 +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
cameron
60c819bb72
Fix Memory leak in drm_memory_manager of OsHandleLinux
...
Add virtual deconstructor to OsHandle and deconstructor to OsHandleLinux
Add override keyword to destructor
Add overriding deconstructor to OsHandleWin
Add newline before private members
https://github.com/intel/compute-runtime/pull/550
Signed-off-by: Cameron S Murtagh <cameron.murtagh00@gmail.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-13 11:23:48 +02:00
Kacper Nowak
8a6d6dd449
Yaml parser: remove unnecessary container size manipulation
...
This commit removes unnecessary container size manipulation in yaml
parser. Space reservation is done by dedicated function
reserveBasedOnEstimates, so there is no need to manually resize the
container's size afterwards.
- Ensure that no invalidated iterators/references are used.
- Use push_back() instead of resize(...size()+1).
- Use reserveBasedOnEstimates() instead of reserve(...size()+1)
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-07-12 17:38:06 +02:00
Lukasz Jobczyk
e28015a844
Move ULLS resources to local memory on DG2
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-12 15:50:09 +02:00
Mateusz Hoppe
5a3a39a281
Experimental support for OCL debugging with L0
...
- initial changes
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-12 12:57:15 +02:00
Compute-Runtime-Validation
f53ae0a50e
Revert "Add debug flag for EOT WA"
...
This reverts commit cf3817e058 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-07-09 01:21:56 +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
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
Mateusz Jablonski
cf3817e058
Add debug flag for EOT WA
...
EOT WA requires allocating last 64KB of kernel heap and putting EOT
signature at the last 16 bytes of kernel heap
Related-To: NEO-7099
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-07-07 16:58:24 +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
Katarzyna Cencelewska
25ce4d0c04
Clean unused code
...
remove parts with device queue
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-07-07 14:52:26 +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
Daria Hinz
ea2edbef3d
Add ids command to ocloc
...
New command usage: ocloc ids <acronym>.
It will allow the user to query all matched
<major>.<minor>.<revision> for the specified acronym.
E.g.
ocloc ids dg1
Matched ids:
12.10.0
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7159
2022-07-07 11:18:36 +02:00
Daniel Chabrowski
d68dedba3b
Simplify ownership management of MockPerformanceCounters
...
Fixes clang-tidy warning about ignoring result of release()
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-07-07 10:42:29 +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
Lukasz Jobczyk
4676f2f023
Move command buffer to local memory on XE_HPG
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-06 18:18:27 +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
Milczarek, Slawomir
e768d0ed5e
Add regkey to enable support for concurrent access in usm capabilities
...
The new regkey is EnableUsmConcurrentAccessSupport that takes a bitmask
with usm capabilities to enable concurrent access for (bit0: host, bit1: device,
bit2: shared single-device, bit3: shared cross-device, bit4: shared system)
Related-To: NEO-6733
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-07-06 13:58:10 +02:00
Lukasz Jobczyk
880464da77
Apply additional synchronization WA to DG2 ULLS
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-06 13:37:56 +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
Daria Hinz
789dd1900e
Add -config flag to ocloc
...
Addition of a -config parameter that will allow
the user to set the number of EUs, slices etc.
Knowing these values during AOT can translate into performance.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-07-05 11:36:01 +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
Artur Harasimiuk
5327731f26
add missing include
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-05 08:39:20 +02:00
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-07-04 18:20:07 +02:00
Daria Hinz
c9246d085d
Support for AOT version in fat binary
...
AOT version (major.minor.revision) is one of
the supported variants for -device arg in ocloc.
In this change, version support has been added
when passing specific targets to -device using ",".
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-07-04 14:21:07 +02:00
Milczarek, Slawomir
6a9fcd38b1
Create KMD-migrated unified shared memory with multiple local memory regions
...
Remove the restriction on USM allocation created in a single local memory region
with latest KMD fix for cross tile migration thrashing b/t lmem (dii-3516)
Related-To: NEO-6909
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-07-04 13:33:23 +02:00
Kamil Kopryk
0b26ee3664
Add surface state programming for kernels with images and stateless buffers
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-07-04 12:24:11 +02:00
Szymon Morek
76e023b941
Link build option with L1 cache policy helper
...
Related-To: NEO-7003
Add L1CachePolicyHelper struct.
This struct is resposible for L1 cache policy
in build option, Surface State and stateless
caching. Currently default option for all
platforms is WBP (write by-pass)
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-07-04 11:49:55 +02:00
Bartosz Dunajski
76d905b1f2
Pass LogicalStateHelper to SBA helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-01 14:52:20 +02:00
Bartosz Dunajski
95d4ac7812
Capability to insert WA MMIO for BCS dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-01 11:53:53 +02:00
Lukasz Jobczyk
34a7059032
Avoid reading command buffer in flushed batched submissions
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-01 11:06:38 +02:00
Lukasz Jobczyk
cdd2cd7ac3
Revert "Bind virtual copy engines in optimal sequence"
...
This reverts commit b55bbd41931d71ca774d4ae776f6860185e332c9.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-01 10:17:12 +02:00
Mateusz Jablonski
7e144d73f6
Dont patch implicit args relocation to zero
...
IGC should set the value to zero by default
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-30 20:26:04 +02:00
Katarzyna Cencelewska
0d42fdf38c
Fix setting flag Cacheable in gmm resource params base on resource usage
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-06-30 19:37:21 +02:00
Artur Harasimiuk
c648a941ec
includes cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-30 16:09:09 +02:00
Artur Harasimiuk
2b9827ad7d
hw_cmds.h for XE refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-30 11:52:27 +02:00
Mateusz Jablonski
e88bad79a6
Dont pass drm to ioctl helper methods - use Ioctl Helper's member instead
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-30 11:11:12 +02:00
Artur Harasimiuk
0e65d3e667
hw_cmds.h usage refactor
...
create header with include for DEFAULT_PLATFORM what can be used in some
places
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-29 18:03:21 +02:00
Compute-Runtime-Validation
70b41cf3ce
Revert "Move semaphore to local memory on XE_HPG"
...
This reverts commit 94f3e54261 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-06-29 17:06:58 +02:00
Mateusz Jablonski
c9e2b4bc32
Pass Drm to ioctl helper ctor
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-29 15:47:01 +02:00
Bartosz Dunajski
aff0ea99a8
Enable signed/unsigned mismatch warning for MSVC
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-29 14:12:10 +02:00