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
f93072ddf5
Refactor image formats
...
Change-Id: I01eaf33e4c31437f3a820655cda21f3e2cf6d6df
2020-04-23 15:35:30 +02:00
843edb10c8
Allow nullptr device handle input to allocSharedMem()
...
Change-Id: I96aad20a44c268d66ade669487e8895652d88622
2020-04-23 11:10:18 +05:30
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
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
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
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
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
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
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
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
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
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
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
08546b65c7
Reset kernel properties before filing with proper values
...
Change-Id: I039659d3c5a7146fd9fe8251259f715923df3a82
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-04-02 16:10:46 +02:00
62ef24c52a
getExtensionFunctionAddress - use lookup map
...
Change-Id: I8fac8d65da12a2703129419d87ad6592260dce5a
2020-04-02 14:44:49 +02:00
d0527e1049
Rename memory_constants.h to constants.h
...
Change-Id: I05b5d20bac12935dc6625b94adc3a03c98c19b49
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-02 14:19:39 +02:00
c294747979
Move methods from DriverHandle to Device
...
allocateMemoryFromHostPtr
allocateManagedMemoryFromHostPtr
add mock driver handle
Related-To: NEO-3691
Change-Id: Iee8a167e248871b3b5fc495bd79b3b5654fb1bbc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-04-01 20:37:43 +02:00
a7e4ad4eba
Add unspecifiedDeviceIndex constant
...
Change-Id: I146e9c80ce0d18aae5e56fadf83f5e1603173fd7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-04-01 20:37:05 +02:00
d1bc7199de
Switch to 3D pipeline to program selected commands - part 2
...
Resolves: NEO-4447
Change-Id: I1dd6a9694cdf3be19aadec1cd139c466baecbcd7
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-04-01 10:42:55 +02:00
f417c13534
Cleanup image implementation
...
Remove unused functions
Remove dead code
Add static functions
Add new formats support
Add unit tests
Change-Id: I95ac1ca1997d4968ce350a0cde169b13cae58edb
2020-03-30 14:02:35 +02:00
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
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
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
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
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
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
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
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
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
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
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