Commit Graph

6444 Commits

Author SHA1 Message Date
Filip Hazubski
e41731211a Update latestConformanceVersionPassed
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-23 16:13:44 +01:00
Bartosz Dunajski
8dfea40242 HwInfoConfig cleanup
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-23 15:28:10 +01:00
Adam Cetnerowski
154f7e87be Framework for adding custom device names
- Add new macro to define custom name
- Add handling for custom name
- Remove gen from generic name

Resolves: NEO-5251

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-23 12:24:53 +01:00
Slawomir Milczarek
8a4bf3782a Code clean-up related to small LMEM BAR configuration
Related-To: NEO-4876

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-23 12:10:45 +01:00
Slawomir Milczarek
b4444c7660 Move close shared handle to the upper layer on Linux
Related-To: NEO-5274

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-23 11:45:05 +01:00
Mateusz Hoppe
fc9be73491 Fix segfault on debugData access with SourceLevelDebugger
- add mock active debugger mode

Related-To: NEO-5290

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-23 10:52:19 +01:00
Adam Cetnerowski
7f0ba84d2d ULT renaming: Command Queue tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-23 10:42:26 +01:00
Jaime Arteaga
4432547ff5 Add support for importing memory handles through zeMemAllocDevice
Add support for passing ze_external_memory_import_fd_t extended
structure to zeMemAllocDevice() to allocate a device memory
out of an fd handle.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-23 04:18:03 +01:00
Young Jin Yoon
3e69b2084c Add support for zeModuleGetProperties
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-11-21 23:14:30 +01:00
Maciej Plewka
c80353587f Patch bindless offset
Related-To: NEO-4724

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
20.47.18513
2020-11-20 23:02:36 +01:00
Aravind Gopalakrishnan
223de6dd8c Revert "Use device allocation for events if host visibility not set"
This reverts commit 2c312bc70a.
Reverting due to failures in CI
2020-11-20 21:21:11 +01:00
Mateusz Jablonski
a67e829fa8 Store crossThreadData per root device in Kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-20 20:49:50 +01:00
Sebastian Luzynski
556b6cd457 Add concurrent kernel execution type
Related-To: NEO-4940
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-11-20 16:12:42 +01:00
Mateusz Jablonski
85ce7a5866 Ocloc: setup hw info values from default config
Related-To: NEO-5287
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-20 15:32:49 +01:00
Bartosz Dunajski
ba51cf5380 Bring back adjustPlatformForProductFamily() method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-20 15:26:28 +01:00
Mateusz Hoppe
7330f989ef Refactor bindAvailable
Related-To: NEO-5316

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-20 13:35:28 +01:00
Maciej Plewka
e448527150 Mark override TearDown in KernelArgBufferFixtureBindless
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-20 11:44:00 +01:00
Artur Harasimiuk
124b7d0084 infrastructure update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-11-20 10:36:37 +01:00
Young Jin Yoon
504814445d Add driver handle tests
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-11-20 03:28:36 +01:00
Jaime Arteaga
97437830a7 Add support for exporting memory handles through getAllocProperties
Add support for passing ze_external_memory_export_fd_t extended
structure to zeMemGetAllocProperties() to retrieve an fd handle
for a device allocation.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-20 00:28:15 +01:00
Aravind Gopalakrishnan
2c312bc70a Use device allocation for events if host visibility not set
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2020-11-19 22:51:04 +01:00
Mateusz Jablonski
d59bd2e62b Exclude test for ADLS
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 21:43:08 +01:00
Igor Venevtsev
3491a425a3 Fix time stamps completion
- ignore globalEnd tag
- check contextEnd tag is not 1

Resolves: NEO-4906

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-11-19 18:50:56 +01:00
Maciej Plewka
757e8d746c Don't return value from computeWorkgroupSizeND
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-19 18:29:40 +01:00
Bartosz Dunajski
e08bd20289 Add queryItem flags to drm query ioctl
Signed-off-by: Bartosz Dunajski bartosz.dunajski@intel.com
2020-11-19 18:26:12 +01:00
Mateusz Jablonski
60ba1b7147 Exclude test for RKL
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 18:19:14 +01:00
Bartosz Dunajski
949137e068 Remove not used method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-19 17:55:50 +01:00
Jitendra Sharma
514b191bb6 Add support for sysman event ZES_EVENT_TYPE_FLAG_MEM_HEALTH
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-11-19 17:38:02 +01:00
Mateusz Hoppe
765b6cc2ed Initialize debugging in Os before creating debugger
Related-To: NEO-4516

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-19 16:31:31 +01:00
Mateusz Jablonski
326b7f3908 Correct CFL params in cmake
Related-To: NEO-5284
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 16:22:57 +01:00
Krzysztof Gibala
f2a73ef0f5 Enable memory transfer between buffers in enqueueCopyBuffer
Unlock enqueueCopyBuffer flow, for multi device setup

Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-11-19 14:03:44 +01:00
Mateusz Jablonski
920d873657 Improve VS solution tree
Move shared specific targets to neo shared folder
Move opencl specific targets to opencl runtime folder

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 13:53:51 +01:00
Mateusz Jablonski
2003fe46a6 Don't store Context in Kernel
reuse Context from Program

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-19 13:38:18 +01:00
Jitendra Sharma
4c55491dc1 Update Sysman Memory APIs
This change:

 - Currently for all subdevices in LinuxMemoryImp::getState function,
   free and size values are returned similar values. This change fixes this
   issue and now correct value of size and free memory is returned as
   per subdevice.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-11-19 08:27:14 +01:00
Vinod Tipparaju
240563099c Clean up code for nullptr device check during cmdlist create
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-11-19 04:24:34 +01:00
Jaime Arteaga
905d59d7e3 Allow disabling statefull optimization in L0
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-18 22:33:05 +01:00
Mateusz Jablonski
1af75337a7 Correct OCL test
use kernel and command queue from compatible devices

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-18 18:25:25 +01:00
Mateusz Jablonski
33a487e2cc Create structure for per root device members in Kernel
make private surface per root device

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-18 17:36:05 +01:00
Andrzej Swierczynski
fdeb2a43a3 Run ocloc tests only for first available revision
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-11-18 17:28:48 +01:00
Katarzyna Cencelewska
1b6b6b23b5 Update infra
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-11-18 17:20:06 +01:00
Maciej Plewka
28de4068c9 Read bindless offset from patch token
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-18 17:04:00 +01:00
Filip Hazubski
0c51499679 Provide -ocl-version option when compiling with ocloc
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-18 14:27:39 +01:00
Filip Hazubski
7e5e1690cd Correct ult
Correctly initialize MemoryProperties.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-18 14:11:02 +01:00
Jaroslaw Chodor
451f1e7e0d Fixing residency of global const/var buffers
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-11-18 13:15:06 +01:00
Filip Hazubski
e2631f1fef Add ULT for clGetImageParamsINTEL
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-18 12:12:52 +01:00
Mateusz Jablonski
555dad3009 Add pull-request.yml
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-18 11:57:06 +01:00
Bartosz Dunajski
1350f29379 Add support for FtrLocalMemoryAllows4KB flag
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-18 11:45:08 +01:00
Mateusz Hoppe
13c1fe57d9 Enlarge output buffer size used by kernel printf data
Related-To: NEO-5208

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-18 11:07:08 +01:00
Mateusz Jablonski
9d7807709d Dont use Device from Kernel 2/n
make getDevice method protected

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-18 09:43:08 +01:00
Filip Hazubski
59b74a8ea3 Do not provide -cl-feature option to the compiler
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-17 18:17:34 +01:00