Weronika Kapusta
864f42116c
fix: remove compiler cache legacy implementation
...
Related-To: NEO-10679
Signed-off-by: Kapusta, Weronika <weronika.kapusta@intel.com >
2024-04-08 16:40:57 +02:00
Dominik Dabek
0d69dfe165
refactor: remove comment
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-04-08 11:43:19 +02:00
Kacper Nowak
35ca2bbea9
refactor: refactor logic for querying atomic FP capabilities
...
- Move logic from product helper to compiler product helper
- Add method for adjusting fp16 and extra capabilities using release
helper (if present).
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-03-28 15:27:45 +01:00
Mateusz Jablonski
bcaa62bed3
build: refactor linux kernel headers
...
Add cmake flags to provide path to headers to drm / i915 /i915 prelim / xe
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-28 14:48:09 +01:00
Lukasz Jobczyk
436579ca8c
fix: Disable async release of buffers with external host ptr
...
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-27 15:07:14 +01:00
Compute-Runtime-Validation
707796a50d
Revert "fix: Disable async release of buffers with external host ptr"
...
This reverts commit 9b715c3ffc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-27 07:49:54 +01:00
Bartosz Dunajski
fce016ee7a
refactor: add new semaphore param
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-03-26 15:46:47 +01:00
Mateusz Jablonski
78a4a92b44
refactor: reorder members to reduce internal padding in structs
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-25 15:50:00 +01:00
Lukasz Jobczyk
9b715c3ffc
fix: Disable async release of buffers with external host ptr
...
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-25 12:55:57 +01:00
Filip Hazubski
07b9117b44
refactor: Explicitly delete copy c-tor and copy assignment of GlBuffer
...
Comply with the rule of three.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-03-25 10:55:02 +01:00
Compute-Runtime-Validation
e9b866ab11
Revert "fix: Disable async release of buffers with external host ptr"
...
This reverts commit 70a62d89e3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-03-23 11:49:42 +01:00
Lukasz Jobczyk
70a62d89e3
fix: Disable async release of buffers with external host ptr
...
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-22 18:11:27 +01:00
Katarzyna Cencelewska
da7b03dd15
fix: to always use grfs count in calculateNumThreadsPerThreadGroup
...
grf size != grf count
Related-To: GSD-8437
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-03-22 11:03:18 +01:00
Katarzyna Cencelewska
dd1d52259e
refactor: add param rootDeviceEnvironment to calculateNumThreadsPerThreadGroup
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2024-03-21 22:25:14 +01:00
Mateusz Hoppe
0cec5ccc32
fix: check if any of devices has BindlessHeapHelper enabled
...
- report Bindless_images extension in driver only when at least one
device has global bindless heaps enabled
Related-To: NEO-10352
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-20 20:50:58 +01:00
Bartlomiej Wolny
7db5f6d5bf
fix: add texture cache flush on image dtor
...
Related-To: NEO-9794
Signed-off-by: Bartlomiej Wolny <bartlomiej.wolny@intel.com >
2024-03-18 17:03:17 +01:00
Fabian Zwolinski
eb259c1f52
fix: set kernel LWS prior to obtaining indirect heaps
...
When calculating the size of the indirect object heap,
the local work group size from kernel implicit args is taken into account.
If the LWS is not set before this calculation,
it can lead to insufficient ioh allocation size.
Such a problem is seen when local ids are generated by the runtime
and then written to ioh. The write fails due to lack of space in the allocation.
Related-To: IGC-7708
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2024-03-14 10:38:46 +01:00
Ben Ashbaugh
e00230a6c2
fix: correctly report support for SPIR-V 1.0 through 1.3
...
Related-To: NEO-10336
Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com >
2024-03-12 17:54:09 +01:00
Grzegorz Wawiorko
87f2357868
fix: Update CL_DEVICE_LATEST_CONFORMANCE_VERSION_PASSED value
...
Signed-off-by: Grzegorz Wawiorko <grzegorz.wawiorko@intel.com >
2024-03-12 08:42:21 +01:00
Mrozek, Michal
f71f6d2b72
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-03-08 18:18:55 +01:00
Mateusz Hoppe
5e15543b14
test: improve unit tests - use virtual file system
...
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written
Related-To: NEO-7006
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-03-08 13:34:19 +01:00
Kamil Kopryk
168445784e
feature: introduce states programming at driver init heapless ocl
...
Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-03-08 12:29:44 +01:00
Lukasz Jobczyk
88a8bc8ac6
fix: Download BCS allocations when timestamps are completed
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-08 10:47:53 +01:00
Maciej Plewka
f0281202bf
feature: Signal to OGL creating/destroying shared buffer
...
Related-To: NEO-9151
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-03-06 16:28:28 +01:00
Lukasz Jobczyk
895c951a7f
fix: Unlock CmdQ before download allocations
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-05 14:53:11 +01:00
Mateusz Jablonski
bfbe5a048c
fix: verify retVal from poll function in gl sharing sync on Linux
...
unify logic of synchronization objects
add default iniialization of gl context guard members
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-05 11:26:27 +01:00
Lukasz Jobczyk
246c24f78f
fix: Download allocations when timestamps are complete
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-03-04 16:05:31 +01:00
Mateusz Jablonski
8c55dd91a6
fix: don't use poll/close syscalls in gl sharing tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-04 14:09:46 +01:00
Fabian Zwolinski
52430762ac
fix: cl_cache L0 env vars + refactor code structure
...
Added support for new Compiler Cache
environment variables in Level Zero.
Moved
`opencl/source/compiler_interface/default_cache_config.cpp`
`level_zero/core/source/compiler_interface/default_cache_config.cpp`
to shared directory
`source/compiler_interface/default_cache_config.cpp`
Switched enabling cache by default from per OS to per API.
Changed default state of cl_cache in Level Zero to disabled.
Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2024-03-01 17:35:08 +01:00
Sylvain Munaut
e2c511bc00
feature(ocl): Improve Linux CL/GL sharing support
...
This commit is aimed at drastically improving the support for the CL/GL
sharing
extension on linux. The current support is not really usable as it only
supports a few texture format, and only on EGL contexts. It is also
pretty
buggy since it requires the texture to be bound when placing the CL call
to
share it which is just plain wrong and will not work in many
applications.
This new version makes used of the "official" interop extension from
MESA
which is available for GLX and EGL contexts, allows sharing of buffers
and
not just texture and supports many more formats.
This is still far from being a fully compliant / full featured version
of
the extension, but it's a big step forward in my opinion and allows to
run
some real applications.
I've tested gr-fosphor (SDR spectrum display) and Davinci Resolve as
examples.
Both of theses don't work without theses improvements.
Fixes: https://github.com/intel/compute-runtime/issues/659
Fixes: https://github.com/intel/compute-runtime/issues/667
https://github.com/intel/compute-runtime/pull/673
Related-To: NEO-3599
Signed-off-by: Sylvain Munaut <tnt@246tNt.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-03-01 13:38:56 +01:00
Zbigniew Zdanowicz
4baee71974
refactor: add out cmd argument to semaphore wait encoder
...
Related-To: NEO-10065
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-03-01 11:43:36 +01:00
Mateusz Jablonski
373ef608bc
refactor: unify calculating max group size between OCL and L0
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-02-27 13:32:10 +01:00
Zbigniew Zdanowicz
0bf8e8727e
refactor: add output buffer argument to store register to memory encoder
...
Related-To: NEO-10064
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2024-02-27 13:31:55 +01:00
Lukasz Jobczyk
cfd3edfb2c
fix: Align IOH entry
...
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-26 14:36:31 +01:00
Kamil Kopryk
0c5cba8ebd
refactor: use common indirectDataAlignment static constexpr value
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-02-16 13:55:00 +01:00
Compute-Runtime-Validation
57c946b61c
Revert "fix: align indirect data pointer to cacheline size in heapless mode"
...
This reverts commit 004e6e647f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-02-15 05:49:19 +01:00
Compute-Runtime-Validation
9570d02134
Revert "fix: correctly report support for SPIR-V 1.0 through 1.3"
...
This reverts commit 5120ec2f93 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-02-15 04:00:31 +01:00
Kacper Nowak
cccd9a3703
refactor: Add method for retrieving extra device info
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-02-14 16:38:15 +01:00
Kamil Kopryk
004e6e647f
fix: align indirect data pointer to cacheline size in heapless mode
...
Align indirect data pointer to cacheline size in heapless mode,
restore debug_break_if if avx2 load/store operation
gets unaligned pointer,
remove fallback to mm256 loadu/storeu unaligned operation
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-02-14 10:00:15 +01:00
Ben Ashbaugh
5120ec2f93
fix: correctly report support for SPIR-V 1.0 through 1.3
...
Related-To: NEO-10336
Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com >
2024-02-14 09:21:06 +01:00
Compute-Runtime-Validation
4656e2ec12
Revert "refactor: remove not needed check for cpu transfer in ocl"
...
This reverts commit 098e2e76fb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-02-13 21:16:43 +01:00
Dunajski, Bartosz
098e2e76fb
refactor: remove not needed check for cpu transfer in ocl
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2024-02-13 18:47:14 +01:00
Kacper Nowak
2e997a2542
refactor: Use shared method for setting FP16/32 caps in OCL
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-02-09 08:47:20 +01:00
Kamil Kopryk
59f661356c
feature: use heapless builtins in OCL if supported
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-02-08 15:49:58 +01:00
Lukasz Jobczyk
486cc71b76
refactor: Add GDI profiling
...
Resolves: NEO-9236
Related-To: NEO-10036
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-02-07 18:44:11 +01:00
Dominik Dabek
371788210d
performance: limit usm host allocation recycle
...
Query system total memory size and limit usm host allocation recycle to
use at most x%.
x is read from ExperimentalEnableDeviceAllocationCache for device and
ExperimentalEnableHostAllocationCache for host.
Related-To: GSD-7497
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-02-07 17:45:41 +01:00
Kacper Nowak
ab1ffea592
refactor: Create function to check if OCL2.1 caps are enabled or enforced
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2024-02-06 08:27:09 +01:00
Dominik Dabek
2cad595a0d
performance: debug flag for usm host alloc recycle
...
set ExperimentalEnableHostAllocationCache=1 to recycle host usm
allocations
Related-To: GSD-7497
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-02-01 16:47:59 +01:00
Kamil Kopryk
6d3a53fe7f
refactor: Improve scratch programming in heapless mode
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-01-31 10:39:39 +01:00
Compute-Runtime-Validation
fb46066abc
Revert "fix: enable cache env variables for level-zero"
...
This reverts commit 743904d2df .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-01-31 08:33:05 +01:00