Skip to content

Commit eed12a1

Browse files
author
Simon Moll
committed
[README][sotoc] documented sotoc cmdline and build flags
1 parent ab7ffc8 commit eed12a1

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,20 @@ To enable the OpenMP target offloading feature for C programs use:
4343
-fopenmp -fopenmp-targets=aurora-nec-veort -O3 ...
4444

4545
The implementation invokes another compiler instance to compile the offloaded
46-
code for the VE. By default, this is 'clang' as found in your PATH. To choose a
47-
different target compiler, pass the option '-fopenmp-nec-compiler=COMPILER'
46+
code for the VE. By default, this is 'clang' as found in your PATH. To choose
47+
a different target compiler, pass the option '-fopenmp-nec-compiler=COMPILER'
4848
where 'COMPILER' may be either of 'clang', to use llvm-ve, 'rvclang' to use
4949
llvm-ve with the region vectorizer or 'ncc', to use the NEC C Compiler at
50-
'/opt/nec/ve/bin/ncc'.
50+
'/opt/nec/ve/bin/ncc' or an absolute path to a target compiler by using the
51+
prefix `path:`, ie
52+
53+
-fopenmp-nec-compiler=path:/opt/nec/ve/bin/ncc-3.0.4
54+
55+
The default target compiler can be configured by changing the value of the
56+
CMake variable ``NECAURORA_DEFAULT_TARGET_COMPILER``.
57+
58+
To pass additional command line arguments to the target compiler, use the flag
59+
`-Xopenmp-target <argv_to_pass_on>` repeatedly for each argument.
5160

5261
### VEL Intrinsics for direct vector programming
5362

0 commit comments

Comments
 (0)