When appending memory fill and passing non power of 2 pattern size,
return ZE_RESULT_ERROR_INVALID_SIZE.
Avoids terminating application by abort.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
- Added Support for the RTAs Extension support replacing the Exp support
which will remain for backwards compatability.
Related-To: NEO-15257
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
- Added support for L0 to query Vector Width Properties which allows for
querying all the supported vector widths and their prefferred and
native vector widths per data type.
- Updated shared code to support querying the same values thru
getPreferredVectorWidth* and getNativeVectorWidth* helper functions
for OpenCL and Level Zero.
- Initial support for reporting base values for the vector
widths with future support for reporting different values per platform and
based on the SIMD/SIMT size used.
Related-To: NEO-13745
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Moving defintion of:
- CmdListKernelLaunchParamsExt to cmdlist_launch_params_ext.h
- CopyOffloadMode to copy_offload_mode.h
- MemoryCopyParams to cmdlist_memory_copy_params.h
- CommandToCopy to command_to_copy.h
Store LaunchParamsExt as non-pointer member of CmdListKernelLaunchParams
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
L0 API functions have two definitions, internal and external:
- internal definition is in L0 namespace
- external defintion is in extern C scope and points to internal definition
Below API functions are corrected within this change:
- zeDriverGetDefaultContext
- zerDriverGetDefaultContext
- zerDeviceTranslateToIdentifier
- zerIdentifierTranslateToDeviceHandle
- zeDeviceSynchronize
Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
all ddi entries related to exposed L0 API version should be set to valid ptr
Related-To: NEO-13121
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
As per DDI handles extension, global ddi table pointers will be included
in every L0 handle.
This change is focused on initialization of the global objects and reuse
of them within zeGet...ProcAddrTable functions to avoid duplication
of per component ddi table definitions
Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
As per DDI handles extension, global ddi table pointers will be included
in every L0 handle.
This change is focused on initialization of the global objects and reuse
of them within zeGet...ProcAddrTable functions to avoid duplication
of per component ddi table definitions
Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
- Enabled support for zeInitDrivers which combines init and driver get
support.
- Moved driverHandleGet to be part of Driver class to allow for unit
testing of the functionality.
- Updated GTPIN init conditions such that init only occurs when pCount >
0 and the driver handle pointer is not null. This ensures that the
gtPin init does not trigger during the loader init calling
zeInitDrivers and only is called before the first handle is retrieved.
- Removed ze_init_flags_t flag from all driverInit functions since this
flag is unused in all functions.
Related-To: NEO-12905
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
Related-To: NEO-10356
- Refactoring wait on event to skip flush when needed
- Refactor execute call interface to accept linear stream
- Program wait on events in new interface
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>