mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-07 21:27:04 +08:00
Add performance hints when kernel's argument requires aux translation
Resolves: NEO-2931 Change-Id: I3756265d0d8a774805b0b35088b7477b09b5a7bf Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
e0e19c2432
commit
27c52714bb
@@ -53,6 +53,7 @@ const char *DriverDiagnostics::hintFormat[] = {
|
||||
"Performance hint: Local workgroup sizes { %u, %u, %u } selected for this workload ( kernel name: %s ) may not be optimal, consider using following local workgroup size: { %u, %u, %u }.", //BAD_LOCAL_WORKGROUP_SIZE
|
||||
"Performance hint: Kernel %s register pressure is too high, spill fills will be generated, additional surface needs to be allocated of size %u, consider simplifying your kernel.", //REGISTER_PRESSURE_TOO_HIGH
|
||||
"Performance hint: Kernel %s private memory usage is too high and exhausts register space, additional surface needs to be allocated of size %u, consider reducing amount of private memory used, avoid using private memory arrays.", //PRIVATE_MEMORY_USAGE_TOO_HIGH
|
||||
"Performance hint: Kernel %s submission requires coherency with CPU; this will impact performance." //KERNEL_REQUIRES_COHERENCY
|
||||
"Performance hint: Kernel %s submission requires coherency with CPU; this will impact performance.", //KERNEL_REQUIRES_COHERENCY
|
||||
"Performance hint: Kernel %s requires aux translation on argument [%u] = \"%s\"" //KERNEL_ARGUMENT_AUX_TRANSLATION
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
@@ -46,7 +46,8 @@ enum PerformanceHints {
|
||||
BAD_LOCAL_WORKGROUP_SIZE,
|
||||
REGISTER_PRESSURE_TOO_HIGH,
|
||||
PRIVATE_MEMORY_USAGE_TOO_HIGH,
|
||||
KERNEL_REQUIRES_COHERENCY
|
||||
KERNEL_REQUIRES_COHERENCY,
|
||||
KERNEL_ARGUMENT_AUX_TRANSLATION
|
||||
};
|
||||
|
||||
class DriverDiagnostics {
|
||||
|
||||
Reference in New Issue
Block a user