Commit Graph

127 Commits

Author SHA1 Message Date
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
e7c23a7384 doc: use apt instead of apt-get
to avoid issues, when ppa info was modified

Change-Id: I936ea2f79370079592a4e018ede0036dcda7159d
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-04-21 10:32:05 +02:00
e35f55361f Change Metrics Library binary filename to 'libigdml.so'
Change-Id: I559c772083f615219f7db64fc0105f20c13e62e5
2020-04-20 09:40:48 +02:00
3c2e98e22f Implement Engine APIs
Add logic to implement the following Engine APIs
-zetSysmanEngineGet
-zetSysmanEngineGetProperties
-zetSysmanEngineGetActivity

Change-Id: I48fe1d73b7449c80304df09537024cdcfe4e0387
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-18 01:28:27 -04:00
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
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
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
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
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
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
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
ab9f7b4c53 Engine API's boilerplate for Level Zero Sysman
Change-Id: Ib73b419b53f96a71c1d604cf0091792b33c7fae1
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-15 17:31:05 +02:00
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
4e75ea0496 Scheduler API's boilerplate implementation
Add boilerplate for all scheduler APIs listed in spec.

Change-Id: I0ba7e4d969f409e1a3360204dbc16037898d64c8
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-04-14 19:23:47 +02:00
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
ea73d3ade7 Fixed system headers mismatch build issue.
Change-Id: Ief57cf16251ca90084937c3f3887c86502e9ef38
2020-04-14 11:55:19 +02:00
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
e8085c5740 Stop building Neo under Ubuntu 16.04
- IGC stopped to support Ubuntu 16.04

Change-Id: I45a4993c7ffa2633ec6060b924e4a70ba791347b
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-04-14 01:52:27 +02:00
87028f9632 fix PCI class ctor and dtor.
Change-Id: I6c709a7a92ca280ee2289145e2bcbae3fc4734b3
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-04-13 10:58:51 -07:00
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
e0633548a9 Add defaults to memoryHandleContext structure
Change-Id: If82510dff1ab77d4b4c3c77079035ca2ca15ea10
2020-04-11 03:41:07 -04:00
ab67b94340 Updating Memory API implementations
- updating zet sysman for memory
 - updating memoryhandlecontext init and memory get by checking
isLocalMemorySupported flag

Change-Id: I084068eb0865bb037b7d80246c4a9c74d3ff2cc1
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-10 21:59:27 +02:00
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
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
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
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
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
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
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
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
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
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
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
2c25777f3c DispatchKernelEncoder refactor
Replacing parts of DispatchKernelEncoder with KernelDescriptor

Change-Id: I1c780b04a2d3d1de0fb75d5413a0dde8b41bbe07
2020-04-08 16:19:21 +02:00
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
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
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
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
aa1a359817 Clean incorrect namespace comment
Change-Id: Ica91f0f7c0883c3ae8edba0e4b1a78a3c10b9256
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-07 09:53:42 +02:00
6529c9bdfb doc: update information about binary packages
Change-Id: Ib930a2c2910b61ae05d8b0a3b7e859a65f3f4e4b
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-04-07 08:52:15 +02:00
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
3c3e1a9c5c Adjust path for Sysman Standby implementation source.
Change-Id: I7fdabf5098efd9b4a1d68bbbd3f31ac8b8cd5797
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-04-06 18:55:04 +02:00
bd247d725b AppendLaunchKernel tests
RelatedTo: NEO-4515

Change-Id: I1f719ea1f60f313fba44d49f84fe2caf6ea4e5c4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-06 15:46:04 +02:00
8ddf7aff1f Fix some clang-tidy warnings
Change-Id: Id13c787d6a5a129505d5934c4d488999ecd671eb
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-04-06 14:39:23 +02:00
a56c27799b Constructors cleanup
Change-Id: I3b69c3951929588f346ad8557ca9a7808afe1c84
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-06 14:06:22 +02:00
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
b285d65d1d Removed unused function from L0::Device
Change-Id: Ia5ebf6be81efcdcbcca8cbe6c2a6c2fd358ecfe3
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-04-03 21:22:33 -07:00
bb5df7afb9 CommandList constructors cleanup
Change-Id: I47b17cc657f44ca54daece0a570ee40cfd10e8f1
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-03 19:31:04 +02:00
6d4832fe24 Correct root device index in SBA programming
Related-To: NEO-3691
Change-Id: I568072d0f915484cc81a1d336f6efd86cba76f62
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-04-03 14:36:23 +02:00
9dc7e2cfaf Initalizing the memoryProperties structure
Change-Id: I2ce5a0e1bfc54c9d21746a5bb6ebe6260370fc1c
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-03 05:51:29 -04:00