Changeset View
Changeset View
Standalone View
Standalone View
openmp/runtime/src/kmp_csupport.cpp
/* | /* | ||||
Lint: Lint: clang-format-diff not found in user's PATH; not linting file. | |||||
* kmp_csupport.cpp -- kfront linkage support for OpenMP. | * kmp_csupport.cpp -- kfront linkage support for OpenMP. | ||||
*/ | */ | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
▲ Show 20 Lines • Show All 295 Lines • ▼ Show 20 Lines | |||||
#if INCLUDE_SSC_MARKS | #if INCLUDE_SSC_MARKS | ||||
SSC_MARK_FORKING(); | SSC_MARK_FORKING(); | ||||
#endif | #endif | ||||
__kmp_fork_call(loc, gtid, fork_context_intel, argc, | __kmp_fork_call(loc, gtid, fork_context_intel, argc, | ||||
VOLATILE_CAST(microtask_t) microtask, // "wrapped" task | VOLATILE_CAST(microtask_t) microtask, // "wrapped" task | ||||
VOLATILE_CAST(launch_t) __kmp_invoke_task_func, | VOLATILE_CAST(launch_t) __kmp_invoke_task_func, | ||||
/* TODO: revert workaround for Intel(R) 64 tracker #96 */ | /* TODO: revert workaround for Intel(R) 64 tracker #96 */ | ||||
#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && KMP_OS_LINUX | #if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) | ||||
Lint: Pre-merge checks clang-format: please reformat the code -#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) +#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && \ + (KMP_OS_FREEBSD || KMP_OS_LINUX) Lint: Pre-merge checks: clang-format: please reformat the code
```
-#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM ||… | |||||
&ap | &ap | ||||
#else | #else | ||||
ap | ap | ||||
#endif | #endif | ||||
); | ); | ||||
Lint: Pre-merge checks clang-format: please reformat the code - ); + ); Lint: Pre-merge checks: clang-format: please reformat the code
```
- );
+ );
``` | |||||
#if INCLUDE_SSC_MARKS | #if INCLUDE_SSC_MARKS | ||||
SSC_MARK_JOINING(); | SSC_MARK_JOINING(); | ||||
#endif | #endif | ||||
__kmp_join_call(loc, gtid | __kmp_join_call(loc, gtid | ||||
#if OMPT_SUPPORT | #if OMPT_SUPPORT | ||||
, | , | ||||
fork_context_intel | fork_context_intel | ||||
#endif | #endif | ||||
▲ Show 20 Lines • Show All 81 Lines • ▼ Show 20 Lines | #endif | ||||
KMP_DEBUG_ASSERT(this_thr->th.th_set_nproc >= 1); | KMP_DEBUG_ASSERT(this_thr->th.th_set_nproc >= 1); | ||||
KMP_DEBUG_ASSERT(this_thr->th.th_teams_size.nteams >= 1); | KMP_DEBUG_ASSERT(this_thr->th.th_teams_size.nteams >= 1); | ||||
KMP_DEBUG_ASSERT(this_thr->th.th_teams_size.nth >= 1); | KMP_DEBUG_ASSERT(this_thr->th.th_teams_size.nth >= 1); | ||||
__kmp_fork_call(loc, gtid, fork_context_intel, argc, | __kmp_fork_call(loc, gtid, fork_context_intel, argc, | ||||
VOLATILE_CAST(microtask_t) | VOLATILE_CAST(microtask_t) | ||||
__kmp_teams_master, // "wrapped" task | __kmp_teams_master, // "wrapped" task | ||||
VOLATILE_CAST(launch_t) __kmp_invoke_teams_master, | VOLATILE_CAST(launch_t) __kmp_invoke_teams_master, | ||||
#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && KMP_OS_LINUX | #if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) | ||||
Lint: Pre-merge checks clang-format: please reformat the code -#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) +#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM || KMP_ARCH_AARCH64) && \ + (KMP_OS_FREEBSD || KMP_OS_LINUX) Lint: Pre-merge checks: clang-format: please reformat the code
```
-#if (KMP_ARCH_X86_64 || KMP_ARCH_ARM ||… | |||||
&ap | &ap | ||||
#else | #else | ||||
ap | ap | ||||
#endif | #endif | ||||
); | ); | ||||
Lint: Pre-merge checks clang-format: please reformat the code - ); + ); Lint: Pre-merge checks: clang-format: please reformat the code
```
- );
+ );
``` | |||||
__kmp_join_call(loc, gtid | __kmp_join_call(loc, gtid | ||||
#if OMPT_SUPPORT | #if OMPT_SUPPORT | ||||
, | , | ||||
fork_context_intel | fork_context_intel | ||||
#endif | #endif | ||||
); | ); | ||||
// Pop current CG root off list | // Pop current CG root off list | ||||
▲ Show 20 Lines • Show All 3,778 Lines • Show Last 20 Lines |
clang-format-diff not found in user's PATH; not linting file.