mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
refactor: correct naming of enum class constants
EngineGroupType BlitDirection PostBlitMode WaitStatus Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9cc1a23ab6
commit
e57d372608
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
* Copyright (C) 2020-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -12,17 +12,17 @@
|
||||
namespace NEO {
|
||||
|
||||
enum class EngineGroupType : uint32_t {
|
||||
Compute = 0,
|
||||
RenderCompute,
|
||||
Copy,
|
||||
LinkedCopy,
|
||||
CooperativeCompute,
|
||||
MaxEngineGroups
|
||||
compute = 0,
|
||||
renderCompute,
|
||||
copy,
|
||||
linkedCopy,
|
||||
cooperativeCompute,
|
||||
maxEngineGroups
|
||||
};
|
||||
|
||||
struct EngineHelper {
|
||||
static bool isCopyOnlyEngineType(EngineGroupType type) {
|
||||
return (EngineGroupType::Copy == type || EngineGroupType::LinkedCopy == type);
|
||||
return (EngineGroupType::copy == type || EngineGroupType::linkedCopy == type);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user