Wenju He
c0f30bece4
refactor: remove redundant allocateBindlessSlot from Image getDeviceOffset
...
This is a NFC change.
Bindless slot is already allocated in image initialize function.
Related-To: NEO-10352
Signed-off-by: Wenju He <wenju.he@intel.com>
2024-03-22 10:37:16 +01:00
Mateusz Hoppe
5589e03e2c
fix: pass imgInfo by reference
...
- Related-To: NEO-10352
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-05 10:54:59 +01:00
Mateusz Hoppe
98787b6b71
feature: bindless image extension - ImageView fixes
...
- set imgInfo fields correctly for image view
- add image view testcase to zello_bindless_kernel test
Related-To: NEO-10352
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-27 19:11:20 +01:00
He, Wenju
798c068ed1
feature: copy surface state to ssh in bindless image initialization
...
The surface state needs to be copied to global ssh either during image
initialization for sycl bindless image that could be passed to kernel
through memory.
Privously the copy is done in KernelImp::setArgImage. However, the
function won't be called for sycl bindless image.
Related-To: NEO-10352
Signed-off-by: He, Wenju <wenju.he@intel.com>
2024-02-27 09:35:52 +01:00
Mateusz Hoppe
ce079c62d5
feature: bindless images extension - pitched ptr support
...
- add support for allocating image from pitched pointer allocated from
device memory
- extend blackbox test with bindless image using USM memory
Related-To: NEO-10352
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-16 15:30:12 +01:00
Mateusz Hoppe
3051c5ef2b
feature: bindless image extension
...
- support for zeMemGetPitchFor2dImage() and
zeImageGetDeviceOffsetExp()
Related-To: NEO-10352
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-02-14 21:11:31 +01:00
Fabian Zwolinski
a3bd629aff
fix: store image implicit args in bindless slot 1
...
bindless slot 0: image
bindless slot 1: image implicit args
bindless slot 2: redescribed image
Redescribed image moved one slot higher.
Separate allocation is created for new bindless slot.
Related-To: NEO-9740
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2024-01-12 13:09:06 +01:00
Compute-Runtime-Validation
f2c9d7172a
Revert "fix: store image implicit args in bindless slot 1"
...
This reverts commit b6d572ddb8
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-12-23 12:01:42 +01:00
Fabian Zwolinski
b6d572ddb8
fix: store image implicit args in bindless slot 1
...
bindless slot 0: image
bindless slot 1: image implicit args
bindless slot 2: redescribed image
Redescribed image moved one slot higher.
Separate allocation is created for new bindless slot.
Related-To: NEO-9740
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-12-20 19:09:14 +01:00
Mateusz Jablonski
138fb65401
refactor: correct naming of enum class constants 11/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-19 14:52:57 +01:00
Mateusz Jablonski
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-19 08:18:18 +01:00
Mateusz Jablonski
b182917d9d
refactor: correct naming of allocation types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-11 16:23:37 +01:00
Mateusz Jablonski
92838c05fd
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-04 19:02:36 +01:00
Mateusz Jablonski
72182c28e9
refactor: add NonCopyableOrMovableClass to classes that don't need copy ctors
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-05 13:11:01 +02:00
Mateusz Jablonski
16d94a0b8c
refactor: remove dead code
...
Related-To: NEO-9038
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-03 07:34:31 +02:00
Mateusz Hoppe
fb211a921d
feature: bindless addressing support for image views
...
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-09-15 15:25:47 +02:00
Baj, Tomasz
e10f39017d
fix: Add ImageInfo to createGraphicsAllocation on Linux
...
Related-To: NEO-6757
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2023-09-14 12:58:59 +02:00
Maciej Plewka
09c1d474c9
fix: adjust depth limitations for images
...
Related-To: NEO-8239, HSD-14019991752
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-09-08 13:05:49 +02:00
Jaroslaw Chodor
023fe38448
fix: Use correct dimensions for UV plane
...
For image view mapped directly to UV plane,
the dimensions should 2 times smaller than
dimensions of the source image.
(1 raw UV pair maps to 2x2 block of original image)
Related-To: NEO-7936
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2023-06-28 23:34:50 +02:00
Neil R Spruit
ded9d7bff2
feature: Get Peer Allocation with specified base Pointer
...
Related-To: LOCI-4176
- Given a Base Pointer passed into Get Peer Allocation, then the base
pointer is used in the map of the new allocation to the virtual memory.
- Enables users to use the same pointer for all devices in Peer To Peer.
- Currently unsupported on reserved memory due to mapped and exec
resiedency of Virtual addresses.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2023-05-24 20:41:20 +02:00
Fabian Zwolinski
e351a90f81
refactor: Rename member variables to camelCase 2/n
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-27 20:39:22 +02:00
Fabian Zwolinski
e2e00413a8
Apply CamelCase for class and struct names
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-24 15:36:27 +02:00
Raiyan Latif
e3f732f5a6
feature: Add support for P2P Image Copy
...
Enables P2P Copy support for all Image API related calls:
- zeCommandListAppendImageCopy
- zeCommandListAppendImageCopyRegion
- zeCommandListAppendImageCopyToMemory
- zeCommandListAppendImageCopyFromMemory
Related-To: LOCI-4112
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2023-03-24 07:36:01 +01:00
Mateusz Jablonski
0da5e6f277
refactor l0: cleanup cmake file level_zero/core/source/CMakeLists.txt
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-16 12:38:15 +01:00
Warchulski, Jaroslaw
b485c025d0
Cleanup includes 57
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-17 11:19:59 +01:00
Warchulski, Jaroslaw
64f735481d
Cleanup includes 48
...
Cleaned up files:
shared/source/command_container/command_encoder.inl
shared/source/os_interface/hw_info_config.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-10 17:23:02 +01:00
Kamil Kopryk
524d945e8c
refactor: rename l0 hw_helpers dir to gfx_core_helpers
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-02-02 11:15:56 +01:00
Kamil Kopryk
eb002acaa1
refactor: rename l0_gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-24 12:59:26 +01:00
Warchulski, Jaroslaw
49837b7bb5
Cleanup includes 39
...
Cleaned up files:
shared/source/command_container/command_encoder.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-23 11:56:42 +01:00
Warchulski, Jaroslaw
bd81b5546d
Cleanup includes 25
...
Cleaned up files:
level_zero/core/source/device/device.h
opencl/source/helpers/dispatch_info.h
shared/source/os_interface/os_interface.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-10 12:54:45 +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
Warchulski, Jaroslaw
f275eea6ec
Cleanup includes 14
...
Cleaned up files:
shared/source/device/device.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-12-23 10:46:34 +01:00
Kamil Kopryk
03b687881f
Rename HwHelper -> GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-09 10:29:06 +01:00
Kamil Kopryk
6993ed5c52
Reduce binaries sizes 2/n
...
Observed about 50MB reduction in overall binaries size (directory build))
when building all targets
with MSVC (Visual Studio 2022 17.3.0 preview 6)
using Debug 64 configuration.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-08 16:14:38 +01:00
Kamil Kopryk
73b2104183
Rename L0HwHelper -> L0GfxCoreHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-05 11:26:05 +01:00
Jaime Arteaga
99655d34f9
Return a unique pointer for multiple calls to openIpcHandle
...
This to follow specification, which says:
zeMemOpenIpcHandle:
- Multiple calls to this function with the same IPC handle will return
unique pointers.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-12-01 18:42:54 +01:00
Warchulski, Jaroslaw
f35f59b573
Cleanup includes 5
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-11-18 22:46:38 +01:00
Kamil Kopryk
146e18d9a4
Move L0HwHelper ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Use RootDeviceEnvironment getHelper<L0CoreHelper> for
- imageCompressionSupported
- usmCompressionSupported
- forceDefaultUsmCompressionSupport
2022-11-15 15:49:55 +01:00
Kamil Diedrich
5eca3b3852
Add missing queryImageParams after import image on windows path
...
When importFromNTHandle is called we need to refresh imgInfo data
that contains e.g. offset for UV plane.
Related-To: NEO-7250
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-09 14:59:44 +02:00
Kamil Kopryk
d4d54f5093
Cleanup includes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-25 09:58:38 +02:00
Naklicki, Mateusz
fd867c1621
Update OCL headers
...
Update headers to the OpenCL-Headers-2022.05.18 release:
https://github.com/KhronosGroup/OpenCL-Headers/releases/tag/v2022.05.18
Related-to: NEO-7102
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2022-06-23 17:07:16 +02:00
Mateusz Jablonski
5bf1c84ed3
Cleanup includes in sampler, image, builtin and event
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-03 10:21:59 +02:00
Filip Hazubski
586e8510de
Remove unneeded include
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-03-26 09:55:25 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-02-04 17:49:09 +01:00
Mateusz Jablonski
2b177cabb7
Correct programming width of media block surface
...
Programmed value should be a number of all dwords, rounded up
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-28 16:28:25 +01:00
Bartosz Dunajski
8b4a7dac8f
Respect Uncompressed hint when allocating L0 Image
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-16 00:51:38 +01:00
Bartosz Dunajski
8288fa76cb
Initial support for compressed L0 Images
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-14 17:29:24 +01:00
Bartosz Dunajski
55959d4d1d
Helper method to check if allocation is compressed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-02 16:13:53 +01:00
Bartosz Dunajski
7b55d38e34
Refactor [1/n]: Make compression preference allocation property
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-12-02 15:24:35 +01:00
Kamil Diedrich
35f709b221
Add RGBP planar formats
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-11-10 14:17:04 +01:00