Introduce KMP_COMPILER_ICX macro to represent compilation with oneAPI compiler. Fixup flag detection and compiler ID detection in CMake. Older CMake's detect IntelLLVM as Clang. Fix compiler warnings. Fixup many of the tests to have non-empty parallel regions as they are elided by oneAPI compiler.
13 lines
283 B
C
13 lines
283 B
C
// RUN: %libomp-compile && env KMP_SETTINGS=1 OMP_PLACES=invalid %libomp-run 2>&1 | FileCheck %s
|
|
// CHECK-DAG: Effective settings
|
|
// CHECK: OMP_PLACES=
|
|
// CHECK-SAME: cores
|
|
// REQUIRES: affinity
|
|
|
|
#include "omp_testsuite.h"
|
|
|
|
int main() {
|
|
go_parallel();
|
|
return get_exit_value();
|
|
}
|