2021-08-27 00:38:39 +08:00
|
|
|
/*
|
2023-03-13 21:34:25 +08:00
|
|
|
* Copyright (C) 2021-2023 Intel Corporation
|
2021-08-27 00:38:39 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-11-22 21:53:59 +08:00
|
|
|
#include "shared/source/command_stream/task_count_helper.h"
|
|
|
|
|
2022-11-23 17:14:27 +08:00
|
|
|
#include "aubstream/engine_node.h"
|
2021-08-27 00:38:39 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
struct CopyEngineState {
|
|
|
|
aub_stream::EngineType engineType = aub_stream::EngineType::NUM_ENGINES;
|
2022-11-22 21:53:59 +08:00
|
|
|
TaskCountType taskCount = 0;
|
2023-03-13 21:34:25 +08:00
|
|
|
bool csrClientRegistered = false;
|
2021-08-27 00:38:39 +08:00
|
|
|
|
|
|
|
bool isValid() const {
|
|
|
|
return engineType != aub_stream::EngineType::NUM_ENGINES;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
} // namespace NEO
|