Confirm the allocations used in an appendMemoryCopy operation
belong to the same context as the list.
Related-To: LOCI-1996
Resolves: NEO-6162
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
- Given Device Allocated IPC Event Pool, the open IPC event pool process
must allocate the event pool as a device buffer or usage of the memory
will fail.
- Pass deviceAlloc flag thru the IPC Event Pool Handle to enable the
child processes to allocate the correct memory type.
Related-To: LOCI-3764
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
By default, cooperative dispatch is not supported
for platforms not supporting cooperative engine.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Optimize zeKernelSetGroupSize by early returning success if group size
values have not changed since last function call.
Related-To: NEO-7394
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
This commit is fixing signal event after append operation.
1st fix is to add signal all packets to timestamp event on copy only lists.
2nd fix is to change order of dispatched commands for compute lists to move
light signal event commands before stalling command.
Related-To: NEO-7490
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
Add support for kernel payload arguments describing data const and
data global buffers in zeInfo.
Argument contains:
* Offset in cross thread data where buffer's address should be written to.
To be removed later. Relocations should be used instead.
* Index in binding table where corresponding Surface State should be present.
Required for bindful access to data buffers.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
1. Added support to know if test parameter was set or
has a default value
2. Added feature to display all metric groups and
metrics supported by the platform
3. Added a test to verify query mode on an immediate
command list
4. Added an utility to continuously listen/collect
metrics on a device
5. Added support to display only specified list of
metrics during collection
Related-To: LOCI-3722
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This commit fixes two issues for signal event API call
Fix one is for signal event call to reposition signaling commands before
stalling post sync command.
Second fix is to make sure copy command lists also support signal all packets.
Related-To: NEO-7490
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
add mocks for Platform version 2
create wrapper to populate IGC platform depending on interface version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
During async thread event processing, it was possible to
read SSAH before any threads stopped and before it was
resident resulting in an assert. This is both a fix for
assertion and minor optimization.
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
This change helps in achieving the following:
- Moves the OS specific code from scheduler_imp.cpp to os specific
files.
- Frees any drm resource, including level zero's before enabling/dis
-abling Debug mode. And once Debug mode is toggled, reinitialize of
level zero occurs.
- If current mode is Debug mode and any other mode is requested by user,
then new mode will be made effective by unsetting debug mode.
Related-To: LOCI-866
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
Use correct offset for subBuffer created with clCreateSubBuffer
Make calls to clGetMemObjectInfo for CL_MEM_OFFSET and
CL_MEM_ASSOCIATED_MEMOBJECT return values like with pool buffer disabled
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
Fix in copy only command lists for reset event call.
First fix is to perform reset on all active events.
Second is to add signal all packets call for copy only branch
Related-To: NEO-7490
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>