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
Vinod Tipparaju
240563099c
Clean up code for nullptr device check during cmdlist create
...
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-11-19 04:24:34 +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
Jaime Arteaga
3ee9c509c7
Fix typo in appendQueryKernelTimestamps
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-11-17 12:17:52 +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
Maciej Plewka
627febba61
Fix include path
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-16 14:36:20 +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
Maciej Plewka
dad1dcebc3
Add L0 hw helper
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-15 23:58:12 +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
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
Bartosz Dunajski
40d5cc71c9
Windows includes cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-09 14:35:38 +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
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
Vinod Tipparaju
8e6be83fcc
Add cmdContainer ULTs - idOffset & numIdd reset, Gfx alloc failure
...
ULT required to cover IDOffset and numIdd values during reset.
ULT required to cover OUT_OF_MEM retrun during init.
Fix to check for valid gfx allocation inside heap helper & destructor
Change-Id: Ied9049b33dc0605d5f5f51c96114d5e96b26a4f7
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-11-03 13:22:44 +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
Jaroslaw Chodor
d181a2e5a3
Fixing zeKernelGetProperties
...
Additionally, adding zell_world_jitc_ocloc BB test
Change-Id: If3b8c7e4bd4a789ec1b4f4de55ab21e91c1e7afa
2020-11-02 19:38:39 +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
Mateusz Hoppe
17b2a29945
Remove incorrect UNRECOVERABLE_IF()
...
Change-Id: I5d56fcff8ca2449404c30b89d54f631b1da3db87
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-30 17:42:57 +01:00
Jitendra Sharma
17970ad5e7
Add sysman handles for subdevice only after subdevices are created
...
Move location of assigning sysman handles, such that sysman handle
will be assigned to device and then assign that sysman handle
to subdevices of that device.
Change-Id: Ia606954a866c491e45803b903c8419ee09b1a939
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-30 09:45:08 +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
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
Jaime Arteaga
2fb48224a7
Remove unneeded variable
...
Change-Id: I1abc953063ed196bc045ef3084747a5328e7d443
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-27 09:30:20 +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
Jitendra Sharma
bc3e09ca88
Don't delete Sysman handle during destructor of a Subdevice handle.
...
Change-Id: I6d17805c05ed556e51c908832d1150ffa17c28f0
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-23 17:44:19 +02:00
Filip Hazubski
c3b8727e97
Remove opencl includes from HwHelper
...
Resolves: NEO-3964
Change-Id: Ie891ba6a205a89b41ca2cce0fa386dc4c93a0aaa
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-23 11:10:52 +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
Jaime Arteaga
31291b1cf0
Add 4-digit zero alignment of device id in device name (2)
...
Unify names for OpenCL and L0
Related-To: NEO-4744
Change-Id: I5094f228f447ecbd942c25d6244abee593f3ffbf
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-22 15:53:20 +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
Jitendra Sharma
6cce17e9a0
Add boiler plate support for sysman event API
...
Change-Id: I046620abb9943b2283215a5d2d85d71dcb8b98be
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2020-10-21 10:20:00 +05:30
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
Mateusz Hoppe
4623cb3f85
Create module debug area allocation
...
Related-To: NEO-4550
Change-Id: I1aa151134cb51a7d4f578de3b08cdd51aefc58f2
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-10-16 11:21:39 +02:00
Filip Hazubski
60bfcbd69f
Move populateFactoryTable() to shared
...
Related-To: NEO-3964
Change-Id: I9da0395265dc164deda219d5390dd9540e04f9aa
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-16 11:07:38 +02:00
Jaime Arteaga
6614698997
Add multi-device support to events
...
Change-Id: I544d2409fa5ad7c2b64f7bfd081469e80d4f9c73
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-10-15 12:54:51 -07:00
Spruit, Neil R
53a99f6772
Fixed 2D/3D copy to use aligned pointers and offsets in kernel programming
...
- Fixed the 2d/3d copy to correctly pass the aligned allocation data to
the kernel programming of the buffer surface states otherwise unaligned
host ptrs cannot be used.
Change-Id: If62e9321d572a786999a5ead8303f11e2e9a3c8d
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-10-14 17:53:40 +00:00
Slawomir Milczarek
eb8f5fa301
Get CL Device Name with device ID appended at the end
...
Related-To: NEO-4744
Change-Id: I8a9a791a634f9c0c444695036d96e3c959c90de0
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-10-13 14:00:33 +02:00