Zbigniew Zdanowicz
0628d97ee1
feature: update processing kernel residency
...
- save position of kernel internal container when allocation can change
- reuse the same position when new allocation arrives
- add index container for additional allocation of image argument
- save position of additional allocation of image argument
- reuse position when for new image argument
Related-To: NEO-11719
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-09-09 14:10:02 +02:00
Skobejko, Milosz
e79c60a965
refactor: add_subdirectories in cmake file
...
Signed-off-by: Milosz Skobejko <milosz.skobejko@intel.com >
2024-07-12 16:46:30 +02:00
Mateusz Hoppe
19b6f5a258
refactor: remove unused file
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-10 15:21:18 +02:00
Mrozek, Michal
38d7e02c28
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-05-29 13:24:02 +02:00
Kamil Kopryk
101c914b1f
test: add missing ult for checking patch address in heapless mode OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-05-20 17:10:16 +02:00
Dominik Dabek
2b964254d6
performance: debug key for adjust ULLS on battery
...
ULLS controller timeout settings will be adjusted based on ac line
status and lowest queue throttle from submissions.
Lowest queue throttle is reset when controller stops ULLS.
Related-To: NEO-10800
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-03-22 14:24:00 +01:00
Brandon Yates
d3baab00db
feature: Register resources for Xe at vm creation (1/x)
...
Add interfaces to IoctlHelperXe for registering resources.
Introduce new debug key EnableXeResourceRegistration to attach
resources to vm_create ioctl.
Related-to: NEO-9161
Signed-off-by: Brandon Yatse <brandon.yates@intel.com >
2024-01-11 08:15:50 +01:00
Compute-Runtime-Validation
46d860b2bf
Revert "feature: Register resources for Xe at vm creation (1/x)"
...
This reverts commit e1fefd1974 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-09 11:36:00 +01:00
Brandon Yates
e1fefd1974
feature: Register resources for Xe at vm creation (1/x)
...
Add interfaces to IoctlHelperXe for registering resources.
Introduce new debug key EnableXeResourceRegistration to attach
resources to vm_create ioctl.
Related-to: NEO-9161
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2024-01-08 13:36:24 +01:00
Maciej Plewka
3970f1bc4c
fix: create hwQueue when reinitialize osContext
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
Related-To: NEO-9877
2024-01-04 12:46:36 +01:00
Dominik Dabek
2fe3804cc2
performance(ocl): add usm allocation pooling flag
...
EnableDeviceUsmAllocationPool and EnableHostUsmAllocationPool for device
and host allocations respectively.
Pool size will be set to flag value * MB.
Allocation size threshold to be pooled is 1MB.
Pools are created per context.
Related-To: NEO-9700
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-12-27 11:42:01 +01:00
Fabian Zwolinski
06ec4c3a82
fix: aub residency in HW+AUB mode
...
Related-To: NEO-9230
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-11-29 11:54:59 +01:00
Maciej Plewka
560b588cbe
fix: Update residency fence value after ring buffer switch
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-11-17 20:46:14 +01:00
Zbigniew Zdanowicz
0b7e6d90a3
refactor: add ail context sync flag
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-10-15 15:10:13 +02:00
Maciej Plewka
beb30f8ff0
test: Add mock release helper
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-09-20 14:39:15 +02:00
Dunajski, Bartosz
7562842a58
refactor: remove LogicalStateHelper
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-09-13 10:29:53 +02:00
Fabian Zwolinski
6fca8ee195
refactor: Remove SourceLevelDebugger
...
Removed:
- SourceLevelDebugger (with tests)
- DebuggerLibrary
- DebuggerLibraryRestore
- debuggerSupported field from hwInfo.capabilityTable
- HasSourceLevelDebuggerSupport matcher
- ExperimentalEnableSourceLevelDebugger debug var
- EnableMockSourceLevelDebugger debug var
- DebuggerOptDisable debug var
- lib_names.h.in file
- third_party/source_level_debugger/igfx_debug_interchange_types.h
Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-08-10 11:14:02 +02:00
Maciej Plewka
4b6194cf0c
fix: Use Gmm to map virtual gpu addresses
...
Related-To: NEO-5842, NEO-7946
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-05-25 15:49:05 +02:00
Mateusz Jablonski
e4a446df58
feature usm: add debug flag to allocate shared USM in heap extended
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-13 11:30:09 +02:00
Compute-Runtime-Validation
b11a64718a
Revert "feature usm: allocate shared USM in heap extended"
...
This reverts commit 03ed1e1e12 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-30 11:39:59 +02:00
Mateusz Jablonski
03ed1e1e12
feature usm: allocate shared USM in heap extended
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-29 16:04:05 +02:00
Mateusz Hoppe
0204761add
feature: gpu assert implementation
...
- allocate assert buffer when kernel has assert
- track assert kernels in cmdlists and cmdqueues
- check and print assert at sync calls: cmdqueue synchronize(), fence
synchronize(), event hostSynchronize(), synchronous imm cmdlists
append()
Related-To: NEO-5753
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 19:22:09 +01:00
Kamil Kopryk
6bd69fd91d
refactor: rename mock product helper files
...
Related-To: NEO-7703
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-09 18:49:36 +01:00
Cencelewska, Katarzyna
c274309d7b
wa: add dummy blits before command MI_FLUSH_DW
...
to guarantee that all subblt got complete for previous copy
affect xe hpg
temporary changes under flag ForceDummyBlitWa
Related-To: NEO-7450
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-09 10:40:35 +01:00
Mateusz Jablonski
8194543ae5
refactor raytracing: unify RT programming logic
...
reuse EncodeEnableRayTracing in CommandStreamReceiver
add method to determine need for 48b resource flag for RT allocations
Related-To: NEO-7606
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-07 11:51:58 +01:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 19:37:51 +01:00
Mateusz Jablonski
b4375dde25
test: move windows specific tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-20 11:35:50 +01:00
Kamil Diedrich
1c9f17844b
Add wddm ult for wsl build [2/n]
...
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-12-07 14:42:49 +01:00
Kamil Diedrich
6f14e8414e
Add wddm ult for Linux build [1/n]
...
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-11-25 12:01:42 +01:00
Mateusz Jablonski
59b3d3fbea
Move code from header files to cpp files
...
Moved code from:
- shared/test/common/mocks/mock_execution_environment.h
- shared/test/common/fixtures/mock_aub_center_fixture.h
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-16 15:06:07 +01:00
Baj, Tomasz
0eab93501c
Add cl_cache mechanism to ocloc
...
Related-To: NEO-6476
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-09-30 12:03:02 +02:00
Warchulski, Jaroslaw
260a324a6f
Move files between shared/test/common and /unit_test (xe_*_core, page_fault...)
...
common/xe_hpc_core/test_preemption_xe_hpc_core -> unit_test/xe_hpc_core
common/xe_hpg_core/excludes_xe_hpg_core -> unit_test/xe_hpg_core
common/xe_hpg_core/dg2/excludes_dg2 -> unit_test/xe_hpg_core/dg2
common/xe_hpg_core/test_preemption_xe_hpg_core -> unit_test/xe_hpg_core
unit_test/base_ult_config_listener.cpp -> common
unit_test/base_ult_config_listener.h -> common
unit_test/test_stats.h -> common
unit_test/test_configuration.h -> common
unit_test/page_fault_manager/cpu_page_fault_manager_tests.h -> common/fixtures
unit_test/page_fault_manager/mock_cpu_page_fault_manager.h -> common/mocks
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-17 16:17:00 +02:00
Kacper Nowak
497e5a4765
Zebin: Create mock zebin module for L0 common test module
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-08-17 15:12:49 +02:00
Warchulski, Jaroslaw
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
Warchulski, Jaroslaw
54dc2f2000
CMake: don't include shared/test/unit_test when shared tests are skipped 2/n
...
Related-To: NEO-6524
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-08-10 11:19:08 +02:00
davidoli
d7c43d022a
Improve GtPin init error status reporting
...
Related-To: LOCI-1286
Signed-off-by: davidoli <david.olien@intel.com >
2022-08-05 04:18:07 +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
Bartosz Dunajski
ba156c7eaa
Add writeStreamInline at the end of flushTask
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-06-15 12:34:51 +02:00
Daniel Chabrowski
6e3d373ef6
Move tests to shared
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-06-13 13:05:46 +02:00
Yates, Brandon
adc51c1b47
Set context debuggable when debugging is enabled
...
Related-to: NEO-6896
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-05-24 16:45:32 +02:00
Mateusz Jablonski
f8983a8ecf
test: Move linux specific tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-23 19:21:50 +02:00
Mateusz Jablonski
268393d776
Create wrapper for drm_i915_gem_exec_object2
...
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-05-12 13:14:27 +02:00
Zbigniew Zdanowicz
a54c947866
test: create dedicated mock object for timestamp packet
...
Related-To: NEO-6871
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-04-13 14:56:36 +02:00
Compute-Runtime-Validation
41c51df086
Revert "Recycle old command buffers of immediate command lists"
...
This reverts commit 8f93f4f3ec .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-10 09:12:47 +01:00
Zbigniew Zdanowicz
8f93f4f3ec
Recycle old command buffers of immediate command lists
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-08 14:59:26 +01:00
Patryk Wrobel
498cf5e871
Implement GPU hang detection
...
This change uses DRM_IOCTL_I915_GET_RESET_STATS to detect
GPU hangs. When such situation is encountered, then
zeCommandQueueSynchronize returns ZE_RESULT_ERROR_DEVICE_LOST.
Related-To: NEO-5313
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-01-31 13:48:17 +01:00
Zbigniew Zdanowicz
0cbc320e57
Move memory fixtures to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-03 16:47:02 +01:00
Fabian Zwolinski
76565529f6
Remove GMock: GMockProgram, MockDispatchKernelEncoder, GMockSourceLevelDebugger
...
New name for mock class:
GMockProgram -> MockProgramAppendKernelDebugOptions
Also GMockSourceLevelDebugger class body has been merged with
MockSourceLevelDebugger.
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2021-12-28 12:58:31 +01:00
Zbigniew Zdanowicz
4176cac845
Move shared mocks to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-21 13:26:59 +01:00
Zbigniew Zdanowicz
7680331b4a
Move shared object mocks to shared directory
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-20 18:48:37 +01:00