Mateusz Hoppe
6dc5810c7f
Add more cmdlist tests
...
Related-To: NEO-4515
Change-Id: Idc0e0cdab97cb1a2437c212cbe8ae2bcf673125f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-27 18:26:47 +01:00
Aravind Gopalakrishnan
6c4621f2ec
Fix issue in events
...
alloc was previously potentially never used
Change-Id: I9da9aeb51dcf7881d51bb62ef35c9427c8cc3ef0
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-03-26 23:02:57 +01:00
Mateusz Hoppe
9ad71b47b6
Add unit tests for level zero CommandList
...
Change-Id: Ie6dc0fb9177188873aef96670d7e933a15af75cf
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-26 09:13:11 +01: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
Bartosz Dunajski
70d50616d0
Fix execution mask programming for SIMD1
...
Change-Id: I50a9acb8ec5f9875085bb54eea1c154ed50f22af
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-24 15:47:55 +01:00
Bartosz Dunajski
03ee001445
Set valid number of bits in execution mask
...
Change-Id: I65c3f8cab2f7f86ce36fe476a221242ba5e73b68
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-24 12:02:09 +01:00
Raiyan Latif
dd53734c0d
Return appropriate error code on invalid group size dimension
...
Change-Id: I3a068286cbc28b224c4c67cee2e81e65e253c924
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-03-23 01:40:32 +01:00
Raiyan Latif
8f68af8f82
Add initial symbol exports file to Level Zero
...
Change-Id: Id437219e615110f46869db5473599cca3bc16d79
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-03-20 18:45:00 -07:00
Mateusz Hoppe
aecb689c81
Create object library for ze_intel_gpu
...
Relatet-To: NEO-4480
Change-Id: Ie3b8d18f257b023d8f84713b5231f41ed1ccb21a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-19 09:16:31 +01:00
Filip Hazubski
e1381f89d7
Move DeviceInfo to a separate file
...
Related-To: NEO-3938
Change-Id: Ia255bd41a5dc8e521fe6aca3924b90be003ff93b
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-18 18:12:22 +01:00
Mateusz Hoppe
a179f14412
Cleanup ze_intel_gpu_core_tests
...
- add subdirectories
Related-To: NEO-4480
Change-Id: Ic0a5b983a42b8735d655a9a945426814a363db54
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-17 15:10:03 +01:00
Mateusz Hoppe
1444d98575
Debugger support in L0 fixes
...
Related-To: NEO-4404
Change-Id: I733b3018606b243989d9ba382da9d06bedbae799
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-17 14:31:59 +01:00
Raiyan Latif
43433244f9
Enable support for indirect allocation access to Kernels
...
Change-Id: I3ded8cce3761a38aa4a4d71b4089f79c844311c5
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-03-15 22:13:19 +01:00
Aravind Gopalakrishnan
8cabedfe3d
Fix global start timestamp to provide full 36 bit value
...
While at it, resize events to 16 bytes since it's sufficient
to work across HW families.
Change-Id: I3459926373468246991c141bd96288dba834695b
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-03-14 00:09:51 +01:00
Raiyan Latif
dbb2f1b8c9
Add const suffix to hasIndirectAllocationsAllowed()
...
Change-Id: I6b84410cc3804d8fa889aeb32128b250f4464757
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-03-12 12:25:34 -07:00
Raiyan Latif
f8a4e67ec0
Add helper function for checking kernel memory attributes
...
Change-Id: I1abcf5209ddc0e5ec3ecb1281d4521dcc8dbe745
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2020-03-12 11:38:20 -07:00
Kacper Nowak
b94ce17cb4
remove magic numbers + add reg_global_timestamp to helper
...
Change-Id: I8a42139ef73586edc7f826750f7d6582e1750cad
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-03-12 16:04:49 +01:00
Jaime Arteaga
548a6d1d37
Remove parameter validation from core API
...
This is implemented in the loader
Change-Id: Ic114f569c4e3ebe6e667f6d89f14af21a1f14123
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-11 16:53:12 -07:00
Filip Hazubski
5ac8d8e667
Add ClDeviceInfo
...
DeviceInfo contains a subset of ClDeviceInfo values.
Related-To: NEO-3938
Change-Id: Idae4fae4d25e1fb3106d8b95294fa70ebc6281df
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-11 16:45:27 +01:00
Filip Hazubski
3133d55b3b
Set L0::Device as specializedDevice in level zero
...
Related-To: NEO-3938
Change-Id: I1459610544ca4eda6da49103788faa0f2a2d22e0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-11 07:36:58 +01:00
Jaime Arteaga
fdcc07a121
More cleanup of Level Zero core API
...
Change-Id: Iad2118683efb4f5029503a8fec20d88b37d22e07
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-10 13:40:46 -07:00
Mateusz Hoppe
bbc2e68c92
Basic debugger support in level_zero
...
Change-Id: I9c7d31084916998356493211fb9749222c2cff9f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-10 14:42:15 +01:00
Mateusz Jablonski
74eb153ae0
Level zero: Make global driver handle a unique_ptr
...
Change-Id: Ide7c99dffa43e87c06f59c38cc6672c9647b9996
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-09 20:40:20 +01:00
Jaime Arteaga
9e33860f5c
[L0] Avoid returning zero numSlices when no subDevices present
...
Change-Id: Ie9d8a2b0bf31acf2daaf97c9272cee16acd36d9c
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-07 03:27:43 +01:00
Aravind Gopalakrishnan
28c114e700
[L0] Fix regression on fence host sync
...
Change-Id: I769212c4e7478959b0e9a126064eb0ab09a3f183
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-03-06 16:07:29 -08:00
Brandon Fliflet
27f4bce42f
Initial support for oneAPI Level Zero
...
Change-Id: I221df8427b1844237a4d9d900c58512706b0be0f
2020-03-06 14:53:29 +01:00