mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
Rename CommandMarker to CommandWithoutKernel
Change-Id: Ie19c510465a36ea517a79db9eeac5b5993e44c81 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
@@ -755,7 +755,7 @@ void CommandQueueHw<GfxFamily>::enqueueBlocked(
|
||||
bool storeTimestampPackets = blockedCommandsData && timestampPacketContainer;
|
||||
|
||||
if (enqueueProperties.operation != EnqueueProperties::Operation::GpuKernel) {
|
||||
command = std::make_unique<CommandMarker>(*this, blockedCommandsData);
|
||||
command = std::make_unique<CommandWithoutKernel>(*this, blockedCommandsData);
|
||||
} else {
|
||||
//store task data in event
|
||||
std::vector<Surface *> allSurfaces;
|
||||
|
||||
@@ -224,7 +224,7 @@ CompletionStamp &CommandComputeKernel::submit(uint32_t taskLevel, bool terminate
|
||||
return completionStamp;
|
||||
}
|
||||
|
||||
CompletionStamp &CommandMarker::submit(uint32_t taskLevel, bool terminated) {
|
||||
CompletionStamp &CommandWithoutKernel::submit(uint32_t taskLevel, bool terminated) {
|
||||
if (terminated) {
|
||||
return completionStamp;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ class CommandComputeKernel : public Command {
|
||||
PreemptionMode preemptionMode;
|
||||
};
|
||||
|
||||
class CommandMarker : public Command {
|
||||
class CommandWithoutKernel : public Command {
|
||||
public:
|
||||
using Command::Command;
|
||||
CompletionStamp &submit(uint32_t taskLevel, bool terminated) override;
|
||||
|
||||
Reference in New Issue
Block a user