File tree 1 file changed +12
-3
lines changed 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,20 @@ To enable the OpenMP target offloading feature for C programs use:
43
43
-fopenmp -fopenmp-targets=aurora-nec-veort -O3 ...
44
44
45
45
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'
48
48
where 'COMPILER' may be either of 'clang', to use llvm-ve, 'rvclang' to use
49
49
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.
51
60
52
61
### VEL Intrinsics for direct vector programming
53
62
You can’t perform that action at this time.
0 commit comments