Compute-Runtime-Validation
84a1ccb991
Revert "Remove overridePlatformName method"
...
This reverts commit 2484c68fe3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-18 10:57:19 +01:00
Rafal Maziejuk
7d7efb5acd
Correct aub test for enqueueCopyImage
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-02-18 10:23:05 +01:00
Mateusz Jablonski
6799ea6119
Move linux device factory tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-18 10:15:53 +01:00
Mateusz Hoppe
be7c45bab0
Fix registering and unregistering module debug handle
...
- do not unregister module handle if not registered before
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-18 08:43:15 +01:00
Kacper Nowak
b62675290f
Refactor source level debugger notification in OCL. [2/2]
...
Refactor source level debugger notification about debug data in OCL
(build/link path).
- Share common code
- Remove unnecessary function(s)
- Zebin-related ULTs refactor
Related-To: NEO-6644
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-02-17 21:40:05 +01:00
Mateusz Jablonski
c30ee611de
Add ocl to filenames with excludes for opencl unit tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-17 17:59:05 +01:00
Mateusz Jablonski
4f71aaf595
Handle SIMD-1 scenario when programming local ids for implicit args
...
according to implicit args design for SIMD-1 local ids are one-by-one
Resolves: NEO-6692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-17 17:48:54 +01:00
Mateusz Jablonski
28e89b2c30
Add missing include
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-17 17:38:09 +01:00
Bartosz Dunajski
2484c68fe3
Remove overridePlatformName method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-17 16:16:08 +01:00
Maciej Plewka
f9307bb20e
Fix don't store internal host mem in hostPtrMap
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-02-17 14:38:40 +01:00
Baj, Tomasz
0d68c55198
Remove all TODOs
...
Related-To: NEO-6674
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-02-17 14:10:47 +01:00
Mateusz Jablonski
235f9be779
Move ioctl strings out of ioctl helper
...
In order to setup ioctl helper we need to call ioctl to get hw info
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-17 12:30:47 +01:00
Fabian Zwolinski
63ae26715e
Remove GMock from MockD3DSharingFunctions
...
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-02-17 11:50:18 +01:00
Compute-Runtime-Validation
83025da96f
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit 24c18beada .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-17 09:42:22 +01:00
Jaime Arteaga
24c18beada
Add ze_eu_count_t to get total number of EUs
...
Related-To: LOCI-2667
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-02-16 17:25:26 +01:00
Daniel Chabrowski
2e9925c231
Extend createMultiHostAllocation, allocWithAlignment
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-16 17:11:22 +01:00
Dominik Dabek
e0c892ed55
Add lock to downloading allocations on tbx
...
When running multiple threads, one thread could clear
allocationsForDownload while another was iterating over it.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-02-16 16:51:41 +01:00
Igor Venevtsev
60d6505932
L0 debugger - reports process ENTER/EXIT events for zeCommandQueues
...
- PROCESS_ENTRY - triggered by first zeCommandQueueCreate()
- PROCESS_EXIT - triggered by last zeCommandQueueDestroy()
Resolves: NEO-6503
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-02-16 16:28:33 +01:00
DmitryBushev
dbe1779e4b
Add compiler mocks for new fcl interface
...
Signed-off-by: DmitryBushev <dmitry.bushev@intel.com >
2022-02-16 15:17:30 +01:00
Mateusz Jablonski
dabbabd3c9
Refactor createDrmContext function
...
merge createDrmContext, createDrmContextExt and appendDrmContextFlag
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-16 15:15:35 +01:00
Rafal Maziejuk
2d901f925c
Run aub tests for enqueue image operations with BCS enabled
...
Following API calls are being tested:
- enqueueWriteImage
- enqueueReadImage
- enqueueCopyImage
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6135
2022-02-16 14:54:48 +01:00
Patryk Wrobel
1275c4e200
Detect GPU hang in remaining blocking calls of L0
...
This change introduces detection of GPU hangs in
zeEventHostSynchronize and zeFenceHostSynchronize.
Furthermore, if CommandQueueHw::executeCommandLists
uses ZE_COMMAND_QUEUE_MODE_SYNCHRONOUS and hang occurs,
the information about it is propagated to the caller.
Related-To: NEO-6681
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-02-16 14:47:29 +01:00
Mateusz Borzyszkowski
64b8de3c1d
Prepare offline compiler to add -gen_file option
...
Add dummy option to ocloc cmd. This is a preparation to add
a new option that will control dumping gen file.
Signed-off-by: Mateusz Borzyszkowski <mateusz.borzyszkowski@intel.com >
2022-02-16 13:10:33 +01:00
Rafal Maziejuk
2c18a4c0d9
infra update
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-02-16 11:48:29 +01:00
Mateusz Jablonski
b9d613995d
Move createDrmVirtualMemory function to drm_neo.cpp
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-16 11:34:52 +01:00
Rafal Maziejuk
7931fb8f9a
Correct aub tests for image enqueue operations 3/n
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6135
2022-02-16 10:59:36 +01:00
Daniel Chabrowski
85de06649d
Support for execbuffer user fence ext
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-16 10:55:07 +01:00
Mateusz Jablonski
a59d285fde
Add function to create VmControlExtRegion
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-16 10:12:06 +01:00
Mateusz Jablonski
4a24195e99
Move bind/unbind buffer objects methods to drm_neo.cpp
...
use ioctl helper to handle binding properly
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-16 08:37:16 +01:00
Aravind Gopalakrishnan
74cdd60255
[7/n] L0 immediate commandlist improvements
...
Enable flushTask only for specific families for now
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-02-15 18:43:30 +01:00
Daniel Chabrowski
3944bf8ad5
Zero the handle for bound BO exec
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-15 18:00:43 +01:00
Mateusz Hoppe
0e37f8c830
Register zebin module for all kernel allocations
...
Related-To: NEO-6637
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-15 16:58:04 +01:00
Bartosz Dunajski
17edd5abc2
Add CachePolicyGetPATIndex API support to GmmClientContext
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-15 16:23:35 +01:00
Mateusz Jablonski
b681b2ae10
Create struct for vm bind params
...
add ioctl helper function for vm bind and vm unbind
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 16:11:11 +01:00
Mateusz Hoppe
b71a12c252
Set cooperative flag for debuggable contexts during creation
...
Related-To: NEO-6668
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-15 16:00:25 +01:00
Kacper Nowak
cd9cc53159
Correct setting usesStringMap flag in printf
...
This commit fixes setting usesStringMap flag for printf, taking into
account using indirect functions in legacy (non-zebinary) path. It also
adds new field to kernelDescriptor, specifying the binary type
(legacy/zebin).
Related-To: NEO-6604
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-02-15 15:39:10 +01:00
Mateusz Jablonski
143f67f2fe
Enable vm bind availability based on ioctl helper support
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 15:27:52 +01:00
Daniel Chabrowski
f7322d3b85
Extend EngineInfo with additional copy engines
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-02-15 15:05:02 +01:00
Mateusz Jablonski
19c7162cf6
Add functions to create and fill VmBindExtSetPat and VmBindExtSyncFence
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 14:04:57 +01:00
Zbigniew Zdanowicz
3066b94779
Correct path in cmake for inl file
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-02-15 12:48:11 +01:00
Mateusz Jablonski
12e2670b9a
Add ioctl helper function to check vm bind availability
...
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 12:43:50 +01:00
Mateusz Jablonski
964596e514
Add methods to prepare VM BIND structs
...
create VmBindExt
setup flags for VM BIND
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 09:25:07 +01:00
Mateusz Jablonski
cf27583264
Move createDrmContextExt to drm_neo.cpp
...
add ioctl helper functions to create dedicated drm contexts
createContextWithAccessCounters
createCooperativeContext
Related-To: NEO-6591
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-15 09:16:36 +01:00
T.J.Vivek Vilvaraj
1e6a38035e
sysman: serialize access to libigsc.
...
In a multi thread environment the access to the external
library needs to be synchronized.
Resolves: LOCI-2871, LOCI-2873
Signed-off-by: T.J.Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com >
2022-02-15 08:08:44 +01:00
Mateusz Hoppe
33f02ee2eb
Print debug message when GPU hang is detected
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-14 20:48:14 +01:00
Compute-Runtime-Validation
c5c3e865f0
Revert "Fail build program on PVC with stateful accesses"
...
This reverts commit 9466113cef .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-14 18:55:14 +01:00
Joshua Santosh Ranjan
cec0ea2809
Metrics Rename OA specific files
...
Rename OA specific files with _oa so that
implementation of other metric sources
could be added seamlessly.
Related-To: LOCI-2945
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-02-14 18:35:19 +01:00
ocldev
1e5f126bcf
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com >
2022-02-14 17:22:50 +01:00
Patryk Wrobel
6ac6db7b04
Store single generic IR in fatbinary when built from SPIR-V input
...
This change prevents embedding identical SPIR-V section for each
target requested in fatbinary build. Instead of duplicating SPIR-V,
a new file called 'generic_ir' is added to AR archive. It contains
SPIR-V, which was used to build fatbinary. Build fallback in runtime
has been also adjusted - if 'generic_ir' file is defined in fatbinary
and there is no matching binary, then this generic SPIR-V is used to
rebuild for the requested target.
Additionally, MockOclocArgumentHelper::loadDataFromFile() was adjusted
to ensure null-termination of returned strings.
This change also removes possible undefined behavior, which was
related to reading names of files from AR archive. Previously,
if filename was shorter than requested target name, we tried to
read more memory than allowed.
Related-To: NEO-6490
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-02-14 15:30:46 +01:00
Baj, Tomasz
2eb7ae7a8d
ocloc accept underline and shorter gen names
...
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
Related-To: NEO-6122
2022-02-14 14:55:30 +01:00