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
Dominik Dabek
39f0387ecc
Move tbx stream, tbx csr to shared
...
Related-To: NEO-5161
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>i
2021-05-31 14:35:32 +02:00
Kamil Kopryk
7fdab76d96
Code cleanup - constexpr for bitness ults
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-05-26 13:23:25 +02:00
Suldin, Egor
2b3b47b495
Add cl_khr_pci_bus_info extension
...
Signed-off-by: Egor Suldin <egor.suldin@intel.com>
https://github.com/intel/compute-runtime/pull/374
2021-05-20 14:51:33 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Maciej Dziuban
c0b1b79a8f
Add missing unit test
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-21 11:01:12 +02:00
Mateusz Jablonski
9a22d06efe
Store default engine index per root device
...
Resolves: NEO-5768
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-04-20 14:55:13 +02:00
Maciej Dziuban
927c097b0e
Correct default engine index in MemoryManager
...
Related-To: NEO-5610
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-04-19 16:20:33 +02:00
Maciej Dziuban
5318ff1872
Defer OsContext initialization
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-04-19 11:54:34 +02:00
Milczarek, Slawomir
9839b3049d
Move unit test helper to shared code
...
Related-To: NEO-5161
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-04-13 20:06:08 +02:00
Bartosz Dunajski
9cf7651643
Simplify Device classes
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-04-08 19:00:59 +02:00
Maciej Dziuban
3f5b9df122
Pass EngineUsage to getEngine
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-03-16 16:31:44 +01:00
Maciej Dziuban
eb34c42e02
Enable static partitioning by default
...
Related-To: NEO-5546
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-16 12:48:11 +01:00
Maciej Dziuban
f7d105f2e2
Create work partition allocation
...
Related-To: NEO-5546
Resolves: NEO-5561
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-02-17 15:28:42 +01:00
Lukasz Jobczyk
7c99739b89
Check if direct submission enable in OsContext
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-02-11 09:05:50 +01:00
Pawel Cieslak
8a700c5187
Move non-ult shared files to single directory
...
Add SKIP_SHARED_UNIT_TESTS flag
Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00
Maciej Dziuban
7adfc42b9b
OpenCL Queue Families extension 13/n
...
Do not allow cross queue events on DG1 blitter
Related-To: NEO-5120
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-01-28 16:19:09 +01:00
Maciej Dziuban
160e5ec112
OpenCL Queue Families extension 12/n
...
Fix engine selection for copy engines
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Relate-To: NEO-5120
2021-01-27 21:27:43 +01:00
Maciej Dziuban
681c6eeb38
OpenCL Queue Families extension 11/n
...
Check for support of cross queue events in enqueue calls
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2021-01-26 14:02:54 +01:00
Maciej Dziuban
ebbd042f1c
Add root CSR to engine groups
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2021-01-08 12:35:01 +01:00
Maciej Dziuban
60cb486086
OpenCL Queue Families extension 9/n
...
Disable capabilities for BCS
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-29 13:24:17 +01:00
Maciej Dziuban
384e47f438
OpenCL Queue Families extension 7/n
...
Update enum values to official ones
Delete redundant CL_DEVICE_NUM_QUEUE_FAMILIES_INTEL
Rename CL_QUEUE_CAPABILITY_ALL_INTEL to CL_QUEUE_DEFAULT_CAPABILITIES_INTEL
Add capabilities for cross queue events and single queue events
Add capabilities for buffer to image and image to buffer transfers
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-14 16:19:11 +01:00
Maciej Dziuban
2184ba7ec8
OpenCL Queue Families extension 2/n
...
Disable CL_QUEUE_CAPABILITY_KERNEL_INTEL capability for copy queues
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-11-25 11:26:06 +01:00
Maciej Dziuban
14f92cc7a1
OpenCL Queue Families extension 1/n
...
Basic implementation, some things will be tweaked in future commits
Related-To: NEO-5120
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-11-24 11:48:18 +01:00