This change introduces capability to set surface state base address
when surface state heap or global base address are not available
Related-To: NEO-7187
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
Respect debug flag ForceAllResourcesUncached even when
Override L1 Policy flags are also set
Related-To: NEO-7003
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
Command lists and their helper classes should use engine group type
assigned to the particular command list to check if it is RCS group
and not use default CSR class assigned to the device, since default
and current in command list might be different.
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This change:
- prevents writing memory out of the range of the destination buffer
- prevents calling strlen() with non-null terminated c-string
- corrects the logic, which validates passed range to proceed
when real length fits the destination buffer
Related-To: NEO-7264
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com>
This patch fixes the case when the kernel or
context end timestamp overflows.
Related-To: LOCI-3140
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
- Check that the Image Format is valid for the image
argument to a SPIRv module. If the Image is invalid
return ZE_RESULT_ERROR_UNSUPPORTED_IMAGE_FORMAT.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
Split the function into submethods to improve readability, reusability
and maintability (initially it was ~500 lines long!).
Also, split the execution into 'copy-only' and 'regular' cases to reduce
amount of `if()`s in the code.
Resolves: NEO-7118
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
When importFromNTHandle is called we need to refresh imgInfo data
that contains e.g. offset for UV plane.
Related-To: NEO-7250
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
The default TG dispatch size can be changed
to a better value based on number of threads in TG or
currently available amount of threads on GPU.
Decision on what TG dispatch size should be are based on
implemented heuristics.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6989
Make synchronous mode default
Add asynchronous mode switch for both immediate and regular command lists
Show all invalid data in verbose mode
Add switch for allocation flag
Do not use uncached host allocations as default
Initialize local variables
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
- Properly check for IPC event handle flag to determine if the event
pool memory is sharable between processes.
- Given Host Visible Event Pool, a check is done to determine if the
Host memory can be shared between the processes.
- Enabled handling if Event Host Memory is shareable for DRM
- If Event Pool Memory is Not shareable, then retrieving the IPC Event
Pool Handle returns unsupported.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
Implementation was assuming that if HasRTCalls is true then the
RTDispatchGlobals patch token is also valid, but that isn't the case
when the application is using its own RTDispatchGlobals instead of the
one provided by the L0 UMD.
Related-To: LOCI-3323
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
destroy event and event pool resources
destroy kernel and module resources
pass context handle as reference
change function variable's name and comments to kernel
change variable names to more appropriate
drop driver from function argument in image test
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
add aub mode where it is missing
add missing result checks
unify printing device properties
add printing kernel properties
use unified test result print when applicable
add module creation error handling
make OS agnostic global work offset test
use correct API to retrieve extension in global work offset test
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>