Refactor internal interface

Related-To: NEO-5244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2021-02-10 23:01:10 +00:00
committed by Compute-Runtime-Automation
parent 315146a43d
commit c35f560971
8 changed files with 122 additions and 46 deletions

View File

@@ -79,7 +79,7 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(z
KernelImp *kernelImp = static_cast<KernelImp *>(kernel);
this->containsStatelessUncachedResource |= kernelImp->getKernelRequiresUncachedMocs();
uint32_t partitionCount = 0;
NEO::EncodeDispatchKernel<GfxFamily>::encode(commandContainer,
reinterpret_cast<const void *>(pThreadGroupDimensions),
isIndirect,
@@ -88,7 +88,8 @@ ze_result_t CommandListCoreFamily<gfxCoreFamily>::appendLaunchKernelWithParams(z
0,
device->getNEODevice(),
commandListPreemptionMode,
this->containsStatelessUncachedResource);
this->containsStatelessUncachedResource,
partitionCount);
if (device->getNEODevice()->getDebugger()) {
auto *ssh = commandContainer.getIndirectHeap(NEO::HeapType::SURFACE_STATE);