LLVM OpenMP
20.0.0git
runtime
test
env
kmp_dispatch_buf_range.c
Go to the documentation of this file.
1
// RUN: %libomp-compile
2
// RUN: env KMP_DISP_NUM_BUFFERS=0 %libomp-run 2>&1 | FileCheck --check-prefix=SMALL %s
3
// RUN: env KMP_DISP_NUM_BUFFERS=4097 %libomp-run 2>&1 | FileCheck --check-prefix=LARGE %s
4
// SMALL: OMP: Warning
5
// SMALL-SAME: KMP_DISP_NUM_BUFFERS
6
// SMALL-SAME: too small
7
// LARGE: OMP: Warning
8
// LARGE-SAME: KMP_DISP_NUM_BUFFERS
9
// LARGE-SAME: too large
10
#include <stdio.h>
11
#include <stdlib.h>
12
13
int
main
() {
14
int
i
;
15
#pragma omp parallel for
16
for
(
i
= 0;
i
< 1000;
i
++) {}
17
return
EXIT_SUCCESS;
18
}
main
int main()
Definition:
kmp_dispatch_buf_range.c:13
i
#define i
Definition:
kmp_stub.cpp:87
Generated on Wed Feb 5 2025 10:57:20 for LLVM OpenMP by
1.9.6