mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Cleanup around Walker programming.
- remove redundant methods. - remove redundant parameters. - Simplify the logic of programWalker Change-Id: I6112bb19fd0008530f5e5510238bf42e669379b7
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation
|
||||
* Copyright (C) 2018-2019 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -131,7 +131,6 @@ void GpgpuWalkerHelper<GfxFamily>::dispatchScheduler(
|
||||
|
||||
bool localIdsGenerationByRuntime = KernelCommandsHelper<GfxFamily>::isRuntimeLocalIdsGenerationRequired(1, globalWorkSizes, localWorkSizes);
|
||||
bool inlineDataProgrammingRequired = KernelCommandsHelper<GfxFamily>::inlineDataProgrammingRequired(scheduler);
|
||||
bool kernelUsesLocalIds = KernelCommandsHelper<GfxFamily>::kernelUsesLocalIds(scheduler);
|
||||
KernelCommandsHelper<GfxFamily>::sendIndirectState(
|
||||
*commandStream,
|
||||
*dsh,
|
||||
@@ -145,9 +144,7 @@ void GpgpuWalkerHelper<GfxFamily>::dispatchScheduler(
|
||||
preemptionMode,
|
||||
pGpGpuWalkerCmd,
|
||||
nullptr,
|
||||
localIdsGenerationByRuntime,
|
||||
kernelUsesLocalIds,
|
||||
inlineDataProgrammingRequired);
|
||||
localIdsGenerationByRuntime);
|
||||
|
||||
// Implement enabling special WA DisableLSQCROPERFforOCL if needed
|
||||
GpgpuWalkerHelper<GfxFamily>::applyWADisableLSQCROPERFforOCL(commandStream, scheduler, true);
|
||||
@@ -188,11 +185,4 @@ void GpgpuWalkerHelper<GfxFamily>::setupTimestampPacket(
|
||||
}
|
||||
}
|
||||
|
||||
template <typename GfxFamily>
|
||||
void GpgpuWalkerHelper<GfxFamily>::adjustWalkerData(LinearStream *commandStream,
|
||||
WALKER_TYPE<GfxFamily> *walkerCmd,
|
||||
const Kernel &kernel,
|
||||
const DispatchInfo &dispatchInfo) {
|
||||
}
|
||||
|
||||
} // namespace OCLRT
|
||||
|
||||
Reference in New Issue
Block a user