c322bc3578
Revert "fix(ocl zebin): do not expose functions as kernel"
...
This reverts commit 359b9278b8
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-29 13:51:50 +01:00
4b42b066f8
Use dedicated using type for TaskCount
...
Related-To: NEO-7155
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-28 16:44:44 +01:00
359b9278b8
fix(ocl zebin): do not expose functions as kernel
...
Do not expose dummy kernel containing functions' ISAs as kernels.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-28 14:29:32 +01:00
f19abda0e2
Set root device index in OsContext
...
- correclty choose default engine context accounting for root device
index and subdevices bitfield
Related-To: NEO-7516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-16 23:02:19 +01:00
4aa1697e3c
Move hwInfoConfig ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ProductHelper> for
- adjustSamplerState
- adjustPlatformForProductFamily.
2022-11-14 13:04:31 +01:00
78d75dee0f
Use mock in KernelArgInfoTest
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-04 14:09:47 +01:00
52b1d92193
Mock debug program instead of using binaries
...
Removes usage of precompiled binaries in debug program tests.
Related-To: NEO-7383
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:50:42 +01:00
69bef975f0
OCL cache per thread data
...
Add caching mechanism for local ids in OCL.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:07:29 +01:00
ff01b9361e
Return error code when there is no space for scratch/private
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-02 11:55:18 +01:00
e151bc6e2d
[OCL] Flag for allocating small buffers from pool
...
Improves performance in workloads that create small opencl buffers.
To enable, set env var ExperimentalSmallBufferPoolAllocator=1
Known issues (will be addressed in further commits):
- cannot create subBuffer from such buffer
- pool buffer allocation should be reused
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-10-14 12:18:42 +02:00
1fedaee18c
Wait on timestamps in Event::wait
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-10 13:04:21 +02:00
73a58aaf9e
feat(zebin): inline sampler
...
Add support for inline samplers in zebin.
Generate required SAMPLER_STATEs in DSH.
Resolves: NEO-7388
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-10 12:47:19 +02:00
1c73031a9b
Revert "Wait on timestamps in Event::wait"
...
This reverts commit f91047f2ee
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-08 06:17:33 +02:00
f91047f2ee
Wait on timestamps in Event::wait
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-07 12:04:45 +02:00
23eff82d0a
OCL: optimize creating printf buffer
...
Dont create printf buffer when kernel doesnt require it
Related-To: HSD-18023825570
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-30 12:25:57 +02:00
b2001bf265
L0: GRF mode debug flags support
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-22 15:27:31 +02:00
6b3ac9f1e2
refactor ocl patchtokens tests
...
Related-To: NEO-7131
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-19 17:46:02 +02:00
0192e8038f
Check for GPU hang in path with wait for timestamps
...
Related-To: NEO-6868
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-09-19 15:01:46 +02:00
6ad16c9e72
Missing support for OCL debugging with L0
...
- make resident debugSurface
- allocate debugSurface with correct allocation type and size
- notify cmdQ create/destroy
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-09-07 13:30:05 +02:00
572fc24cf5
Revert "Wait on timestamps in Event::wait"
...
This reverts commit 5d4aca361f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-02 02:43:20 +02:00
c3f7e40a8d
Rename special pipeline select mode to systolic
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-08-31 22:16:26 +02:00
5d4aca361f
Wait on timestamps in Event::wait
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-08-31 12:57:27 +02:00
18adbed233
feat(zebin): add thread scheduling mode support
...
Resolves: NEO-7197
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-08-18 16:10:18 +02:00
aed890a219
Move files between shared/test/unit_test and /common (fixtures, helpers, mocks)
...
unit_test/fixtures/mock_aub_center_fixture.h -> common/fixtures
unit_test/helpers/raii_hw_helper.h -> common/helpers
unit_test/helpers/static_size3.h -> common/helpers
unit_test/helpers/ult_limits.h -> common/helpers
unit_test/memory_manager/mock_prefetch_manager.h -> common/memory_manager
common/mocks/mock_aub_stream.h -> unit_test/mocks
common/mocks/mock_csr_simulated_common_hw.h -> unit_test/mocks
common/mocks/mock_direct_submission_diagnostic_collector.h -> unit_test/mocks
common/mocks/mock_lrca_helper.h -> unit_test/mocks
common/mocks/mock_tbx_stream.h -> unit_test/mocks
common/mocks/linux/mock_os_context_linux.h -> unit_test/mocks/linux
common/mocks/windows/mock_wddm_direct_submission.h -> unit_test/mocks/windows
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-11 12:53:19 +02:00
b38c750cc4
Revert "Add finish before command queue is released"
...
This reverts commit 50fae92ea2
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-08-05 19:25:23 +02:00
61510e9a92
Revert optimization of gpgpu csr's mutex lock in the enqueue blit
...
optimization available under flag
ForceCsrLockInBcsEnqueueOnlyForGpgpuSubmission
Related-To: NEO-7011
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-08-04 16:42:50 +02:00
50fae92ea2
Add finish before command queue is released
...
Related-To: NEO-5279
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-07-20 12:16:27 +02:00
52b00a11b0
Remove LSH from CommandQueue
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-07-19 08:47:02 +02:00
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
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
2cc2d05c37
remove unused include
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-06-28 10:59:30 +02:00
6ab6e1abff
Fix mutex order for event task and move args to gpu
...
This commit fixes problem with untransfered shared usm memory to gpu
when there is submit to gpu trigerred by user event. Also there is a fix
for dead lock problem caused by mixed orders of locking mutexes in csr
and in direct submission controller.
Related-To: NEO-6762
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-06-21 11:28:25 +02:00
939d109362
Add LogicalStateHelper class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-14 16:57:16 +02:00
c229ace4df
Adjust GmmHelper to be HW aware
...
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-06-13 18:33:06 +02:00
c303c218be
Add missing pragma once in header files
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-07 16:19:11 +02:00
83b84b3491
Enahnce kernel debug ULTs
...
Mock ProgramWithKernelDebugging ULTs.
This change is neccessary to ensure independence from binary format
after incoming switching to zebinary format.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
Related-To: NEO-6646
2022-06-01 17:33:13 +02:00
9b2ad0c5df
Detect GPU hangs in flushBcsTask()
...
This change introduces detection of GPU hangs in flushBcsTask()
function. The new code has been covered with ULTs.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-05-12 16:17:16 +02:00
6e8cabdce5
Split wait for timestamps to queue and event
...
On PVC both enabled.
On DG2 only for events.
Related-To: NEO-6948
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-05-06 15:34:47 +02:00
1088bfd837
Move shared ULT helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-05-06 09:20:27 +02:00
82d1962aba
Assign BCS at first blit enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-04 17:11:34 +02:00
a3fe50c2e4
Revert "Assign BCS at first blit enqueue"
...
This reverts commit 0469034acb
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-05-04 13:33:25 +02:00
0469034acb
Assign BCS at first blit enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-05-04 10:19:05 +02:00
73d3d83e60
Assign gpgpu engine at first enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-04-29 11:33:12 +02:00
9b778863b4
Store GmmHelper in Gmm class
...
Store GmmHelper in Gmm class instead of GmmClientContext
Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-04-27 15:45:49 +02:00
903cf766b3
Revert "Move shared helper files to shared directory"
...
This reverts commit 459524f129
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-27 13:12:16 +02:00
459524f129
Move shared helper files to shared directory
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-27 10:34:42 +02:00
e8e3355a93
Revert "Assign BCS at first blit enqueue"
...
This reverts commit 5f5a1a6f81
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-26 09:40:46 +02:00
5f5a1a6f81
Assign BCS at first blit enqueue
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-04-25 13:48:21 +02:00
6fdcb83020
Add missing tbx calls to timestamp wait logic
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-04-19 14:24:06 +02:00
8d1ad5a4f3
Refactor: use stack vector for root device indices
...
Stack vector will not cause dynamic allocations in most circumstances
ie. number of root device indices not more than 16
Related-To: NEO-6837
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-04-14 14:05:42 +02:00