Mateusz Hoppe
ef4fae3903
Enable TBX mode in level zero
...
RelatedTo: NEO-4644
Change-Id: I76913d6b7c7d978a5a90a7a574778c67283497c1
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-05-06 16:33:15 +02:00
Jaime Arteaga
0c1282ab82
Add levelZeroSupported field to RuntimeCapabilityTable
...
So initialization fails gracefully when Level Zero is
executed in unsupported platforms.
Change-Id: I06bd9f00260ebb1266108bd4ccee7abbc9275200
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-05-06 07:59:46 +02:00
Raiyan Latif
031ea89465
Return silently when memory hint/prefetch unsupported for alloc type
...
Change-Id: I26324d47358ebcfe2d5af9e4fb22448e7e453d15
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2020-05-06 01:18:43 +02:00
Jim Snow
f0c7f5f5de
Propagate errors in ModuleImp::createKernel
...
Change-Id: I71612013e27315841103ceaf1de9ea11c1876ac6
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-05-05 11:56:28 -07:00
Maciej Plewka
35d9b4365b
Return correct engines count in device properties
...
Change-Id: Ic1272973fd0f5340ac3c2ade43f59021f54f424b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-05-05 17:04:52 +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
kamdiedrich
70c39ec57b
Add re-mapping for hostPtr for copyRegion
...
Change-Id: I40db767a9bca7bc9a19ce6b5f760db62605bdb96
2020-05-05 10:19:20 +02:00
Jaime Arteaga
a6a8a69f4c
Return build number in Level Zero driverVersion
...
Change-Id: I5c1790b291fe536801bfe4aa5f9ac9b7ed230f66
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-05-05 10:04:25 +02:00
Aravind Gopalakrishnan
b42d789e04
Fix event sizing for kernel timestamps
...
Standardize the format for kernel timestamps
and logic used to read the data.
Change-Id: I9418c2e09987dc778302026b705d056c84996983
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-05-05 00:34:59 +02:00
Lukasz Jobczyk
536c50234f
Pass linear stream to encode MMIO
...
Change-Id: I07bafc49676e31fb457a63f4655a98fd0c793389
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-05-04 14:48:49 +02:00
Filip Hazubski
22f9893495
Add debug flag to override device enqueue support
...
Enabling the new debug flag will disable support of device enqueue feature.
Related-To: NEO-4368
Change-Id: Icd17b44986bb682873364a2603633b7e44723a06
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-05-04 11:01:14 +02:00
Maciej Plewka
bc09c95a17
Use memcpy_s instead of memcpy
...
Change-Id: I14ae0f782f38f21fa5a1ce1fd7125e97065b5a61
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-04-30 16:50:00 +02:00
Maciej Plewka
67198ea705
Use bliter for memoryFill
...
Change-Id: I2e60d1b436cb2955952b62b1eb43d9efbe70d19b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-04-29 16:10:57 +02:00
Jaroslaw Chodor
1f8fdf4fc0
Adding relocations debug information
...
Change-Id: I7f5ae46dc8774d8977b1e9adaeccfd4dd5dd57af
2020-04-29 00:43:33 +02:00
Katarzyna Cencelewska
9cdd0574c1
Move init of image builtins to separate function in level_zero
...
Change-Id: I15879af545159da3646a6bd71bf0d952735b37aa
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2020-04-28 17:52:23 +02:00
Konstanty Misiak
d684b40d3e
Add target for neo shared unit tests
...
Change-Id: I78e8985242025d456c0ad214a9293793857ec888
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-04-28 11:40:11 +02:00
Zbigniew Zdanowicz
b2210fa5bb
Refactor MemorySynchronizationCommands class
...
Related-To: NEO-4338
Change-Id: Id0ae9c73293fd99f53fccc11a69ca14fa9a6d119
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-04-27 17:33:31 +02:00
Jaroslaw Chodor
a8269f55f9
Removing grf size from kernel descriptor
...
Change-Id: I62954d5de596410a463459cc185ff950871fcd36
2020-04-25 00:15:05 +02:00
Jim Snow
2dbffe8b64
Allow zeEventPoolCreate with no device
...
We use the first device associated with the driver when no device
is explicitly provided.
Event pools are no longer created via a device method.
Change-Id: Ib16dc79be3ceb1f822c7c1dace7264a0052a6593
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-04-24 00:55:32 +02:00
Spruit, Neil R
e01b9e0c86
Updated events to store CommandStreamReceiver at init
...
- Updated Event Class to store a pointer to the associated device's command
stream receiver to use during query status and host synchronize
Change-Id: I130df8541ca6a13396669c75fefd135d5ad1ef7d
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2020-04-23 19:18:55 +02:00
kamdiedrich
f93072ddf5
Refactor image formats
...
Change-Id: I01eaf33e4c31437f3a820655cda21f3e2cf6d6df
2020-04-23 15:35:30 +02:00
Vinod Tipparaju
843edb10c8
Allow nullptr device handle input to allocSharedMem()
...
Change-Id: I96aad20a44c268d66ade669487e8895652d88622
2020-04-23 11:10:18 +05:30
Jaime Arteaga
2c93f0dc99
Silence clang-tidy warnings
...
Change-Id: I781163ffab330582c9c64d5c3774a25ea35e0dc5
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-21 11:04:02 +02:00
Aravind Gopalakrishnan
71ff85cf2c
Complete kernel prior to timestamp capture
...
While at it, fix event flag check upon creation
Change-Id: I2c57b0e20141fc38a4de695cae79bf2f14dd6cdd
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com >
2020-04-17 20:43:38 +02:00
Jim Snow
b58371df4e
Return device in zeDriverGetMemAllocProperties
...
Change-Id: Idc616fff41375a17fac04e5b036def9445d8bcfe
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-04-16 14:53:24 -07:00
Mateusz Jablonski
0c404bc880
Pass device bitfield to allocation properties when creating mem obj
...
Related-To: NEO-4484
Change-Id: I961e9122591dc7293e37d5c1ca58cbcd649ee653
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-04-16 15:01:37 +02:00
Brandon Yates
86c8b87c8b
Fixing unset bytes in device properties
...
Change-Id: I2c5cb68e013b26c43c9f1bad45507e4a03e939f4
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2020-04-16 08:17:40 +02:00
Maciej Plewka
38792dd170
Add debug flag to enable copy only cmdLists and cmdQueues
...
Change-Id: I88220e1754265843dccda7ca29678e0d8bab0e5c
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-04-15 23:16:31 +02:00
Mateusz Jablonski
3622964504
Remove redundant virtual keywords
...
Change-Id: I92e98b0c6cec01a82c273c1168290d1fe64e1cf7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-04-15 18:50:21 +02:00
Mateusz Jablonski
c180932272
Add NOLINT to SetUp and TearDown methods
...
Change-Id: I30343b220dbedb9f4e471f805f65a78aaa64a1b1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-04-15 18:34:32 +02:00
Mateusz Hoppe
a13c1e642d
Handle debug data when using native binaries
...
- fix for debugger when programs are created from
binaries
Change-Id: I31bbb941c4f4aff577aa5393b3e09e9a97b868ae
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-15 17:20:08 +02:00
Mateusz Hoppe
13ccef4b7a
Cmdlist tests for appendWaitOnEvents
...
Related-To: NEO-4515
Change-Id: I10f579ef66be199d88d6f219047a9f24663663ee
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-14 16:17:16 +02:00
Jaime Arteaga
ac4e9c129a
Correctly set normalized mode in zeSamplerCreate()
...
Change-Id: If9d595136668e2a12b1871c7dc06f96101eba10d
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-14 09:37:52 +02:00
Mateusz Hoppe
ed6a9e8a5e
CmdList tests for barriers and events
...
Related-To: NEO-4515
Change-Id: I4de04d557fa049961672b8e919d8e928207238db
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-11 17:34:14 +02:00
Jaime Arteaga
04bb54d1ac
Flush print buffer when destroying the command queue
...
This ensures all pending prints are flushed, in the case
for instance zeCommandQueueSynchronize() is not called.
Change-Id: I4b50c535e4681eff4708242febc948c21c715055
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-10 13:15:23 +02:00
Mateusz Hoppe
0dd0145de0
Tests for cmdlist
...
Related-To: NEO-4515
Change-Id: Ibedf100f6c95959ffbbecfaff435a188fbe8c2fb
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-10 11:05:21 +02:00
Jaime Arteaga
1126f6c677
Correctly return numAsyncCopyEngines in Level Zero
...
Change-Id: I2dcd9b4ac8082239bfdc48ad7480a50347400ee6
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-10 09:27:41 +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
Mateusz Hoppe
e5072225a5
Pass optimization disable option based on debugger query
...
Related-To: NEO-4404
Change-Id: Ie6de202dc8e818a540983b8e5fa6c789b7c15b98
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-09 19:02:02 +02:00
Zbigniew Zdanowicz
5e98368dad
Remove RMW access patterns from functions programming on gfx memory
...
Related-To: NEO-4338
Change-Id: I8fe555525f937e75c5439702b328c734af9af1f9
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-04-09 18:49:30 +02:00
Maciej Plewka
691a4ea823
Add blit copy implementation for L0
...
Change-Id: I327a4cf977e166cb648ee9f3a79374f7cefa7b1b
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-04-09 13:36:09 +02:00
Jaime Arteaga
b5bd669fdf
Add ULTs for canAccessPeer
...
And generalize its implementation by removing debug variables,
which are already used at initialization.
Change-Id: I1c3f33e6be311b831bbc42587d195e1d8c7d19be
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-09 10:32:29 +02:00
Mateusz Hoppe
05951d3a9e
Add more cmdlist tests
...
Related-To: NEO-4515
Change-Id: I0ba9f04eb9f3728bab84604d4740650cd9d0e4ae
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-09 09:49:28 +02:00
Pawel Cieslak
f184d79325
Fix clang-10 runtime error: applying non-zero offset to null pointer
...
Change-Id: Ib53d7eb39378875287442b0776bf47760b041083
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-04-08 19:08:20 +02:00
Jaime Arteaga
8f4ca00b8c
Add support for ZE_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER
...
Change-Id: I52267d3179ded147a91bcfa0d0023fd4cacb4129
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-08 08:27:00 -07:00
Jaroslaw Chodor
2c25777f3c
DispatchKernelEncoder refactor
...
Replacing parts of DispatchKernelEncoder with KernelDescriptor
Change-Id: I1c780b04a2d3d1de0fb75d5413a0dde8b41bbe07
2020-04-08 16:19:21 +02:00
Jaime Arteaga
29464fb9ad
Correct root device index in SBA programming (2)
...
Add ULT
Related-To: NEO-3691
Change-Id: I61f6ba9b988b5245a2657c38c7bb0b94fbb3a295
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-08 11:54:26 +02:00
Jaime Arteaga
2b5e776e4a
Remove validation of desc for image create
...
This belongs to the validation layer
Change-Id: Iab744084b034d5bdf5d953c406895b79049309e6
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-04-07 21:59:15 -07:00
Mateusz Hoppe
a77965adf7
Use PRINTF_SURFACE for printf buffer allocation
...
BUFFER_HOST_MEMORY is incorrect type
Change-Id: I4c03b35cda2f5097ee6cd155e4f4812ce3796289
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-04-07 15:51:49 +02:00
Pawel Cieslak
1544f23281
Silence clang-tidy warnings.
...
Change-Id: Ia71a126fefa598d4fa0e2b2fe51fb7d8574f0b68
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-04-07 11:27:09 +02:00