Kamil Kopryk
468d722efb
Move clGfxCoreHelper ownership to rootDeviceEnv
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-05 12:58:38 +01:00
Kamil Kopryk
28f2ebdd9f
Refactor: dont use global gfxCoreHelper getter in ocl files 5/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-02 08:32:18 +01:00
Kamil Kopryk
0b2faaa957
Refactor: dont use global gfxCoreHelper getter in ocl files 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-30 11:28:22 +01:00
Kamil Kopryk
31bb84acd9
Refactor: dont use global gfxCoreHelper getter in ocl files 2/n
...
Realated-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-22 11:31:01 +01:00
Kamil Kopryk
03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-09 10:29:06 +01:00
Warchulski, Jaroslaw
c10aa90815
Cleanup includes 11
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-12-06 12:25:30 +01:00
Maciej Plewka
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
Kamil Kopryk
4aee34702e
Move HwInfoConfig & HwHelper ownership to RootDeviceEnvironment
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Use RootDeviceEnvironment getHelper<ProductHelper> for
- configureHwInfoWddm
- configureHwInfoDrm
Use RootDeviceEnvironment getHelper<CoreHelper> for
- getMaxNumSamplers
- adjustDefaultEngineType
2022-11-17 17:05:25 +01:00
Mateusz Jablonski
cfe51ff2ba
Remove not used isSimulation functions
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-09-20 11:01:55 +02:00
Artur Harasimiuk
6118e41741
do not load FCL in Level Zero runtime
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-08-31 13:51:23 +02:00
Dunajski, Bartosz
1a28c2a154
Add threads count queries
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-24 13:18:20 +02:00
Mateusz Jablonski
bca852617c
Remove usage of TestLegacy from opencl tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-16 22:16:48 +02:00
Mateusz Jablonski
e6fc458d4b
Add a struct for test fixtures with correct method naming convention
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-11 12:55:52 +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
Artur Harasimiuk
4bdd8860a1
test.h refactor
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-04 18:20:07 +02:00
Naklicki, Mateusz
fd867c1621
Update OCL headers
...
Update headers to the OpenCL-Headers-2022.05.18 release:
https://github.com/KhronosGroup/OpenCL-Headers/releases/tag/v2022.05.18
Related-to: NEO-7102
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-06-23 17:07:16 +02:00
Krzysztof Gibala
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
Artur Harasimiuk
e9be9b64c6
clang-tidy configuration cleanup
...
Define single .clang-tidy configuration with all used checks and use
NOLINT to selectively silence tool. That way cleanup should be easier.
third_part/ has its own configuration that disables clang-tidy for this
folder.
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-11 14:02:04 +02:00
Filip Hazubski
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
Compute-Runtime-Validation
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
Filip Hazubski
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
Katarzyna Cencelewska
73f8d9e3ed
Remove device enqueue part 14
...
- rename not proper structs
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-31 17:46:57 +01:00
Compute-Runtime-Validation
26d10eb985
Revert "Remove device enqueue part 13"
...
This reverts commit 0ec6deddf1
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-30 15:52:24 +01:00
Katarzyna Cencelewska
0ec6deddf1
Remove device enqueue part 13
...
- update isOcl21Conformant, supportsOcl21, REQUIRE_OCL_21_OR_SKIP
(remove deviceEnqueueSupport check)
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-28 15:33:51 +01:00
Katarzyna Cencelewska
58055aecdf
Remove device enqueue part 12
...
remove:
- debug flag ForceDeviceEnqueueSupport
- functions isDeviceEnqueueSupported, supportsDeviceEnqueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-28 13:38:34 +01:00
Zbigniew Zdanowicz
4238679078
Refactor implicit scaling device support
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-18 13:08:43 +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
Mateusz Jablonski
e4bbed49d0
Use full path to include test.h 1/n
...
fix files in opencl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-15 12:34:34 +01:00
Filip Hazubski
64aec8dc4e
Rename functions
...
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-13 14:27:02 +01:00
Jim Snow
2dfb7df63b
Add RTDispatchGlobals allocation for ray tracing
...
If a kernel has ray tracing calls, we allocate and initialize
per-device RTDispatchGlobals if needed, and hand off pointer to
the same into a running kernel via an implicit parameter.
Related-To: NEO-5384
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2021-12-08 09:44:13 +01:00
Filip Hazubski
2098b0c3fa
Refactor Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Ensure correct device is used when verifying engine groups.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-06 18:27:31 +01:00
Lukasz Jobczyk
c455c0f9c6
Remove "Update Device::engineGroups"
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-12-03 10:16:40 +01:00
Filip Hazubski
4461b8ea3f
Refactor: Update Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-12-02 15:10:22 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Mateusz Jablonski
fbf1f367f4
Dont create blitter engine when blitter support is disabled
...
Related-To: NEO-6325
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-11-05 11:07:07 +01:00
Mateusz Jablonski
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-12 21:46:53 +02:00
Katarzyna Cencelewska
a157963e79
Fix problem with compression hang on gen12lp
...
add creating of pageTableManager for non regular engins
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-10-06 17:02:08 +02:00
Artur Harasimiuk
9bea74a780
move mock_memory_manager to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-05 16:22:38 +02:00
Katarzyna Cencelewska
30b3f5cdb0
Move PageTableManager from rootDeviceEnvironment to CommandStreamReceiver
...
Also add init of pageTable registers to blitter path
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2021-09-30 12:59:11 +02:00
Bartosz Dunajski
7f3b90b07f
Enable Engine Instanced SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-29 12:01:34 +02:00
Adam Cetnerowski
8502e72c0f
Code improvement
...
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-09-17 08:57:33 +02:00
Maciej Dziuban
eace896ec8
Change order of command queue groups
...
Resolves: NEO-6257
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-09-16 17:39:52 +02:00
Bartosz Dunajski
0345d9f707
Improve queries with number of SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-09-01 14:01:57 +02:00
Filip Hazubski
63f8c9d98b
Add new EngineUsage
...
Simplify verifying EngineUsage in tryGetEngine function.
Remove unused getGpgpuEnginesCount function.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-23 17:41:13 +02:00
Filip Hazubski
84da4648cd
Refactor engineGroups container
...
Use static array instead of the vector.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-19 13:49:32 +02:00
Bartosz Dunajski
5c7955b1d0
Update getInternalEngine() implementation and remove unused method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-03 21:25:33 +02:00
Piotr Obst
acf3e58a64
Move wddm_fixture.h and releted files from opencl to shared
...
Related-To: NEO-5894
Signed-off-by: Piotr Obst <piotr.obst@intel.com>
2021-07-07 12:30:12 +02:00
Jim Snow
2acc0fb3f6
Add memory backed buffer allocation for L0 ray tracing.
...
This allocates the buffer on a per-device basis and enables ray
tracing on devices that support it when given a kernel with ray
tracing calls.
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2021-07-02 11:56:18 +02:00
Kamil Kopryk
9372360efd
Rename getEnginesCount() -> getGpgpuEnginesCount()
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-06-28 17:19:28 +02:00
Bartosz Dunajski
afd5f766c2
HwHelper: update getSubDevicesCount and getEnginesCount implementation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-28 15:14:30 +02:00