mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Apply heuristics when setting TG dispatch size on XE_HPC_CORE
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
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
52133e61ce
commit
ed0c36117e
@@ -111,6 +111,7 @@ struct Mock<::L0::Kernel> : public WhiteBox<::L0::Kernel> {
|
||||
kernelTokens.header = &kernelHeader;
|
||||
|
||||
iOpenCL::SPatchExecutionEnvironment execEnv = {};
|
||||
execEnv.NumGRFRequired = 128;
|
||||
execEnv.LargestCompiledSIMDSize = 8;
|
||||
kernelTokens.tokens.executionEnvironment = &execEnv;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user