Mateusz Hoppe
765b6cc2ed
Initialize debugging in Os before creating debugger
...
Related-To: NEO-4516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-19 16:31:31 +01:00
Jaime Arteaga
905d59d7e3
Allow disabling statefull optimization in L0
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-18 22:33:05 +01:00
Maciej Plewka
28de4068c9
Read bindless offset from patch token
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-18 17:04:00 +01:00
Jaroslaw Chodor
451f1e7e0d
Fixing residency of global const/var buffers
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2020-11-18 13:15:06 +01:00
Mateusz Hoppe
b384bda99a
Exclude internally used cmdLists and cmdQs from debugging
...
Related-To: NEO-5241
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-17 12:17:34 +01:00
Kamil Diedrich
403ebc843c
Add support for media formats
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2020-11-17 10:36:29 +01:00
Jaime Arteaga
12598a82e5
Add support for external memory descriptors in device allocations
...
Add support for reading ze_external_memory_export_desc_t passed
to calls to zeMemAllocDevice. Current driver implementation
only supports handles as dma-buf, so add validation that only
that flag is being used.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-16 23:54:48 +01:00
Mateusz Hoppe
0f42ef1ed7
Differentiate between users ISA and internal ISA allocation
...
Related-To: NEO-5240
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-16 13:16:30 +01:00
Jaime Arteaga
b3700370a6
Remove dead-code functions for cache intermediate/last-level config
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-14 04:23:36 +01:00
Bartosz Dunajski
bc1e772ec2
Set correct device bitfield for L0 command queue allocations
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-13 12:37:16 +01:00
Jaime Arteaga
3f6d1f5ee9
Correctly pass descriptors to L0 shared alloc function
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-11 07:04:54 +01:00
Jaime Arteaga
9473abc86a
Correctly pass descriptors to L0 device and host alloc functions
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-10 21:31:07 +01:00
Bartosz Dunajski
f7905128ca
Dont inject commands between blits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-10 16:57:13 +01:00
Maciej Plewka
3f7af19c8f
Pass bindless options to compiler when bindless enabled
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-10 11:30:56 +01:00
Vinod Tipparaju
f553e1e514
Return "OUT_OF_MEMORY" when gfx alloc on device fails during cmdqueue create
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-11-10 06:26:02 +01:00
Jaime Arteaga
4c5ff75371
Add wait events to appendMemoryCopy
...
appendMemoryCopy has wait events since v1.0, so add the corresponding
support. Other copy operations were missing passing this
in the entry points, but already had support internally.
Also, rename some variables for consistency.
Also, remove signal event from appendMemoryCopyBlit since it is not
used.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-09 21:28:26 +01:00
Jaime Arteaga
6ab9e9f1e0
Initial support for getExternalMemoryProperties and getExtensionProperties
...
Change-Id: Ib7c75dcae10bfb34dd2f703e481ecdd768370772
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-03 16:05:25 -08:00
Mateusz Jablonski
6c21ed1a28
Fix typo in BB test
...
Change-Id: Ib605b3f3e0ea3b9425ff17f6f81930c9993a53e5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-03 14:45:30 +01:00
Jaime Arteaga
87fd9b0708
Remove dead-code: OpenCL interop functions from v0.9
...
Change-Id: I4ef6eb3df8991d1ef0b6f07f81655496914cf396
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-03 14:22:24 +01:00
Spruit, Neil R
3e5f3fe055
Fixed AppendMemoryFill for alignment, multi kernel execution, memory overrun
...
- Fixed Memory Fill to use aligned allocations in Destination and Source
buffer kernel arguments to ensure proper alignment of memory in the
surface state.
- Fixed patternSize == 1 case where simd size is > the size being
written resulting in the inital kernel append with group count of 0 and
the remainder kernel being executed incorrectly.
- Fixed offset calculation in the remainder kernel to be based off of
the aligned allocation offset.
- Fixed memory overrun case where size < patternsize with the minimum
size being used in the kernel.
Change-Id: I39bd83b3a83ceb6df05d374238f85f7fdf0bd09a
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-11-02 16:49:12 -08:00
Mateusz Hoppe
4d2750161d
Move OsAgnosticMemoryManager to shared
...
Resolves: NEO-5188
-move MockGraphicsAllocation to shared
Change-Id: I17e90af48183f003151fab075a46e40d7df3f160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-02 21:02:53 +01:00
Jaroslaw Chodor
d181a2e5a3
Fixing zeKernelGetProperties
...
Additionally, adding zell_world_jitc_ocloc BB test
Change-Id: If3b8c7e4bd4a789ec1b4f4de55ab21e91c1e7afa
2020-11-02 19:38:39 +01:00
Aravind Gopalakrishnan
f9e0c04b54
Fix build error in ult
...
Change-Id: I44a66975df4d12e68b967f5dac28cffb8a145004
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2020-11-02 18:48:33 +01:00
Maciej Plewka
44af85b492
Return correct maxFillSize property
...
Related-To: NEO-5205
Change-Id: I62b7fec89451c640f70028b8d3ecb81f7655225d
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-02 16:10:01 +01:00
Zbigniew Zdanowicz
c678f3d9b0
Make DeviceBitfield argument constant
...
Related-To: NEO-5225
Change-Id: I14a5a4cc3394cd2b58a74bda183c734a0d17ac25
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-30 13:45:32 +01:00
Jaroslaw Chodor
3e4079574c
Reduce number of devices is multidevice fixture
...
Change-Id: I3269d9938f5842da87d2c2effef9e54286b3c0b5
2020-10-29 21:11:58 +01:00
Jaroslaw Chodor
345e56a151
Zebin improvements
...
* cleaning-up per-thread buffer size calculations
* fixing default slm alignment to 16
* adding scratch space slots
* renaming slm addressing mode
* adding support for zeinfo version
Change-Id: I0450353788b8488a685976d7f1dd26a44360383c
2020-10-29 16:33:21 +01:00
Mateusz Hoppe
d539a7f8e4
Adjust AllocationProperties for SBA tracking buffer
...
Change-Id: I00d9d40c854c45775254b017997c53f17559daa4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-29 15:48:25 +01:00
Mateusz Hoppe
ac3b65ba82
Refactor isDebuggerActive
...
- use it for SourceLevelDebugger only
Change-Id: I130219a13d6baa1f72c5b35295afd6efa4bf37fa
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-29 12:21:18 +01:00
Jaime Arteaga
e3ef10d57e
Update Level Zero BUILD.md file
...
This to reflect current name for basic sample, zello_world_gpu.
Also, modify this sample to return vendorId in hexadecimal format.
Change-Id: If073648e436b607125a9f4176db640d070f7f7f3
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-29 11:12:13 +01:00
Maciej Plewka
6bb4112d1e
Create heap helper for bindless
...
Related-To: NEO-4724
Change-Id: I62527a3ad06dce5d886b6ecfebd3c9abc46f6741
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-10-29 10:51:38 +01:00
Zbigniew Zdanowicz
30a67618f8
Add DeviceBitfield argument to CSR constructor
...
Related-To: NEO-5225
Change-Id: I8cf0aef3ec16314cfb1a787852b6c20ce0f65955
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-10-28 17:10:31 +01:00
Mateusz Hoppe
65690ccb21
Fix indirect dispatch programming
...
Related-To: NEO-5195
Change-Id: I82975abaa6323d27d3718ce1619748f7d83b55b4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-28 01:06:08 +01:00
Mateusz Hoppe
31118b0bd7
Link L0 blackbox tests with ze_intel_gpu
...
Change-Id: I875db7fbf48cf2467d327c7de1d489db1bddd79b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-27 14:37:45 +01:00
Mrozek, Michal
f53a6acb7f
Revert "Use device allocation for events if host visibility not set"
...
This reverts commit 27e2c32daa .
Change-Id: I8035aad67a1aa1ed37d95a9bcd4354a64d75ac07
2020-10-26 00:21:27 -07:00
Aravind Gopalakrishnan
27e2c32daa
Use device allocation for events if host visibility not set
...
Change-Id: I244cfd617ae77a88dd2f4e5818d39ac7e658b216
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-10-23 22:28:45 +02:00
Plewka, Maciej
39a930e122
Revert "Enable copy engine in platforms which supports bcs"
...
This reverts commit b539b5a3ec .
Change-Id: I731b969cb82e4cfa6ec3f435c4b3178fc997c867
2020-10-23 17:11:00 +02:00
Jaime Arteaga
b62a121f6f
Move thread arbitration programming to command list
...
Thread arbitration policy can be programmed in the command list
instead of doing it in executeCommandList(), so move it there.
Related-to: NEO-5187
Change-Id: I518e19e939e0548d9d454738c6deb5e095154422
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-22 19:42:55 +02:00
Pranav Tendulkar
504dfe8a50
change TdDebugControl Register to enum
...
change TdDebugControl Register to enum for over-riding in another
platforms
Related-To: NEO-5203
Change-Id: I17b835a1d4cb43986cfd06741e6ec9a606feb5ae
Signed-off-by: Pranav Tendulkar <pranav.tendulkar@intel.com >
2020-10-22 19:42:15 +02:00
Bartosz Dunajski
e3e8f1ddf2
Fix private surface size calculation
...
Change-Id: Iebbbdf2bfa76173c6181d8a26838114fabf6cbe1
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-22 13:54:13 +02:00
Kamil Diedrich
6fb1d5e417
Extend timestamp blackbox test
...
- add example of usage zeAppendQueryKernelTimestamps
Change-Id: I28b0d2da8b7c65407239b9feaccbeea5a60c79ab
2020-10-22 08:47:40 +02:00
Kamil Kopryk
914ace6165
Add blitter support for read/write images OpenCL
...
Change-Id: I5a74bcbdc5a5d7c20f55ee3c59839077649778c4
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2020-10-21 16:55:38 +02:00
Maciej Plewka
b539b5a3ec
Enable copy engine in platforms which supports bcs
...
Releated-To: NEO-4870
Change-Id: I3ef4c91c2bf210d5e6f59df0e8bd347aa867cbe5
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-10-21 15:27:15 +02:00
Bartosz Dunajski
1926ef8319
is_simt_thread token support
...
Change-Id: I8cee6ff26229f0f492ba0d1e5e61d6e46e0c2486
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-21 14:14:43 +02:00
Jaime Arteaga
d0634d3090
Correct cache memory size returned
...
Change-Id: I1b0467b23acf8c72c42430100237d921f565c86c
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-20 18:06:07 +02:00
Krystian Chmielewski
9f08a60a20
KernelInfo Refactor
...
Using kernelDescriptor.kernelMetadata.kernelName instead of
kernelInfo.name
Change-Id: I11f5721d8072a3beccb573cec4bea56cf14cf0f9
2020-10-20 13:18:09 +02:00
Michal Mrozek
1eefd3743f
Optimize ExecuteCommandList.
...
- reuse vector instead of creating one per every function call.
Change-Id: I584bfbd7757e7b8851ae4970b740adf20659bcb1
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-10-19 10:49:44 +02:00
Jaime Arteaga
bc855e4696
Add support for zeContextGetStatus()
...
Change-Id: Idf6d7bf462d74720f2e21abad7eaecb297388ff4
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-16 22:48:02 +02:00
Kamil Kopryk
8e44038f9a
Revert "Add blitter support for read/write image OpenCL"
...
This reverts commit cc6d6968dd .
Change-Id: I2696f05c5d1e3959f60239ca49483b00ad1b36ec
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-10-16 15:59:58 +02:00
Kamil Kopryk
cc6d6968dd
Add blitter support for read/write image OpenCL
...
Change-Id: I5d8bf0590899751f1f562fd55e44b0ed36ca6110
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2020-10-16 11:59:03 +02:00