File tree Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Expand file tree Collapse file tree 3 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,12 @@ config.test_flags = config.test_flags + " " + config.test_extra_flags
4545prepend_library_path ('LD_LIBRARY_PATH' , config .library_dir , ":" )
4646prepend_library_path ('LD_LIBRARY_PATH' , config .omp_host_rtl_directory , ":" )
4747
48+ # Setup flags for BOLT. If BOLT is not used, they are ignored.
49+ # Some tasking tests require larger stack size.
50+ config .environment ['ABT_THREAD_STACKSIZE' ] = "262144"
51+ # Sleep alleviates oversubscription overheads when -j is specified.
52+ config .environment ['KMP_ABT_SCHED_SLEEP' ] = "1"
53+
4854# Forbid fallback to host.
4955config .environment ["OMP_TARGET_OFFLOAD" ] = "MANDATORY"
5056
Original file line number Diff line number Diff line change @@ -64,6 +64,12 @@ else: # Unices
6464 append_dynamic_library_path ('LD_LIBRARY_PATH' , \
6565 config .omp_host_rtl_directory , ":" )
6666
67+ # Setup flags for BOLT. If BOLT is not used, they are ignored.
68+ # Some tasking tests require larger stack size.
69+ config .environment ['ABT_THREAD_STACKSIZE' ] = "262144"
70+ # Sleep alleviates oversubscription overheads when -j is specified.
71+ config .environment ['KMP_ABT_SCHED_SLEEP' ] = "1"
72+
6773# substitutions
6874# - for targets that exist in the system create the actual command.
6975# - for valid targets that do not exist in the system, return false, so that the
Original file line number Diff line number Diff line change @@ -89,6 +89,12 @@ if config.has_tsan == True:
8989if 'INTEL_LICENSE_FILE' in os .environ :
9090 config .environment ['INTEL_LICENSE_FILE' ] = os .environ ['INTEL_LICENSE_FILE' ]
9191
92+ # Setup flags for BOLT. If BOLT is not used, they are ignored.
93+ # Some tasking tests require larger stack size.
94+ config .environment ['ABT_THREAD_STACKSIZE' ] = "262144"
95+ # Sleep alleviates oversubscription overheads when -j is specified.
96+ config .environment ['KMP_ABT_SCHED_SLEEP' ] = "1"
97+
9298# Race Tests
9399config .substitutions .append (("%libarcher-compile-and-run-race" , \
94100 "%libarcher-compile && %libarcher-run-race" ))
You can’t perform that action at this time.
0 commit comments