Mateusz Hoppe
b11d7cd7b0
Add debug key for compiler internal options injection
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-23 15:41:11 +01:00
Lukasz Jobczyk
cc13d60f1d
Add debug key to print direct submission ring buffer
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-23 14:08:52 +01:00
Artur Harasimiuk
7eb5b6aa42
mock dlopen in tests to block unwanted interactions
...
- explicitly specify files allowed to dlopen()
- use underscore to prefix fake library name that we want dlopen to
return nullptr
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-23 12:55:48 +01:00
Grzegorz Choinski
2e68f0abbd
lint revision update
...
Related-To: NEO-6441
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2021-11-23 12:50:25 +01:00
Bartosz Dunajski
2d5eaf3cc1
Add xe_hpg ocl unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-23 08:16:19 +01:00
Zbigniew Zdanowicz
f56773d166
Setup partition registers once per context
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-22 22:41:09 +01:00
Milczarek, Slawomir
31b339b873
Use VM Bind immediate when page faults supported
...
Related-To: NEO-6355
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-22 18:11:18 +01:00
Jaroslaw Chodor
c4e802f01b
WSL - fixing resource cleanup on process shutdown
...
Resolves issues with coexistance of NEO L0 and NEO OCL libraries
within a single process running in WSL and using WDDM GPU PV
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-11-20 21:51:51 +01:00
Filip Hazubski
cd3930251e
Align sync buffer address to max atomic type size
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-11-19 17:18:03 +01:00
Bartosz Dunajski
c0d7be3902
Add debug flags
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-19 14:33:26 +01:00
Zbigniew Zdanowicz
7ea0a11c0a
Unify programming of partition registers
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-18 16:52:51 +01:00
Compute-Runtime-Validation
49d1e04800
Revert "Disable render compressed buffers on xehp"
...
This reverts commit 60787ef586 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-18 14:50:08 +01:00
Mateusz Jablonski
abb1f30cd0
Program implicit args only in case of stack calls or enabled debugger
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-18 14:33:11 +01:00
Zbigniew Zdanowicz
76b8f6296f
Move noop programming to dedicated encoder
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-18 10:28:56 +01:00
Kamil Kopryk
7b8820f23e
Simplify ults
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-11-17 14:46:08 +01:00
Kamil Kopryk
7bbb43a563
Move sharedSystemMemCapabilities to hwInfo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
2021-11-17 14:42:05 +01:00
Maciej Dziuban
457ef00abf
Reuse graphics allocations in svmMemcpy
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-17 14:03:05 +01:00
Milczarek, Slawomir
60787ef586
Disable render compressed buffers on xehp
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-17 13:09:59 +01:00
Zbigniew Zdanowicz
3b556a5e44
Add post sync capability to implicit scaling barrier
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-17 12:08:52 +01:00
Zbigniew Zdanowicz
4b2f301e52
update list of device ids
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-17 01:17:34 +01:00
Lukasz Jobczyk
d1a9b8e600
Fix task count update from wait on blitter direct submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-16 12:35:05 +01:00
Zbigniew Zdanowicz
f79de1de8d
Unify calculation of pipe control post sync address
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-16 11:16:46 +01:00
Bartosz Dunajski
5be5cc33ce
Update RayTracing helper values
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-16 10:43:43 +01:00
Szymon Morek
3cf2e2e395
Use drm tip kernel headers as default 2/2
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-11-15 17:16:54 +01:00
Maciej Plewka
74c2dcd27f
Skip device enqueue tests when it's not supported
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-11-15 16:41:01 +01:00
Lukasz Jobczyk
e8cc34d7b0
Add infrastructure to assign engine to command queue with round robin
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-15 13:13:40 +01:00
Maciej Plewka
bdf5a1c39c
Disable deviceEnqueue for BDW
...
Related-To: NEO-6378
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-11-15 12:49:59 +01:00
Milczarek, Slawomir
bc4c64b095
Add unit test for query page fault support
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-15 10:33:51 +01:00
Lukasz Jobczyk
60677e2f9a
Update latest flushed task count in CSR with AUB dump
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-12 13:01:23 +01:00
Mateusz Jablonski
d2a4af9d9d
CMake cleanup: move opencl logic to opencl folder
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-12 12:23:45 +01:00
Jaime Arteaga
aaa5e6d358
Disable default support for second level affinity mask
...
For now, it will stay enabled with debug key, to allow
customers easier transition to this model. This may be
reenabled by default after customers feel their code
is ready for it.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-11-11 23:35:18 +01:00
Maciej Dziuban
b8a03cdea1
Remove getAnyBcs() method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-10 18:55:37 +01:00
Zbigniew Zdanowicz
36fd163837
Refactor pipe control post sync operations
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-10 08:53:03 +01:00
Zbigniew Zdanowicz
61641bb70a
Add implicit barriers capability to opencl
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-10 08:19:50 +01:00
Compute-Runtime-Validation
908a7721b2
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 2fff0f9059 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-10 07:25:44 +01:00
Filip Hazubski
56c05a2f08
Update allocateGraphicsMemoryWithAlignment
...
Allocate Gmm object when the allocation uses compression.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-11-09 13:37:32 +01:00
Kamil Kopryk
78a350494b
Fix typo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-11-09 11:44:11 +01:00
Lukasz Jobczyk
2fff0f9059
Assign engine to command queue using round robin algorithm
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-09 11:05:16 +01:00
Milczarek, Slawomir
8cf3e8ca94
Improve control of explicit residency flag
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-11-09 10:54:00 +01:00
Mateusz Jablonski
3e5d68deab
CMake cleanup: define cmd prefix for ocloc in one place
...
rename cloc_cmd_prefix -> ocloc_cmd_prefix
rename __cloc__options -> __ocloc__options
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-09 10:46:01 +01:00
Mateusz Jablonski
c16eb0ff84
Correct getGpgpuEngineInstances function
...
dont expose bcs engine if blitter operations not supported
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-09 08:36:05 +01:00
Filip Hazubski
972d5eafcb
Split test file
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-11-08 17:42:39 +01:00
Lukasz Jobczyk
82a5614439
Refactor GL sharing debug flag
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-08 17:40:04 +01:00
Compute-Runtime-Validation
9058de77cc
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 1c68ac1cbc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-08 16:36:18 +01:00
Krystian Chmielewski
98eb086160
Don't generate local ids if not needed
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-11-08 13:10:00 +01:00
Maciej Dziuban
4c4b37f8d2
Implement BCS selection heuristic for OpenCL CommandQueue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-08 12:58:14 +01:00
Jitendra Sharma
1186c1aae3
zesSysmanDeviceReset: Reinitialize device after device reset
...
Before performing gpu device reset, first all level zero resources
and gpu device specific resources have to be cleaned up. Also as
after device reset, state of gpu device would be lost.
Hence after performing gpu device reset, level zero device have
to be reinitialized by querying gpu device again.
This change is aimed at reinitializing the level zero resources
after gpu device reset, so that user could continue using level zero
devices after device reset.
Related-To: LOCI-2627
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-11-07 23:43:48 +01:00
Krystian Chmielewski
06eaef0352
Zebin: Use strings section for printf
...
Resolves: NEO-6143
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-11-07 19:10:47 +01:00
Compute-Runtime-Validation
faea7915c2
Revert "Fail build program in shared system USM + statefull access case OCL"
...
This reverts commit 9dabc2db0c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-05 20:31:47 +01:00
Pawel Cieslak
a0243eb1bc
Correct prepare_test_kernels targets
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2021-11-05 17:07:51 +01:00