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
Lukasz Jobczyk
6255361fcf
Revert "[PVC] Remove tlb flush from CCS"
...
This reverts commit e711aa9bc7 .
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-02 16:44:48 +01:00
Kamil Kopryk
aec6a42d69
Refactor: don't use global ProductHelper getter in shared files 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 15:42:44 +01:00
Pawel Cieslak
173f12d940
Update infra
...
Related-To: NEO-7544
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2023-01-02 14:41:22 +01:00
Mateusz Jablonski
575f0f8b92
refactor: Stop using global gfx core helper getter in L0
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-02 14:15:53 +01:00
Kamil Kopryk
2eaae763bc
Refactor: don't use global ProductHelper getter in shared files 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 14:06:50 +01:00
Compute-Runtime-Validation
6d2c6df994
Revert "ocl(feature): dg2, enable buffer pool allocator"
...
This reverts commit 20ccf3063b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-02 13:55:04 +01:00
Mateusz Jablonski
18eb3c27c8
refactor: Stop using global gfx core helper getter in OCL
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-02 13:46:50 +01:00
Warchulski, Jaroslaw
a2fe929f0c
Cleanup includes 18
...
Cleaned up files:
shared/source/command_stream/command_stream_receiver_hw.h
shared/source/compiler_interface/compiler_interface.h
shared/source/direct_submission/direct_submission_hw.h
shared/source/helpers/dirty_state_helpers.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-02 13:28:29 +01:00
Kamil Kopryk
98e0557a4c
Don't use global getter for L0GfxCoreHelper and GfxCoreHelper in L0 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 11:55:14 +01:00
Warchulski, Jaroslaw
7ae44268cb
Cleanup includes 17
...
Cleaned up files:
shared/source/built_ins/sip.h
shared/source/compiler_interface/compiler_cache.h
shared/source/compiler_interface/compiler_interface.h
shared/source/device_binary_format/device_binary_formats.h
shared/source/helpers/timestamp_packet.h
shared/source/kernel/debug_data.h
shared/source/utilities/tag_allocator.h
shared/test/common/mocks/mock_device.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-02 10:59:08 +01:00
Kamil Kopryk
da80d9906e
Refactor: don't use global GfxCoreHelper getter in shared files 5/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 10:54:14 +01:00
Mateusz Jablonski
28319a8e81
Refactor: don't pass redundant hw info to applyAdditionalContextFlags
...
Wddm already contains reference to root device environment
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-02 10:20:13 +01:00
Mateusz Jablonski
30f0b1d9eb
Remove dead code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-02 09:45:40 +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
234573399d
Refactor: pass gfxCoreHelper to decodeSingleDeviceBinary
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 08:17:46 +01:00
Kamil Kopryk
1dc4afe8ab
Refactor: pass gfxCoreHelper to convertTimestampsFromOaToCsDomain
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-02 08:12:15 +01:00
Compute-Runtime-Validation
fd2f79df08
Revert "igc revision update"
...
This reverts commit fa44d61fd8 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-01 16:35:30 +01:00
Kamil Kopryk
f7d748735d
Refactor: don't use global GfxCoreHelper getter in shared files 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-30 16:26:35 +01:00
Mateusz Hoppe
a2138e2ab9
perf: fix performance in enqueue path in OCL
...
add constexpr to if to only add extra if fo NDRange command
Related-To: NEO-7603
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-12-30 13:32:15 +01:00