We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
constexpr
const
kTaskTypeMappings
1 parent d8d96f8 commit e1e2960Copy full SHA for e1e2960
modules/core/task/include/task.hpp
@@ -44,12 +44,12 @@ enum TypeOfTask : uint8_t {
44
using TaskMapping = std::pair<TypeOfTask, std::string>;
45
using TaskMappingArray = std::array<TaskMapping, 6>;
46
47
-constexpr TaskMappingArray kTaskTypeMappings = {{{TypeOfTask::kALL, "all"},
48
- {TypeOfTask::kMPI, "mpi"},
49
- {TypeOfTask::kOMP, "omp"},
50
- {TypeOfTask::kSEQ, "seq"},
51
- {TypeOfTask::kSTL, "stl"},
52
- {TypeOfTask::kTBB, "tbb"}}};
+const TaskMappingArray kTaskTypeMappings = {{{TypeOfTask::kALL, "all"},
+ {TypeOfTask::kMPI, "mpi"},
+ {TypeOfTask::kOMP, "omp"},
+ {TypeOfTask::kSEQ, "seq"},
+ {TypeOfTask::kSTL, "stl"},
+ {TypeOfTask::kTBB, "tbb"}}};
53
54
inline std::string TypeOfTaskToString(TypeOfTask type) {
55
for (const auto &[key, value] : kTaskTypeMappings) {
0 commit comments