For TGL and ICL platforms - if on clCreateProgramWithSource()
call we detect a nGen dummy kernel usage - enforce fallback to the
patchtokens format (only for this kernel).
- corrected naming
- minor ULTs refactor (less dependencies).
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
Increase chunk alignment from 256 to 512.
Restores performance in some workloads with pool enabled but lowers maximum
possible number of buffers in pool from 256 to 128.
MemObj size will keep the value passed to clCreateBuffer ie. will not be
aligned up by chunk alignment.
CL_MEM_SIZE will now return same value as with pool disabled.
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
additional tag allocations are not needed before creating OCL contexts
with multiple root devices
Related-To: NEO-7634
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
when blit operation and dcflush needed
resolves problem with corruptions visible when switch ccs with bcs
on platforms without engines coherency
Resolves: NEO-7577
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
Add a clearQueueTillFirstFailure interface to DeferredDeleter, which
iterates the queue from the front and delete the allocations in the
queue till a failure. It is called by defer deletion of allocations
occupied by mutliple contexts to unlock the execution in main thread
Related-To: NEO-7532
Signed-off-by: HeFan2017 <fan.f.he@intel.com>
Template Specializations and NiceMocks have been removed in
Linux Common Code, ECC, Firmware, Frequency, Global Operations,
Power, PCI, RAS and Standby ULTs.
Related-To: LOCI-3391
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
For platforms which do not using blit commands for copying,
the bpp could be set as 1, which leaves the transfer dimensions
unmodified.
Related-TO: LOCI-3723
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
Template Specializations and NiceMocks have been removed in
Memory, Performance, Scheduler and Temperature ULT.
Related-To: LOCI-3391
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
Template Specializations and NiceMocks have been removed in
Diagnostics, Engine, Events and Fabric Port ULT.
Related-To: LOCI-3391
Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
1. If cpu based copy is used, it is possible that copy time is
less than device timestamp resolution. In this scenario, this patch
returns 1 instead of 0.
2. This patch also fixes usage of CPU time instead of CPU timestamp
for end timestamp calculation.
Related-To: LOCI-3754
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
This patch will eventaully allow matching UUIDs queried
from NEO with UUIDs queried from other GPU APIs implementations
for Intel GPUs
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
- fix: signal correct remainder packets for single kernels
- fix: signal correct reminder packets for fill and copy memory operations
- fix: all level of event compaction properly estimate reminder events
- refactor: unify code for event signal for kernels
Related-To: NEO-7490
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
Optimize zeKernelSetGroupSize by early returning success if group size
values have not changed since last function call.
Moved ImplicitArgs construction above setGroupSize call
in kernel initialization to prevent pImplicitArgs being nullptr
in calls in which we use cached group sizes and early return.
Related-To: NEO-7394
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
- when driver is unloaded cleanup paths wait for not completed
fences. In case a context has hung - set finite wait timeout
Resolves: NEO-7613
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
- printf used in kernel is printed on synchronize() call, if
hang is detected - printf buffer was not printed immediately but
only when Kernel was destroyed
- this change adds copying printf buffer with internal engine
(whenever available) right after hang detection on
CommandQueue::synchronize() call
Related-To: NEO-6427
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>