-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathopenarcConf_NORMAL.txt
957 lines (957 loc) · 35.5 KB
/
openarcConf_NORMAL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
#####################################################################
# Sample OpenARC configuration file #
# - Any OpenARC configuration parameters can be put here. #
# - Lines starting with '#' will be ignored. #
# - Add "-gpuConfFile=thisfilename" to the commandline input. #
############################################################################
# Avaliable OpenARC configuration parameters #
# (Use the list at the end to selectively apply configuration parameters) #
############################################################################
########################################
#Option: ASPENModelGen
########################################
#ASPENModelGen=modelname=name:mode=number:entryfunction=entryfunc:complement=0|1:functions=foo,bar:postprocessing=number
#Generate ASPEN model for the input program;
#modelname = [name of generated Aspen model]
#mode = 0 (skip the whole Aspen model gereation passes)
# 1 (analyze an input program and generated output C program annotated with Aspen directives)
# 2 (skip analysis pass and generate output Aspen model only with Aspen directives annotated in the input program)
# 3 (mode 1 + 2; analyze an input program, annotate it with Aspen directives, and generate output Aspen model (default))
# 4 (mode 3 + modify the input OpenACC program such that each compute region is selectively offloaded using HI_aspenpredic() function)
#entryfunction = [entry function to generate Aspen model]
#functions = [comma-separated list of functions]
#complement = 0 (ignore functions if specified in functions sub-option (default))
# 1 (ignore functions if not specified in functions sub-option)
#postprocessing = 0 (does not perform any Aspen IR flattening transformation)
# 1 (inline Aspen kernels called within Aspen maps)
# 2 (inline Aspen kernels + merge Aspen maps if directly nested (default))
#
########################################
#Option: AccAnalysisOnly
########################################
#AccAnalysisOnly=N
#Conduct OpenACC analysis only and exit if option value > 0
# =0 disable this option (default)
# =1 OpenACC Annotation parsing
# =2 OpenACC Annotation parsing + initial code restructuring
# =3 OpenACC parsing + code restructuring + OpenACC loop directive preprocessing
# =4 option3 + OpenACC annotation analysis
# =5 option4 + privatization/reduction analyses
#
########################################
#Option: AccParallelization
########################################
#AccParallelization=N
#Find parallelizable loops
# =0 disable automatic parallelization analysis (default)
# =1 add independent clauses to OpenACC loops if they are parallelizable but don't have any work-sharing clauses
#
########################################
#Option: AccPrivatization
########################################
#AccPrivatization=N
#Privatize scalar/array variables accessed in compute regions (parallel loops and kernels loops)
# =0 disable automatic privatization
# =1 enable only scalar privatization (default)
# =2 enable both scalar and array variable privatization
#(this option is always applied unless explicitly disabled by setting the value to 0)
#
########################################
#Option: AccReduction
########################################
#AccReduction=N
#Perform reduction variable analysis
# =0 disable reduction analysis
# =1 enable only scalar reduction analysis (default)
# =2 enable array reduction analysis and transformation
#(this option is always applied unless explicitly disabled by setting the value to 0)
#
########################################
#Option: CUDACompCapability
########################################
#CUDACompCapability=1.1
#CUDA compute capability of a target GPU
#
########################################
#Option: CloneKernelCallingProcedures
########################################
#CloneKernelCallingProcedures=N
#Clone procedures calling compute regions;
#N = 1 (Enable this kernel-calling-procedure cloning) (default)
#N = 0 (Disable this kernel-calling-procedure cloning)
#
########################################
#Option: SetAccEntryFunction
########################################
#SetAccEntryFunction=functionname
#Name of the entry function, from which all device-related codes will be executed. (Default is main.)
#
########################################
#Option: SetOutputKernelFileNameBase
########################################
#SetOutputKernelFileNameBase=filename
#Base name of the output kernel file, from which target-specific output kernel file name is derived. (Default is openarc_kernel.)
#
########################################
#Option: SkipGPUTranslation
########################################
#SkipGPUTranslation=N
#Skip the final GPU translation
# =1 exit after all analyses are done (default)
# =2 exit before the final GPU translation
# =3 exit after private variable transformaion
# =4 exit after reduction variable transformation
#
########################################
#Option: UEPRemovalOptLevel
########################################
#UEPRemovalOptLevel=N
#Optimization level (0-2) to remove upwardly exposed private (UEP) variables (default is 0). This optimization may be unsafe; this should be enabled only if UEP problems occur, andprogrammer should verify the correctness manually.
#
########################################
#Option: UserDirectiveFile
########################################
#UserDirectiveFile=filename
#Name of the file that contains user directives. The file should exist in the current directory.
#
########################################
#Option: WerrorLLVM
########################################
#WerrorLLVM
#Report all BuildLLVM warnings as errors. Has no effect if BuildLLVM pass is not enabled (see -emitLLVM)
#
########################################
#Option: acc2gpu
########################################
#acc2gpu=N
#Generate a Host+Accelerator program from OpenACC program:
# =0 disable this option
# =1 enable this option (default)
# =2 enable this option for distribued OpenACC program
#
########################################
#Option: addErrorCheckingCode
########################################
#addErrorCheckingCode
#Add CUDA-error-checking code right after each kernel call (If this option is on, forceSyncKernelCalloption is suppressed, since the error-checking code contains a built-in synchronization call.); used for debugging.
#
########################################
#Option: addIncludePath
########################################
#addIncludePath=DIR
#Add the directory DIR to the list of directories to be searched for header files; to add multiple directories, use this option multiple times. (Current directory is included by default.)
#
########################################
#Option: addSafetyCheckingCode
########################################
#addSafetyCheckingCode
#Add GPU-memory-usage-checking code just before each kernel call; used for debugging.
#
########################################
#Option: alias
########################################
#alias=N
#Specify level of alias analysis
# =0 disable alias analysis (assume no alias)
# =1 advanced interprocedural analysis (default)
# Uses interprocedural points-to analysis
# =2 assume no alias when points-to analysis is too conservative
# =3 assume all locations are aliased
#
########################################
#Option: assumeNoAliasingAmongKernelArgs
########################################
#assumeNoAliasingAmongKernelArgs
#Assume that there is no aliasing among kernel arguments
#
########################################
#Option: assumeNonZeroTripLoops
########################################
#assumeNonZeroTripLoops
#Assume that all loops have non-zero iterations
#
########################################
#Option: callgraph
########################################
#callgraph
#Print the static call graph to stdout
#
########################################
#Option: cudaGlobalMemSize
########################################
#cudaGlobalMemSize=size in bytes
#Size of CUDA global memory in bytes (default value = 1600000000); used for debugging
#
########################################
#Option: cudaMaxGridDimSize
########################################
#cudaMaxGridDimSize=number
#Maximum size of each dimension of a grid of thread blocks ( System max = 65535)
#
########################################
#Option: cudaSharedMemSize
########################################
#cudaSharedMemSize=size in bytes
#Size of CUDA shared memory in bytes (default value = 16384); used for debugging
#
########################################
#Option: ddt
########################################
#ddt=N
#Perform Data Dependence Testing
# =1 banerjee-wolfe test (default)
# =2 range test
#
########################################
#Option: debugLLVM
########################################
#debugLLVM
#Generate debug output for BuildLLVM pass. Has no effect if BuildLLVM pass is not enabled (see -emitLLVM)
#
########################################
#Option: debug_parser_input
########################################
#debug_parser_input
#Print a single preprocessed input file before sending to parser and exit
#
########################################
#Option: debug_parser_output
########################################
#debug_parser_output
#Print a parser output file before running any analysis/transformation passes and exit
#
########################################
#Option: debug_preprocessor_command
########################################
#debug_preprocessor_command
#Print the command and options to be used for preprocessing and exit
#
########################################
#Option: debug_preprocessor_input
########################################
#debug_preprocessor_input
#Print a single pre-annotated input file before sending to preprocessor and exit
#
########################################
#Option: defaultMarginOfError
########################################
#defaultMarginOfError=E
#Set the default value of the allowable margin of error for program verification (default E = 1.0e-6)
#
########################################
#Option: defaultNumAsyncQueues
########################################
#defaultNumAsyncQueues=N
#Default number of asynchronous queues per device (default value = 4); applicable only to OpenMP-to-OpenACC translation
#
########################################
#Option: defaultNumComputeUnits
########################################
#defaultNumComputeUnits=N
#Default number of physical compute units (default value = 1); applicable only to Altera-OpenCL devices
#
########################################
#Option: defaultNumSIMDWorkItems
########################################
#defaultNumSIMDWorkItems=N
#Default number of work-items within a work-group executing in an SIMD manner (default value = 1); applicable only to Altera-OpenCL devices
#
########################################
#Option: defaultNumWorkers
########################################
#defaultNumWorkers=N
#Default number of workers per gang for compute regions (default value = 64)
#
########################################
#Option: defaultTuningConfFile
########################################
#defaultTuningConfFile=filename
#Name of the file that contains default GPU tuning configurations. (Default is gpuTuning.config) If the file does not exist, system-default setting will be used.
#
########################################
#Option: disableDefaultCachingOpts
########################################
#disableDefaultCachingOpts
#Disable default caching optimizations so that they are applied only if explicitly requested
#
########################################
#Option: disableStatic2GlobalConversion
########################################
#disableStatic2GlobalConversion
#disable automatic converstion of static variables in procedures except for main into global variables.
#
########################################
#Option: disableWorkShareLoopCollapsing
########################################
#disableWorkShareLoopCollapsing
#disable automatic collapsing of work-share loops in compute regions.
#
########################################
#Option: doNotRemoveUnusedSymbols
########################################
#doNotRemoveUnusedSymbols=N
#Do not remove unused local symbols in procedures.
#N = 0 (ignore this option; remove both unused symbols and procedures)
# = 1 (do not remove unused symbols or procedures; default)
# = 2 (do not remove unused procedures)
# = 3 (do not remove unused symbols)
#
########################################
#Option: dump-options
########################################
#dump-options
#Create file options.cetus with default options
#
########################################
#Option: dump-system-options
########################################
#dump-system-options
#Create system wide file options.cetus with default options
#
########################################
#Option: emitLLVM
########################################
#emitLLVM
#Emit LLVM IR instead of source code. Optionally, target strings for LLVM can be specified as an argument in the form:
#
# [target-triple][;target-data-layout]
#
#For example:
#
# -emitLLVM='x86_64-apple-macosx10.9.0;e-m:o-i64:64-f80:128-n8:16:32:64-S128'
#
#For details see:
#
# http://llvm.org/docs/LangRef.html#target-triple
# http://llvm.org/docs/LangRef.html#data-layout
#
#To select the target strings configured when OpenARC was built, specify either of the following:
#
# -emitLLVM
# -emitLLVM=
#
########################################
#Option: enableCustomProfiling
########################################
#enableCustomProfiling
#Enable directive-based custom profiling; otherwise, profile-related directives are ignored.
#
########################################
#Option: enableFaultInjection
########################################
#enableFaultInjection
#Enable directive-based fault injection; otherwise, fault-injection-related direcitves are ignored.
#(If this option is set to 0 (enableFaultInjection=0), faults will be injected to each GPU thread; otherwise, faults will be injected to only one GPU thread in each kernel. If -emitLLVM is also specified, fault injection is enabled, but the -enableFaultInjection argument is ignored.)
#
########################################
#Option: expand-all-header
########################################
#expand-all-header
#Expand all header file #includes into code
#
########################################
#Option: expand-user-header
########################################
#expand-user-header
#Expand user (non-standard) header file #includes into code
#
########################################
#Option: expand-user-source
########################################
#expand-user-source
#Expand user-included C source file #includes into code
########################################
#Option: extractTuningParameters
########################################
#extractTuningParameters=filename
#Extract tuning parameters; output will be stored in the specified file. (Default is TuningOptions.txt)The generated file contains information on tuning parameters applicable to current input program.
#
########################################
#Option: forceSyncKernelCall
########################################
#forceSyncKernelCall
#If enabled, HI_synchronize(1) call is inserted right after each kernel call in the default queue to force explicit synchronization; useful for debugging or timing the kernel execution.
#
########################################
#Option: genTuningConfFiles
########################################
#genTuningConfFiles=tuningdir
#Generate tuning configuration files and/or userdirective files; output will be stored in the specified directory. (Default is tuning_conf)
#
########################################
#Option: gpuConfFile
########################################
#gpuConfFile=filename
#Name of the file that contains OpenACC configuration parameters. (Any valid OpenACC-to-GPU compiler flags can be put in the file.) The file should exist in the current directory.
#
########################################
#Option: gpuMallocOptLevel
########################################
#gpuMallocOptLevel=N
#GPU Malloc optimization level (0-1) (default is 0)
#
########################################
#Option: gpuMemTrOptLevel
########################################
#gpuMemTrOptLevel=N
#CPU-GPU memory transfer optimization level (0-4) (default is 3);if N > 3, aggressive optimizations such as array-name-only analysis will be applied.
#
########################################
#Option: help
########################################
#help
#Print this message
#
########################################
#Option: induction
########################################
#induction=N
#Perform induction variable substitution
# =1 enable substitution of linear induction variables
# =2 enable substitution of generalized induction variables
# =3 enable insertion of runtime test for zero-trip loops (default)
#
########################################
#Option: load-options
########################################
#load-options
#Load options from file options.cetus
#
########################################
#Option: localRedVarConf
########################################
#localRedVarConf=N
#Configure how local reduction variables are generated;
#N = 2 (local scalar reduction variables are allocated in the GPU shared memory and local array reduction variables are cached on the shared memory)
#N = 1 (local scalar reduction variables are allocated in the GPU shared memory and local array reduction variables are cached on the shared memory if included in CUDA sharedRO/sharedRW clause) (default)
#N = 0 (All local reduction variables are allocated in the GPU global memory and not cached in the GPU shared memory.)
#
########################################
#Option: loopUnrollFactor
########################################
#loopUnrollFactor=N
#Unroll loops inside OpenACC compute regions
# N Specifies the unroll factor
#
########################################
#Option: macro
########################################
#macro
#Sets macros for the specified names with comma-separated list (no space is allowed)
#e.g., -macro=ARCH=i686,OS=linux
#
########################################
#Option: maxNumGangs
########################################
#maxNumGangs=N
#Maximum number of gangs per a compute region; this option will be applied to all gang loops in the program.
#
########################################
#Option: maxNumWorkers
########################################
#maxNumWorkers=N
#Maximum number of workers per a compute region; this option will be applied to all gang loops in the program.
#
########################################
#Option: minValueToCheck
########################################
#minValueToCheck=M
#Set the minimum value for error-checking; data with values lower than this will not be checked.
#If this option is not provided, all GPU-written data will be checked for kernel verification.
#
########################################
#Option: noPrintCode
########################################
#noPrintCode
#do not print final code, whether C or LLVM IR
#
########################################
#Option: normalize-loops
########################################
#normalize-loops
#Normalize for loops so they begin at 0 and have a step of 1
#
########################################
#Option: normalize-return-stmt
########################################
#normalize-return-stmt
#Normalize return statements for all procedures
#
########################################
#Option: ompaccInter
########################################
#ompaccInter=N
#Interchange OpenACC directives with OpenMP 3.0 or OpenMP 4.0 directives:
# =0 disable this option (default)
# =1 generate OpenACC directives from OpenMP 3.0 directives
# =2 generate OpenACC directives from OpenMP 4.0 directives
# =3 generate OpenMP 3.0 directives from OpenACC directives
# =4 generate OpenMP 4.0 directives from OpenACC directives
#
########################################
#Option: ompGen
########################################
#ompGen=N
#Generate OpenMP pragma
# =1 comment out existing OpenMP pragmas (default)
# =2 remove existing OpenMP pragmas
# =3 remove existing OpenMP and Cetus pragmas
# =4 keep all pragmas
#
########################################
#Option: outdir
########################################
#outdir=dirname
#Set the output directory name (default is cetus_output)
#
########################################
#Option: parallelize-loops
########################################
#parallelize-loops
#Annotate loops with Parallelization decisions
# =1 parallelizes outermost loops (default)
# =2 parallelizes every loop
# =3 parallelizes outermost loops with report
# =4 parallelizes every loop with report
#
########################################
#Option: parser
########################################
#parser=parsername
#Name of parser to be used for parsing source file
#
########################################
#Option: pipelineTransformation
########################################
#pipelineTransformation=N
#Control the pipelining transformation, which exploits Altera-specific channel mechanism;
#N = 0 (Disable this pipelining transformation)
#N = 1 (Enable this pipelining transformation when targeting Altera FPGAs) (default)
#
########################################
#Option: preprocessor
########################################
#preprocessor=command
#Set the preprocessor command to use
#
########################################
#Option: preserve-KR-function
########################################
#preserve-KR-function
#Preserves K&R-style function declaration
#
########################################
#Option: printConfigurations
########################################
#printConfigurations
#Generate output codes to print applied configurations/optimizations at the program exit
#
########################################
#Option: privatize
########################################
#privatize=N
#Perform scalar/array privatization analysis
# =1 enable only scalar privatization
# =2 enable scalar and array privatization (default)
#
########################################
#Option: profile-loops
########################################
#profile-loops=N
#Inserts loop-profiling calls
# =1 every loop =2 outermost loop
# =3 every omp parallel =4 outermost omp parallel
# =5 every omp for =6 outermost omp for
#
########################################
#Option: profitable-omp
########################################
#profitable-omp=N
#Inserts runtime for selecting profitable omp parallel region (See the API documentation for more details)
# =0 disable
# =1 Model-based loop selection (default)
# =2 Profile-based loop selection
#
########################################
#Option: programVerification
########################################
#programVerification=N
#Perform program verfication for debugging;
#N = 1 (verify the correctness of CPU-GPU memory transfers) (default)
#N = 2 (verify the correctness of GPU kernel translation)
#
########################################
#Option: prvtArryCachingOnSM
########################################
#prvtArryCachingOnSM
#Cache private array variables onto GPU shared memory
#
########################################
#Option: range
########################################
#range=N
#Specifies the accuracy of symbolic analysis with value ranges
# =0 disable range computation (minimal symbolic analysis)
# =1 enable local range computation (default)
# =2 enable inter-procedural computation (experimental)
#
########################################
#Option: reduction
########################################
#reduction=N
#Perform reduction variable analysis
# =1 enable only scalar reduction analysis (default)
# =2 enable array reduction analysis and transformation
#
########################################
#Option: showInternalAnnotations
########################################
#showInternalAnnotations=N
#Show internal annotations added by translator
# =0 does not show any OpenACC/internal annotations
# =1 show only OpenACC annotations (default)
# =2 show both OpenACC and acc internal annotations
# =3 show all annotations(OpenACC, acc internal, and cetus annotations)
#(this option can be used for debugging purpose.)
#
########################################
#Option: shrdArryCachingOnConst
########################################
#shrdArryCachingOnConst
#Cache R/O shared array variables onto GPU constant memory
#
########################################
#Option: shrdArryCachingOnTM
########################################
#shrdArryCachingOnTM
#Cache 1-dimensional, R/O shared array variables onto GPU texture memory
#
########################################
#Option: shrdArryElmtCachingOnReg
########################################
#shrdArryElmtCachingOnReg
#Cache shared array elements onto GPU registers; this option may not be used if aliasing between array accesses exists.
#
########################################
#Option: shrdSclrCachingOnConst
########################################
#shrdSclrCachingOnConst
#Cache R/O shared scalar variables onto GPU constant memory
#
########################################
#Option: shrdSclrCachingOnReg
########################################
#shrdSclrCachingOnReg
#Cache shared scalar variables onto GPU registers
#
########################################
#Option: shrdSclrCachingOnSM
########################################
#shrdSclrCachingOnSM
#Cache shared scalar variables onto GPU shared memory
#
########################################
#Option: skip-procedures
########################################
#skip-procedures=proc1,proc2,...
#Causes all passes that observe this flag to skip the listed procedures
#
########################################
#Option: skipKernelLoopBoundChecking
########################################
#skipKernelLoopBoundChecking
#Skip kernel-loop-boundary-checking code when generating a device kernel; it is safe only if total number of workers equals to that of the kernel loop iterations
#
########################################
#Option: slidingWindowTransformation
########################################
#slidingWindowTransformation=N
#Control the sliding-window transformation;
#N = 0 (Disable this sliding-window transformation)
#N = 1 (Enable this sliding-window transformation when targeting Altera FPGAs) (default)
#N = 2 (Enable this sliding-window transformation for all devices)
#
########################################
#Option: targetArch
########################################
#targetArch=N
#Set a target architecture:
# =0 for CUDA
# =1 for general OpenCL
# =2 for Xeon Phi with OpenCL
# =3 for Altera with OpenCL
# =4 for MCL with OpenCL
#If not set, the target is decided by OPENARC_ARCH env variable.
#
########################################
#Option: teliminate-branch
########################################
#teliminate-branch=N
#Eliminates unreachable branch targets
# =0 disable (default)
# =1 enable
# =2 leave old statements as comments
#
########################################
#Option: tinline
########################################
#tinline=mode=0|1|2|3|4:depth=0|1:pragma=0|1:debug=0|1:foronly=0|1:complement=0|1:functions=foo,bar,...
#(Experimental) Perform simple subroutine inline expansion tranformation
# mode
# =0 inline inside main function (default)
# =1 inline inside selected functions provided in the "functions" sub-option
# =2 inline selected functions provided in the "functions" sub-option, when invoked
# =3 inline according to the "inlinein" pragmas
# =4 inline according to both "inlinein" and "inline" pragmas
# depth
# =0 perform inlining recursively i.e. within callees (and their callees) as well (default)
# =1 perform 1-level inlining
# pragma
# =0 do not honor "noinlinein" and "noinline" pragmas
# =1 honor "noinlinein" and "noinline" pragmas (default)
# debug
# =0 remove inlined (and other) functions if they are no longer executed (default)
# =1 do not remove the inlined (and other) functions even if they are no longer executed
# foronly
# =0 try to inline all function calls depending on other options (default)
# =1 try to inline function calls inside for loops only
# complement
# =0 consider the functions provided in the command line with "functions" sub-option (default)
# =1 consider all functions except the ones provided in the command line with "functions" sub-option
# functions
# =[comma-separated list] consider the provided functions.
# (Note 1: This sub-option is meaningful for modes 1 and 2 only)
# (Note 2: It is used with "complement" sub-option to determine which functions should be considered.)
#
########################################
#Option: inlineFunctionTransformation
########################################
#inlineFunctionTransformation=debug=0|1:foronly=0|1
#(Experimental) Inline functions with inline qualifiers; use tinline option for more complex inline expansion.
# debug
# =0 remove inlined (and other) functions if they are no longer executed (default)
# =1 do not remove the inlined (and other) functions even if they are no longer executed
# foronly
# =0 try to inline all function calls depending on other options (default)
# =1 try to inline function calls inside for loops only
#
########################################
#Option: tsingle-call
########################################
#tsingle-call
#Transform all statements so they contain at most one function call
#
########################################
#Option: tsingle-declarator
########################################
#tsingle-declarator
#Transform all variable declarations so they contain at most one declarator
#
########################################
#Option: tsingle-return
########################################
#tsingle-return
#Transform all procedures so they have a single return statement
#
########################################
#Option: tuningLevel
########################################
#tuningLevel=N
#Set tuning level when genTuningConfFiles is on;
#N = 1 (exhaustive search on program-level tuning options, default),
#N = 2 (exhaustive search on kernel-level tuning options)
#
########################################
#Option: useLoopCollapse
########################################
#useLoopCollapse
#Apply LoopCollapse optimization in ACC2GPU translation
#
########################################
#Option: useMallocPitch
########################################
#useMallocPitch
#Use cudaMallocPitch() in ACC2GPU translation
#
########################################
#Option: useMatrixTranspose
########################################
#useMatrixTranspose
#Apply MatrixTranspose optimization in ACC2GPU translation
#
########################################
#Option: useParallelLoopSwap
########################################
#useParallelLoopSwap
#Apply ParallelLoopSwap optimization in OpenACC2GPU translation
#
########################################
#Option: useUnrollingOnReduction
########################################
#useUnrollingOnReduction
#Apply loop unrolling optimization for in-block reduction in ACC2GPU translation;to apply this opt, number of workers in a gang should be 2^m.
#
########################################
#Option: verbosity
########################################
#verbosity=N
#Degree of status messages (0-4) that you wish to see (default is 0)
#
########################################
#Option: verificationOptions
########################################
#verificationOptions=complement=0|1:kernels=kernel1,kernel2,...
#Set options used for GPU kernel verification (programVerification == 1);
#complement = 0 (consider kernels provided in the commandline with "kernels" sub-option)
# = 1 (consider all kernels except for those provided in the commandline with "kernels" sub-option (default))
#kernels = [comma-separated list] consider the provided kernels.
# (Note: It is used with "complement" sub-option to determine which kernels should be considered.)
#
########################################
#Option: version
########################################
#version
#Print the version information
#
#NOPTIONDESC#
##################################################################################
# Uncomment and modify below list as necessary to apply configuration parameters #
##################################################################################
#############################
# Translation configuration #
#############################
#acc2gpu=1
#ompaccInter=N
#targetArch=0
#AccAnalysisOnly=1
#SkipGPUTranslation=N
#showInternalAnnotations=1
#skipKernelLoopBoundChecking
#SetAccEntryFunction=functionname
#SetOutputKernelFileNameBase=filename
addIncludePath=__openarcrt__
addIncludePath=./src
macro=num_streams=__numStreams__,NITER=__NITER__,include_data=__INCLUDE_DATA__
defaultNumWorkers=32
defaultNumAsyncQueues=10
#maxNumGangs=N
#maxNumWorkers=N
#outdir=cetus_output
#loopUnrollFactor=N
#pipelineTransformation=N
#slidingWindowTransformation=N
##########################
# Analysis configuration #
##########################
#AccParallelization=N
AccPrivatization=1
AccReduction=1
#assumeNonZeroTripLoops
#gpuMemTrOptLevel
#prvtArryCachingOnSM
#localRedVarConf=N
#useLoopCollapse
#useMallocPitch
#useMatrixTranspose
#useParallelLoopSwap
#useUnrollingOnReduction
#assumeNoAliasingAmongKernelArgs
#MemTrOptOnLoops=N
#gpuMallocOptLevel=N
######################################
# Caching optimization configuration #
######################################
#disableDefaultCachingOpts
#shrdArryCachingOnConst
#shrdArryCachingOnTM
shrdArryElmtCachingOnReg
shrdSclrCachingOnConst
shrdSclrCachingOnReg
shrdSclrCachingOnSM
######################
# CUDA configuration #
######################
#cudaGlobalMemSize=size-in-bytes
#cudaMaxGridDimSize=number
#cudaSharedMemSize=size-in-bytes
#CUDACompCapability
######################
# FPGA configuration #
######################
#defaultNumComputeUnits=N
#defaultNumSIMDWorkItems=N
###########################
# Debugging configuration #
###########################
#programVerification=2
#verificationOptions=complement=0|1:kernels=kernel1,kernel2,...
#defaultMarginOfError=1.0e-12
#minValueToCheck=1e-32
#UEPRemovalOptLevel=N
#doNotRemoveUnusedSymbols=N
#disableStatic2GlobalConversion
#disableWorkShareLoopCollapsing
#addErrorCheckingCode
#addSafetyCheckingCode
#forceSyncKernelCall
#CloneKernelCallingProcedures=N
#debug_parser_input
#debug_parser_output
#debug_preprocessor_input
#debug_preprocessor_command
#expand-all-header
#expand-user-header
#expand-user-source
#printConfigurations
#noPrintCode
#enableFaultInjection
#enableCustomProfiling
########################
# Tuning configuration #
########################
#UserDirectiveFile
#defaultTuningConfFile=gpuTuning.config
#extractTuningParameters=filename
#genTuningConfFiles=tuningdir
#tuningLevel=1
######################
# LLVM configuration #
######################
#emitLLVM
#WerrorLLVM
#debugLLVM
#########################
# Misc. configururation #
#########################
#dump-options
#dump-system-options
#induction=N
#load-options
#loop-interchange
#loop-tiling
#normalize-loops
#normalize-return-stmt
#profile-loops=N
#tinline=mode=0|1|2|3|4:depth=0|1:pragma=0|1:debug=0|1:foronly=0|1:complement=0|1:functions=foo,bar,...
#inlineFunctionTransformation
#tsingle-call
#tsingle-declarator
#tsingle-return
#verbosity=N
#ASPENModelGen=mode=N
#alias=N
#callgraph
#ddt=N
#help
#ompGen=N
#parallelize-loops
#parser=parsername
#preprocessor=command
#privatize=N
#reduction=N
#profitable-omp=N
#range=N
#skip-procedures=proc1,proc2,...
#teliminate-branch=N
#version
#NOPTION#