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
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
Jaroslaw Chodor
d181a2e5a3
Fixing zeKernelGetProperties
...
Additionally, adding zell_world_jitc_ocloc BB test
Change-Id: If3b8c7e4bd4a789ec1b4f4de55ab21e91c1e7afa
2020-11-02 19:38:39 +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
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
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
Krystian Chmielewski
9f08a60a20
KernelInfo Refactor
...
Using kernelDescriptor.kernelMetadata.kernelName instead of
kernelInfo.name
Change-Id: I11f5721d8072a3beccb573cec4bea56cf14cf0f9
2020-10-20 13:18:09 +02:00
Bartosz Dunajski
27f9a95af2
Refactor: Common helper for Blit and CPU memory transfers
...
Change-Id: Icc61f82517e75e3066e441494af3bf9a7ffbbeef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-12 18:29:42 +02:00
Bartosz Dunajski
fb0651521d
Linker: Fix incremental patching for local memory allocations
...
Change-Id: Ib85e4a2abc8a62477003853aa0c35f8107444f4e
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-09 09:13:42 +02:00
Maciej Dziuban
138f04bdcd
Enable L1 cache for Tigerlake
...
Change-Id: I33513ed084f9d06ceca11315cac03f1b682db535
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-4832
2020-10-06 13:26:54 +02:00
Jaroslaw Chodor
df2e76f526
Fixing residency of extern device functions
...
Change-Id: Icad696cbf6fb3fc0276f0d0d488bf92091525d9b
2020-10-02 12:27:59 +02:00
Spruit, Neil R
7ea864cbd2
Update Kernel Buffer Argument given nullptr value assignment
...
- Given a nullptr Arg Buffer value, the argument value in cross thread
data must be updated to be a nullptr value especially given the argument
could have been set previously to a buffer that may not exist or should
not be used during this call to the kernel
Change-Id: Ie3a03ce25a4bb0b5e186863cc912a55863d0fb69
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-09-25 00:43:00 +02:00
Bartosz Dunajski
bb788b4cc4
Copy ISA on CPU if BCS is not supported
...
Change-Id: I18b0bea70a0104dfa3f930ee360b9967f8d615be
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-23 16:47:02 +02:00
Zbigniew Zdanowicz
03c8bbf054
Use non-coherent buffers as kernel args in L0
...
Change-Id: I78f699779d65b694fa8de82c8e19dc07f7c176c3
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-23 07:16:13 +02:00
Bartosz Dunajski
9a29a75600
Use BCS to copy ISA if required - part 2
...
Change-Id: I8a06433640cb3ce6de8f1e1a367501572a6f77de
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-22 10:43:12 +02:00
Zbigniew Zdanowicz
394e626db9
Refactor programming of surface states
...
Related-To: NEO-5069
Change-Id: Id7442fcdcc8c7df57f00e8dc383c11869bf1a677
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-16 11:54:00 +02:00
Mateusz Hoppe
a5c556fe11
Create TestEnvironment in ze_intel_gpu_core_tests
...
Change-Id: I85306b59e220c34ee6b43790b59f5ad96ea51eca
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-09-11 09:53:58 +02:00
Jaime Arteaga
9ceff528b5
Add toggle for enabling indirect access
...
Change-Id: I35d3e1580cd51fea5f6b139d524737e400f6e1bc
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-08 00:09:28 -07:00
Mateusz Jablonski
92aef012d9
Add implementation of module dynamic link
...
Change-Id: I80c9ed1b5f6b0243e89515c393d89c4f86e5d83a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-08-10 11:21:31 +02:00
Aravind Gopalakrishnan
513d9bdb83
Allow multiple combinations of kernel indirect access flags
...
Change-Id: I96c96e1626f97dae22004eab9ea09ccd2313cb22
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-08-04 12:15:22 -07:00
Maciej Plewka
0abf2b20af
Update mock dispatch kernel encoder
...
Releated-To: NEO-4568
Change-Id: I0e0c5308d7cc73a0295ec094001d75bb08f4ac0f
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-08-04 17:27:04 +02:00
Jaime Arteaga
902fc2f6c4
level-zero v1.0 (2/N)
...
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
Signed-off-by: macabral <matias.a.cabral@intel.com >
Signed-off-by: davidoli <david.olien@intel.com >
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com >
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2020-08-03 13:11:13 +02:00
Jaime Arteaga
f29dacd5c0
Add new v1.0 kernel properties
...
Change-Id: Ic194e2176ca96bd255e8108ac494ef4006cf6712
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-31 06:03:28 +02:00
Jaime Arteaga
169089347f
Add support for zeKernelGetName
...
Change-Id: I167cc202436b6a76841c56e46baa684e7be90132
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-31 00:24:37 +02:00
Jaime Arteaga
c05f80643a
Use correct graphics allocation in setArgBuffer()
...
Use the rootDeviceIndex to select the graphics allocation associated
with the argument being set.
Change-Id: I2298f46c0ce5d96841d17381afb7b0013a3f804e
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-18 14:51:25 -07:00
Konstanty Misiak
1067596196
Add channelOrder and channelDataType to crossThreadData in L0
...
Related-To: NEO-4649
Change-Id: If07127424fc03ac410665cd1eb0c0da966b46584
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-07-13 16:59:08 +02:00
Andrzej Swierczynski
77f50e5444
Always pass device bitfield to AllocationProperties in constructor
...
Related-To: NEO-4722
Change-Id: Ie2475bf92a3189bcb9073bec5bf5af709e597c5d
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com >
2020-07-13 09:00:10 +02:00
Zbigniew Zdanowicz
bac5506b62
Modify function dispatching cross and per-thread data
...
Related-To: NEO-4585
Change-Id: Ia6b54b8d0c868cab5403332411655dc8c9ef4c8d
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-07-08 19:30:23 +02:00
Jaime Arteaga
823586b6fb
Correct address in setBufferSurfaceState
...
Change-Id: I17c6766f63aa2cde526db297b8334428a29ec85f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-07-08 16:39:40 +02:00
Spruit, Neil R
5734d0df70
Fix to kernel name size copy given > 256 on windows
...
- Enables truncation on windows for kernel name > 256 to
account for the null terminator.
Change-Id: I97ba4d5a65d9675d6c0da70b8eab5bdff28b7dc0
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-07-03 12:42:15 +00:00
Mateusz Jablonski
93c1e1b976
Add MultiGraphicsAllocation to USM
...
Related-To: NEO-4672
Change-Id: I53ea4bea73ae6d52840146f63bc561bb90f9fe62
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-07-02 09:39:21 +02:00
Jaime Arteaga
5b61ad0966
Add stub for dynamic link function and for extended kernel properties
...
Change-Id: Ifaaf1226114233618e7959def086989cf93bd0bd
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-06-29 02:11:29 +02:00
Maciej Plewka
a822503b41
Use encoder to program buffer surface state
...
Change-Id: Ibe66bd9906743b021a04f1d9aad1aae4127a4f71
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-06-25 12:32:29 +02:00
Jaime Arteaga
59da9598aa
Return INVALID_ARGUMENT for system-allocated pointers in kernelSetArg
...
Change-Id: I5ad50f8d60c5a54aedf24484a65400352ec855df
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-06-14 19:21:49 +02:00
chmielew
3e8f05d702
remove kernelHeader from HeapInfo
...
Change-Id: Ic2d441df15a7f75b5f3ef41d484969148e59715f
2020-05-28 03:59:49 -07:00
Vinod Tipparaju
c98949fd37
Fix thread safety violations within runtime allocators
...
Change-Id: I925d15429de314e3d3287f41a054732181911851
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2020-05-14 16:27:55 +02:00
kamdiedrich
fa8a5d6451
Add programming crossThreadData for image and sampler
...
Change-Id: I3322548c60e11d0d0bf2f2b5d76f5932032fe569
2020-05-08 10:02:10 +02:00
Mateusz Hoppe
4c23b60b30
Refactor setArgBufferWithAlloc, add zello_world blackbox test
...
Change-Id: I793f960582ce8c066dedd466befcbf534d6d7ddc
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-05-05 14:41:45 +02:00
Jaroslaw Chodor
a8269f55f9
Removing grf size from kernel descriptor
...
Change-Id: I62954d5de596410a463459cc185ff950871fcd36
2020-04-25 00:15:05 +02:00
Jaime Arteaga
6ad065c437
Remove validation for kernel descriptor version
...
This belongs in the validation layer.
Change-Id: I4595d5761489aa658ed5a474993bcf3a62b82600
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-09 17:53:47 -07:00
Jaroslaw Chodor
2c25777f3c
DispatchKernelEncoder refactor
...
Replacing parts of DispatchKernelEncoder with KernelDescriptor
Change-Id: I1c780b04a2d3d1de0fb75d5413a0dde8b41bbe07
2020-04-08 16:19:21 +02:00
Mateusz Hoppe
3d4051abdf
Query for number of local ids channels
...
Change-Id: I9f217d83c4399397484d56ff47b16697dd29180b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-06 22:43:36 +02:00
Mateusz Hoppe
74cb8dd41e
Add isInlineDataRequired() to DispatchKernelEncoderI
...
Change-Id: I0baaeddc16fe068f6c1ddd6c6697d447c4411055
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-06 11:16:19 +02:00
Jaime Arteaga
8f5533dafc
Correctly rename Level Zero functions as kernels
...
Change-Id: I8bc079a737171246fa62c759f594c3e841a2fcf8
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-03 07:59:58 +02:00
Jablonski, Mateusz
05c29816c8
Minor fixes for private memory in KernelImmutableData
...
correct root device index of allocation
fix typo in KernelImmutableData destructor
Related-To: NEO-3691
Change-Id: I8633dace1863521514e29c32a8033e8f7bb04dac
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com >
2020-04-02 16:50:49 +02:00
Jaime Arteaga
d96e462754
Reorganize Level Zero Core API files
...
Change-Id: I95750b90748dd65310fa72b030ea3ab2f72d3f24
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-03-25 11:21:43 +01:00