-
Notifications
You must be signed in to change notification settings - Fork 63
[smoke] Replace deprecated -fopenmp-target-ignore-env-vars flag #2053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: aomp-dev
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,7 +8,7 @@ RUNENV += LIBOMPTARGET_KERNEL_TRACE=1 | |
|
|
||
| RUNCMD = ./$(TESTNAME) 2>&1 | $(FILECHECK) $(TESTSRC_MAIN) | ||
|
|
||
| CFLAGS += -O3 -fno-openmp-target-ignore-env-vars -fopenmp-target-fast | ||
| CFLAGS += -O3 -fopenmp-assume-no-thread-state -fopenmp-assume-no-nested-parallelism | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment as no-loop4. |
||
| CLANG = clang | ||
| OMP_BIN = $(AOMP)/bin/$(CLANG) | ||
| CC = $(OMP_BIN) $(VERBOSE) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ TESTSRC_MAIN = collapse_parallel_spmd.c | |
| TESTSRC_AUX = | ||
| TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX) | ||
|
|
||
| CFLAGS += -O3 -fno-openmp-target-ignore-env-vars | ||
| CFLAGS += -O3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment as in no-loop-4/ |
||
| CLANG ?= clang | ||
| OMP_BIN = $(AOMP)/bin/$(CLANG) | ||
| CC = $(OMP_BIN) $(VERBOSE) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ TESTSRC_MAIN = target-map.cpp | |
| TESTSRC_AUX = | ||
| TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX) | ||
|
|
||
| CFLAGS += -O3 -fno-openmp-target-ignore-env-vars | ||
| CFLAGS += -O3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same comment as in no-loop-4. |
||
| CLANG ?= clang++ | ||
| OMP_BIN = $(AOMP)/bin/$(CLANG) | ||
| CC = $(OMP_BIN) $(VERBOSE) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ TESTSRC_MAIN = envvar-sync-async.c | |
| TESTSRC_AUX = | ||
| TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX) | ||
|
|
||
| CFLAGS += -O3 -fno-openmp-target-ignore-env-vars | ||
| CFLAGS += -O3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
| CLANG ?= clang | ||
| OMP_BIN = $(AOMP)/bin/$(CLANG) | ||
| CC = $(OMP_BIN) $(VERBOSE) | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ TESTSRC_MAIN = matmul_parallel_spmd.c | |
| TESTSRC_AUX = | ||
| TESTSRC_ALL = $(TESTSRC_MAIN) $(TESTSRC_AUX) | ||
|
|
||
| CFLAGS += -O3 -fno-openmp-target-ignore-env-vars | ||
| CFLAGS += -O3 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same |
||
| CLANG ?= clang | ||
| OMP_BIN = $(AOMP)/bin/$(CLANG) | ||
| CC = $(OMP_BIN) $(VERBOSE) | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is checking whether the no-variant works for the option. So now it should have
CFLAGS += -fopenmp-target-fast -fno-openmp-assume-teams-oversubscription -fno-openmp-assume-threads-oversubscription
These -no-options should disable no-loop generation and the test should pass.