Files
compute-runtime/runtime/helpers/engine_node.h
Milczarek, Slawomir 9be4850213 AUB capture with a capability to get engine instance
Change-Id: I52c47505476053d6e692fc9d89cca25a6e122a63
2018-10-23 11:58:13 +02:00

36 lines
559 B
C++

/*
* Copyright (C) 2017-2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include <cstdint>
namespace OCLRT {
enum EngineType : uint32_t {
ENGINE_RCS = 0,
ENGINE_BCS,
ENGINE_VCS,
ENGINE_VECS,
NUM_ENGINES
};
struct EngineInstanceT {
EngineType type;
int id;
};
static constexpr EngineInstanceT allEngineInstances[] = {
{ENGINE_RCS},
{ENGINE_BCS},
{ENGINE_VCS},
{ENGINE_VECS},
};
static constexpr EngineInstanceT gpgpuEngineInstances[] = {
{ENGINE_RCS},
};
} // namespace OCLRT