Files
compute-runtime/opencl/source/command_queue/copy_engine_state.h
Maciej Plewka 4b42b066f8 Use dedicated using type for TaskCount
Related-To: NEO-7155

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-11-28 16:44:44 +01:00

24 lines
475 B
C++

/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/command_stream/task_count_helper.h"
#include "aubstream/engine_node.h"
namespace NEO {
struct CopyEngineState {
aub_stream::EngineType engineType = aub_stream::EngineType::NUM_ENGINES;
TaskCountType taskCount = 0;
bool isValid() const {
return engineType != aub_stream::EngineType::NUM_ENGINES;
}
};
} // namespace NEO