summaryrefslogtreecommitdiffstats
path: root/openmp/runtime/src/ompt-general.cpp
diff options
context:
space:
mode:
authorJoachim Protze <protze@itc.rwth-aachen.de>2018-02-17 09:54:10 +0000
committerJoachim Protze <protze@itc.rwth-aachen.de>2018-02-17 09:54:10 +0000
commitb0e4f87fb073d517460fa562d31d94af28ce8bd0 (patch)
treeaa5c17ac4b88c1c7e5f890ab50bca5966e348abc /openmp/runtime/src/ompt-general.cpp
parent33db70d2d74c1ea9187bcb07ed0ebf5854233c9e (diff)
downloadbcm5719-llvm-b0e4f87fb073d517460fa562d31d94af28ce8bd0.tar.gz
bcm5719-llvm-b0e4f87fb073d517460fa562d31d94af28ce8bd0.zip
[OMPT] Omissionin in OMPT Formatting
Applying clang-format to the /runtime/src/ folder Differential Revision: https://reviews.llvm.org/D42169 llvm-svn: 325424
Diffstat (limited to 'openmp/runtime/src/ompt-general.cpp')
-rw-r--r--openmp/runtime/src/ompt-general.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/openmp/runtime/src/ompt-general.cpp b/openmp/runtime/src/ompt-general.cpp
index 8994ad4728b..532778298c0 100644
--- a/openmp/runtime/src/ompt-general.cpp
+++ b/openmp/runtime/src/ompt-general.cpp
@@ -218,8 +218,8 @@ ompt_try_start_tool(unsigned int omp_version, const char *runtime_version) {
const char *sep = ":";
#endif
- // Try in the current address space
#if KMP_OS_DARWIN
+ // Try in the current address space
ret = ompt_tool_darwin(omp_version, runtime_version);
#elif OMPT_HAVE_WEAK_ATTRIBUTE
ret = ompt_start_tool(omp_version, runtime_version);
@@ -501,7 +501,8 @@ OMPT_API_ROUTINE int ompt_get_task_info(int ancestor_level, int *type,
****************************************************************************/
OMPT_API_ROUTINE int ompt_get_num_procs(void) {
-// copied from kmp_ftn_entry.h (but modified: OMPT can only be called when runtime is initialized)
+ // copied from kmp_ftn_entry.h (but modified: OMPT can only be called when
+ // runtime is initialized)
return __kmp_avail_proc;
}
OpenPOWER on IntegriCloud