diff options
Diffstat (limited to 'openmp/tools/omptest/src')
-rw-r--r-- | openmp/tools/omptest/src/InternalEventOperators.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openmp/tools/omptest/src/InternalEventOperators.cpp b/openmp/tools/omptest/src/InternalEventOperators.cpp index 1ec33d5..dde6409 100644 --- a/openmp/tools/omptest/src/InternalEventOperators.cpp +++ b/openmp/tools/omptest/src/InternalEventOperators.cpp @@ -36,6 +36,11 @@ bool operator==(const Work &Expected, const Work &Observed) { isSameTaskData && isSameCount; } +bool operator==(const Dispatch &Expected, const Dispatch &Observed) { + bool isSameKind = (Expected.Kind == Observed.Kind); + return isSameKind; +} + bool operator==(const ImplicitTask &Expected, const ImplicitTask &Observed) { bool isSameEndpoint = (Expected.Endpoint == Observed.Endpoint); bool isSameActualParallelism = |