Commit Graph

10679 Commits

Author SHA1 Message Date
c9246d085d Support for AOT version in fat binary
AOT version (major.minor.revision) is one of
the supported variants for -device arg in ocloc.
In this change, version support has been added
when passing specific targets to -device using ",".

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2022-07-04 14:21:07 +02:00
554104dc9e infra update
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-07-04 14:20:52 +02:00
6a9fcd38b1 Create KMD-migrated unified shared memory with multiple local memory regions
Remove the restriction on USM allocation created in a single local memory region
with latest KMD fix for cross tile migration thrashing b/t lmem (dii-3516)

Related-To: NEO-6909

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-07-04 13:33:23 +02:00
ed9c2d074a igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-07-04 13:29:08 +02:00
4fb4a1d77b Add LogicalStateHelper getter for CommandQueue.
Refactor Kernel handling

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-07-04 13:21:15 +02:00
5e5df0fe87 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-07-04 12:26:51 +02:00
0b26ee3664 Add surface state programming for kernels with images and stateless buffers
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-04 12:24:11 +02:00
76e023b941 Link build option with L1 cache policy helper
Related-To: NEO-7003

Add L1CachePolicyHelper struct.
This struct is resposible for L1 cache policy
in build option, Surface State and stateless
caching. Currently default option for all
platforms is WBP (write by-pass)


Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-07-04 11:49:55 +02:00
8e027a305d infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-02 00:55:51 +02:00
5cd2e098d6 Add ze_eu_count_t to get total number of EUs
Related-To: LOCI-2667

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-07-01 23:37:09 +02:00
17846f1fda Add aub_stream component
Related-To: NEO-7060
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
22.27.23681
2022-07-01 17:54:29 +02:00
76d905b1f2 Pass LogicalStateHelper to SBA helper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-07-01 14:52:20 +02:00
de1c0b968a Disable aub test for XE_HPC
Disable test GivenReserveMaxAddressThenExpectationsAreMet for XE_HPC.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-07-01 13:04:26 +02:00
6fb11f2b7a infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-07-01 12:56:23 +02:00
95d4ac7812 Capability to insert WA MMIO for BCS dispatch
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-07-01 11:53:53 +02:00
1ef5161a54 Correct check if binding table prefetch is supported
Remove redundant resetBindingTablePrefetch function,
disable binding table prefetch on xe platforms in OCL.


Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-01 11:43:39 +02:00
34a7059032 Avoid reading command buffer in flushed batched submissions
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-01 11:06:38 +02:00
cdd2cd7ac3 Revert "Bind virtual copy engines in optimal sequence"
This reverts commit b55bbd41931d71ca774d4ae776f6860185e332c9.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-01 10:17:12 +02:00
7e144d73f6 Dont patch implicit args relocation to zero
IGC should set the value to zero by default

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-30 20:26:04 +02:00
d066e2d5a7 Support for lazy init in zeInit flow
Modifications for firmware lazy init implementation

Related-To: LOCI-3127

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2022-06-30 20:22:11 +02:00
0d42fdf38c Fix setting flag Cacheable in gmm resource params base on resource usage
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-06-30 19:37:21 +02:00
c6c9ed228a infra update
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-06-30 19:18:05 +02:00
c648a941ec includes cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 16:09:09 +02:00
243895955f ULT OpenCL: stop depending on IGC output in enqueue copy image tests
Related-To: NEO-7146
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-30 12:01:51 +02:00
2b9827ad7d hw_cmds.h for XE refactor
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 11:52:27 +02:00
cbe8b8531d infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 11:38:22 +02:00
e88bad79a6 Dont pass drm to ioctl helper methods - use Ioctl Helper's member instead
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-30 11:11:12 +02:00
28edaa9a2d cmake cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-30 10:54:21 +02:00
c2147e3233 Revert "igc revision update"
This reverts commit eb401b6b13.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-06-30 07:25:59 +02:00
0e65d3e667 hw_cmds.h usage refactor
create header with include for DEFAULT_PLATFORM what can be used in some
places

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-29 18:03:21 +02:00
70b41cf3ce Revert "Move semaphore to local memory on XE_HPG"
This reverts commit 94f3e54261.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-06-29 17:06:58 +02:00
200fdfac24 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-29 16:34:27 +02:00
c9e2b4bc32 Pass Drm to ioctl helper ctor
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-29 15:47:01 +02:00
115761b4a5 Update private OpenCL extension
Related-to: NEO-7102

Signed-off-by: Naklicki, Mateusz mateusz.naklicki@intel.com
2022-06-29 15:34:33 +02:00
aff0ea99a8 Enable signed/unsigned mismatch warning for MSVC
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-29 14:12:10 +02:00
30071599df Create buffer object with multiple lmem regions for kmd-migrated buffers
This commit enables cross-tile kmd migration for buffers in local memory

Related-To: NEO-6977

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-06-29 13:47:58 +02:00
f2bbd63d37 Refactor SBA handling + fix unit tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-06-29 13:27:57 +02:00
8351fc9f14 CMake: correct ocloc tests runner to remove proper dir
Related-To: NEO-7126

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-29 11:38:56 +02:00
b72fcad1be Drm: call ioctl using ioctl helper if possible
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-29 11:29:40 +02:00
a8e2bd3f98 hw_cmds.h usage cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-29 11:15:45 +02:00
3ed8b4319f Use primary buffer start when immediate command list using flush task
Related-To: NEO-7091

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-06-29 10:52:43 +02:00
fffd56d7a6 refactor: bind drm context within IoctlHelper::createDrmContext method
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-29 10:47:52 +02:00
efa19a0b18 Simplify code - reverse helper function logic to avoid not needed negation
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-06-29 09:19:33 +02:00
db20000450 Add Ecc support for sysman windows
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-06-29 07:51:53 +02:00
afb57636b0 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-06-28 23:47:04 +02:00
4a2a9daf41 Add AIL for Wondershare Filmora 11 subprocesses
Related-To: NEO-6982

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2022-06-28 20:50:07 +02:00
9c1c24e35a Detect metrics library new name
Linux library name changing from libmd.so.1 to libigdmd.so.1

Related-To: LOCI-3159

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2022-06-28 18:39:20 +02:00
c90f3b3c93 Correct naming: SetUpImpl -> setUpImpl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-28 17:59:37 +02:00
6550dca069 extend command list unit test
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-06-28 17:39:05 +02:00
8924024a27 refactor: use Drm::queryGttSize in DrmMemoryManager
Related-To: NEO-6852
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-28 17:08:45 +02:00