mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Pass root device index to get proper kernel info
Related-To: NEO-5001 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d3f3730989
commit
350ec9f16b
@@ -34,8 +34,9 @@ class SchedulerKernel : public Kernel {
|
||||
}
|
||||
|
||||
size_t getCurbeSize() {
|
||||
size_t crossTrheadDataSize = getDefaultKernelInfo().patchInfo.dataParameterStream ? getDefaultKernelInfo().patchInfo.dataParameterStream->DataParameterStreamSize : 0;
|
||||
size_t dshSize = getDefaultKernelInfo().heapInfo.DynamicStateHeapSize;
|
||||
auto &defaultKernelInfo = getDefaultKernelInfo();
|
||||
size_t crossTrheadDataSize = defaultKernelInfo.patchInfo.dataParameterStream ? defaultKernelInfo.patchInfo.dataParameterStream->DataParameterStreamSize : 0;
|
||||
size_t dshSize = defaultKernelInfo.heapInfo.DynamicStateHeapSize;
|
||||
|
||||
crossTrheadDataSize = alignUp(crossTrheadDataSize, 64);
|
||||
dshSize = alignUp(dshSize, 64);
|
||||
|
||||
Reference in New Issue
Block a user