Krystian Chmielewski
614928ed45
refactor(zebin): decouple zeInfo decoding
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2023-01-10 12:27:10 +01:00
Kamil Kopryk
60340734b7
refactor: don't use global GfxCoreHelper getter
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-10 08:00:56 +01:00
Warchulski, Jaroslaw
0dc5fb3e51
Cleanup includes 24
...
Cleaned up files:
opencl/source/mem_obj/image.h
opencl/source/platform/platform.h
shared/source/command_stream/preemption.h
shared/source/helpers/mt_helpers.h
shared/source/memory_manager/unified_memory_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-10 07:56:16 +01:00
Pawel Cieslak
6b34c429b4
build: set nofile limit to 65535 when building deb packages
...
fakeroot hangs when nofile limit is high: https://bugs.debian.org/920913
Related-To: NEO-7310
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-01-09 14:56:24 +01:00
ocldev
d6c9269dfe
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com>
2023-01-09 14:54:30 +01:00
Mateusz Hoppe
6d6491cd18
test: enhance zello_printf test
...
- add mode with multiple workgroup dispatch
- print expected output on validation failure
Related-To: NEO-7612
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-01-09 13:36:27 +01:00
Kamil Kopryk
f654481def
refactor: don't use global ProductHelper getter
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-09 12:56:51 +01:00
Krystian Chmielewski
525c535ba4
zebin: remove bti check for global base args
...
Remove validation of bti for "const_base", "global_base" arguments.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2023-01-09 12:48:07 +01:00
Mateusz Jablonski
1fd8b26499
refactor: rename IoctlHelper::get to IoctlHelper::getI915Helper
...
remove drm version parameter as i915 is always expected
Related-To: NEO-7578
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-09 12:32:45 +01:00
Warchulski, Jaroslaw
77b88f19a1
Cleanup includes 23
...
Cleaned up files:
opencl/source/execution_environment/cl_execution_environment.h
opencl/source/helpers/cl_validators.h
opencl/test/unit_test/mocks/mock_cl_device.h
opencl/test/unit_test/mocks/mock_context.h
shared/source/helpers/cache_policy.h
shared/source/image/image_surface_state.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-09 12:30:30 +01:00
Mateusz Jablonski
35b8fba1d8
feature: add cmake flag to detect Xe drm
...
This is a prework for optional integration with Xe driver
https://cgit.freedesktop.org/drm/drm-xe/commit/?h=drm-xe-next
Related-To: NEO-7578
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-09 09:42:37 +01:00
Jaime Arteaga
9cec84d3d4
refactor: Fix device desc stype in some ULTs
...
As well as remove some dead-code.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-01-06 05:16:48 +01:00
Aravind Gopalakrishnan
2c2b5c7281
Disable flush task for MTL
...
Related-To: LOCI-3839
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-01-05 23:11:16 +01:00
Warchulski, Jaroslaw
5eef40fedd
Cleanup includes 22
...
Cleaned up files:
opencl/source/built_ins/builtins_dispatch_builder.h
opencl/source/context/context.h
opencl/source/gtpin/gtpin_notify.h
opencl/source/kernel/kernel.h
opencl/source/kernel/multi_device_kernel.h
opencl/source/mem_obj/buffer.h
opencl/source/mem_obj/mem_obj.h
shared/source/built_ins/registry/built_ins_registry.h
shared/source/page_fault_manager/cpu_page_fault_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-05 16:59:01 +01:00
Kamil Kopryk
e23e354454
Move L0GfxCoreHelper ownership to rootDeviceEnvironment
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-05 16:55:58 +01:00
Kamil Kopryk
347cef9fcb
refactor: don't use global ProductHelper getter in ocl files 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-05 16:27:16 +01:00
Krystian Chmielewski
3731ee89d8
Do not enforce LWS in dec order when smaller than half simd
...
When generating work group sizes first try with enforcing decremental
order X >= Y >= Z if generated work group size X * Y * Z is smaller
than half the kernel's SIMD size then generate again without
enforcing decremental order.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2023-01-05 15:55:14 +01:00
Naklicki, Mateusz
48247cc42f
fix: PauseOnEnqueue for Immediate command lists on L0
...
Related-To: NEO-7560
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2023-01-05 15:50:45 +01:00
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
Mateusz Jablonski
5ff0ff0997
test: fix test for cross device bcs migration
...
stop using garbage memory
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-05 12:45:12 +01:00
Cencelewska, Katarzyna
19763db9a2
fix: Move setupHardwareInfo to avoid overwrriten values from blob
...
device setupHardwareInfo should be called before setupSystemInfo to not
override queried systemInfo values
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-01-05 11:37:13 +01:00
Mateusz Jablonski
43b790957d
style: format code using clang-format 15.0.6
...
Related-To: NEO-7500
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-05 10:33:47 +01:00
Krystian Chmielewski
a4794e432d
Set GMDID for every platform
...
This change is required to add new IntelGTNote -
NT_INTELGT_PRODUCT_CONFIG(5) - to zebin containing platform's GMDID.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2023-01-05 08:47:52 +01:00
Zhang, Winston
fbb24b71a2
Modify last of ERROR_UNKNOWN in core driver
...
Replaced all of ERROR_UNKNOWN and added debug messages where applicable
Related-To: NEO-74231
Signed-off-by: Zhang, Winston <winston.zhang@intel.com>
2023-01-05 08:36:08 +01:00
Aravind Gopalakrishnan
09a749d93d
Fix engine group order in ULT
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-01-05 03:35:00 +01:00
Jaime Arteaga
e3aa388b07
refactor: Set unified memory type on import functions
...
Related-To: LOCI-3771
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-01-05 00:23:41 +01:00
Mateusz Hoppe
ee499d689b
fix(zebin): fix module load/unload events while debugging
...
- do not trigger incorrect / spurious events from internal modules
for debugger
- do not register Elf for internal modules
Related-To: NEO-7605
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-01-04 19:12:30 +01:00
Compute-Runtime-Validation
af81c79076
Revert "Deferred deletion of allocations in main thread"
...
This reverts commit c268e30189
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-04 18:33:39 +01:00
Kamil Kopryk
0dbf92d401
Refactor: reduce global productHelper getter usage
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-04 16:35:20 +01:00
Lukasz Jobczyk
fca4fbb0c0
[PVC] Restore 2MB alignment for SVM_CPU allocations
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-01-04 16:21:44 +01:00
Artur Harasimiuk
db545cd771
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-01-04 16:00:19 +01:00
Warchulski, Jaroslaw
6fb68dd84b
Separation of MemoryAllocation from os_agnostic_memory_manager.h
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-04 15:09:36 +01:00
Kamil Diedrich
0265f1bd9a
Return proper external memory property
...
Return ZE_EXTERNAL_MEMORY_TYPE_FLAG_OPAQUE_WIN32
for images and USM device for Windows and
ZE_EXTERNAL_MEMORY_TYPE_FLAG_DMA_BUF for USM device for
Linux inside ze_device_external_memory_properties
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2023-01-04 14:33:19 +01:00
Mateusz Jablonski
4647180c76
refactor: remove platform type string
...
this property is no longer needed as we compile kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-04 13:48:16 +01:00
Pawel Cieslak
d80c1c004c
Update infra
...
Related-To: NEO-7544
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-01-04 11:53:19 +01:00
Compute-Runtime-Validation
5a6d358166
Revert "refactor: remove platform type string"
...
This reverts commit 58b443ecf1
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-04 11:08:51 +01:00
Warchulski, Jaroslaw
b7ee3486d9
Cleanup includes 21
...
Cleaned up files:
opencl/source/kernel/kernel.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-04 10:40:26 +01:00
Mateusz Jablonski
58b443ecf1
refactor: remove platform type string
...
this property is no longer needed as we compile kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-04 09:26:29 +01:00
Jaime Arteaga
fd16fee707
Fix: Remove allocation from sharedMakeResidentAllocations on free
...
If the shared allocation hasn't been removed up to this point,
then remove it when freeing the pointer.
No need to check if ptr is still in the map, as erase would
automatically return 0 if not found.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-01-03 22:06:08 +01:00
Fabian Zwoliński
2e2abf1b6e
Revert "Use cached group sizes in zeKernelSetGroupSize"
...
This reverts commit 7ec94c6aaa
.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-01-03 16:36:36 +01:00
Warchulski, Jaroslaw
d793f37dd8
Cleanup includes 20
...
Cleaned up files:
opencl/source/cl_device/cl_device.h
opencl/source/helpers/properties_helper.h
opencl/source/program/program.h
shared/source/device_binary_format/debug_zebin.h
shared/source/device_binary_format/elf/zebin_elf.h
shared/source/program/program_info.h
shared/source/utilities/heap_allocator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-03 14:42:08 +01:00
Milczarek, Slawomir
1e8169ca3d
Add bcs support for cross-device migrations of multi-graphics allocations
...
This commit adds a support for cross-device migration to bcs enqueue path
exercised for CL enqueue rea/write, map, unmap calls, controlled with
the regkey AllocateBuffersInLocalMemoryForMultiRootDeviceContexts.
Related-To: NEO-7092
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2023-01-03 14:09:07 +01:00
HeFan2017
c268e30189
Deferred deletion of allocations in main thread
...
Add a clearQueueTillFirstFailure interface to DeferredDeleter, which
iterates the queue from the front and delete the allocations in the
queue till a failure. It is called by defer deletion of allocations
occupied by mutliple contexts to unlock the execution in main thread
Related-To: NEO-7532
Signed-off-by: HeFan2017 <fan.f.he@intel.com>
2023-01-03 13:51:15 +01:00
Warchulski, Jaroslaw
a572f6ce95
Add missing include
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-03 11:52:59 +01:00
Mateusz Jablonski
e246e75b70
refactor: add method to get Compiler Product Helper from root device environment
...
Reduce usage of compiler product helper global getter
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-03 11:32:27 +01:00
Warchulski, Jaroslaw
0eac749fcc
Cleanup includes 19
...
Cleaned up files:
opencl/source/api/cl_types.h
shared/source/compiler_interface/external_functions.h
shared/source/compiler_interface/linker.h
shared/source/device_binary_format/elf/elf.h
shared/source/helpers/preamble.h
shared/source/memory_manager/definitions/storage_info.h
shared/source/memory_manager/memory_manager.h
shared/source/memory_manager/os_agnostic_memory_manager.h
shared/source/program/program_info.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-03 11:02:05 +01:00
Mateusz Jablonski
0770ea765f
refactor: Stop using global gfx core helper getter in shared
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-03 10:54:00 +01:00
Jaime Arteaga
1e9e877394
Style: Add 0x prefix to PrintUmdSharedMigration logs
...
This to align with format used on another tools, like onetrace.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-01-03 03:37:10 +01:00
Singh, Prasoon
93ca711d23
Adding debug logs in standby module
...
Related-To: LOCI-3471
Signed-off-by: Singh, Prasoon prasoon.singh@intel.com
2023-01-02 19:47:28 +01:00
Singh, Prasoon
6254dd057d
Enabled debug logs in frequency module
...
Related-To: LOCI-3471
Signed-off-by: Singh, Prasoon <prasoon.singh@intel.com>
2023-01-02 19:47:13 +01:00