Lukasz Jobczyk
5dd25d9e8c
Destroy multi graphics allocations synchronously
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-07-13 17:18:33 +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
Zbigniew Zdanowicz
e07f9f0698
Add kernel algorithm to check any argument is using system memory
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-12 13:08:49 +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
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
Zbigniew Zdanowicz
461a2eb8c7
Refactor interface to hardware interface
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-07-05 11:54:33 +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
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
Bartosz Dunajski
4fb4a1d77b
Add LogicalStateHelper getter for CommandQueue.
...
Refactor Kernel handling
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-04 13:21:15 +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
Filip Hazubski
de1c0b968a
Disable aub test for XE_HPC
...
Disable test GivenReserveMaxAddressThenExpectationsAreMet for XE_HPC.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-07-01 13:04:26 +02:00
Kamil Kopryk
1ef5161a54
Correct check if binding table prefetch is supported
...
Remove redundant resetBindingTablePrefetch function,
disable binding table prefetch on xe platforms in OCL.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-07-01 11:43:39 +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
Mateusz Jablonski
243895955f
ULT OpenCL: stop depending on IGC output in enqueue copy image tests
...
Related-To: NEO-7146
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-30 12:01:51 +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
Artur Harasimiuk
28edaa9a2d
cmake cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-30 10:54:21 +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
Naklicki, Mateusz
115761b4a5
Update private OpenCL extension
...
Related-to: NEO-7102
Signed-off-by: Naklicki, Mateusz mateusz.naklicki@intel.com
2022-06-29 15:34:33 +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
Bartosz Dunajski
f2bbd63d37
Refactor SBA handling + fix unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-29 13:27:57 +02:00
Mateusz Jablonski
8351fc9f14
CMake: correct ocloc tests runner to remove proper dir
...
Related-To: NEO-7126
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-29 11:38:56 +02:00
Artur Harasimiuk
a8e2bd3f98
hw_cmds.h usage cleanup
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-29 11:15:45 +02:00
Mateusz Jablonski
fffd56d7a6
refactor: bind drm context within IoctlHelper::createDrmContext method
...
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-29 10:47:52 +02:00
Kamil Kopryk
efa19a0b18
Simplify code - reverse helper function logic to avoid not needed negation
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-06-29 09:19:33 +02:00
Mateusz Jablonski
c90f3b3c93
Correct naming: SetUpImpl -> setUpImpl
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-06-28 17:59:37 +02:00
Kamil Kopryk
68d26470d7
Simplify code - buffer create 1/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-06-28 16:56:41 +02:00
Daniel Chabrowski
1083a0d0c4
Move more timestamp packet tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-28 15:04:54 +02:00
Wawiorko, Grzegorz
e500581da3
Update CL_DEVICE_LATEST_CONFORMANCE_VERSION_PASSED value
...
Signed-off-by: Wawiorko, Grzegorz <grzegorz.wawiorko@intel.com >
2022-06-28 12:00:18 +02:00
Compute-Runtime-Validation
b0d4215328
Revert "Use DualSubSliceCount to calculate workgroup size"
...
This reverts commit 8ea5bbd3b5 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-06-28 11:47:11 +02:00
Artur Harasimiuk
2cc2d05c37
remove unused include
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-28 10:59:30 +02:00
Artur Harasimiuk
0b43061819
remove unused includes
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-28 10:40:12 +02:00
Artur Harasimiuk
09d160910d
remove unused includes
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-27 22:59:18 +02:00
Artur Harasimiuk
a701e28ca5
DrmMM fixtures refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-27 22:50:56 +02:00
Bartosz Dunajski
2d976098f5
Use LogicalStateHelper to program FrontEndState
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-27 19:42:54 +02:00
Kamil Kopryk
47fa30b419
Simplify code - image create function
...
Reduce number of lines, reduce nested if statements
and others
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-06-27 17:46:03 +02:00
Bartosz Dunajski
6fc8047eb8
Add DG2 device ids
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-27 16:50:15 +02:00
Sebastian Luzynski
8ea5bbd3b5
Use DualSubSliceCount to calculate workgroup size
...
Related-To: NEO-5719
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2022-06-27 15:41:47 +02:00
Bartosz Dunajski
2c853adac3
Use LogicalStateHelper to program ComputeMode
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-27 15:25:55 +02:00