Commit Graph

22 Commits

Author SHA1 Message Date
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