Changeset View
Changeset View
Standalone View
Standalone View
openmp/runtime/src/kmp.h
/*! \file */ | /*! \file */ | ||||
Lint: Lint: clang-format-diff not found in user's PATH; not linting file. | |||||
/* | /* | ||||
* kmp.h -- KPTS runtime header file. | * kmp.h -- KPTS runtime header file. | ||||
*/ | */ | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// 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. | ||||
▲ Show 20 Lines • Show All 3,450 Lines • ▼ Show 20 Lines | fork_context_gnu, /**< Called from GNU generated code, so must not invoke the | ||||
microtask internally. */ | microtask internally. */ | ||||
fork_context_intel, /**< Called from Intel generated code. */ | fork_context_intel, /**< Called from Intel generated code. */ | ||||
fork_context_last | fork_context_last | ||||
}; | }; | ||||
extern int __kmp_fork_call(ident_t *loc, int gtid, | extern int __kmp_fork_call(ident_t *loc, int gtid, | ||||
enum fork_context_e fork_context, kmp_int32 argc, | enum fork_context_e fork_context, kmp_int32 argc, | ||||
microtask_t microtask, launch_t invoker, | microtask_t microtask, launch_t invoker, | ||||
/* TODO: revert workaround for Intel(R) 64 tracker #96 */ | /* TODO: revert workaround for Intel(R) 64 tracker #96 */ | ||||
#if (KMP_ARCH_ARM || KMP_ARCH_X86_64 || KMP_ARCH_AARCH64) && KMP_OS_LINUX | #if (KMP_ARCH_ARM || KMP_ARCH_X86_64 || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) | ||||
Lint: Pre-merge checks clang-format: please reformat the code -#if (KMP_ARCH_ARM || KMP_ARCH_X86_64 || KMP_ARCH_AARCH64) && (KMP_OS_FREEBSD || KMP_OS_LINUX) +#if (KMP_ARCH_ARM || KMP_ARCH_X86_64 || KMP_ARCH_AARCH64) && \ + (KMP_OS_FREEBSD || KMP_OS_LINUX) Lint: Pre-merge checks: clang-format: please reformat the code
```
-#if (KMP_ARCH_ARM || KMP_ARCH_X86_64 ||… | |||||
va_list *ap | va_list *ap | ||||
#else | #else | ||||
va_list ap | va_list ap | ||||
#endif | #endif | ||||
); | ); | ||||
Lint: Pre-merge checks clang-format: please reformat the code - ); +); Lint: Pre-merge checks: clang-format: please reformat the code
```
- );
+);
``` | |||||
extern void __kmp_join_call(ident_t *loc, int gtid | extern void __kmp_join_call(ident_t *loc, int gtid | ||||
#if OMPT_SUPPORT | #if OMPT_SUPPORT | ||||
, | , | ||||
enum fork_context_e fork_context | enum fork_context_e fork_context | ||||
#endif | #endif | ||||
, | , | ||||
int exit_teams = 0); | int exit_teams = 0); | ||||
▲ Show 20 Lines • Show All 437 Lines • Show Last 20 Lines |
clang-format-diff not found in user's PATH; not linting file.