Skip to content

[smoke] - Add hip-fopenmp test #1116

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

Open
wants to merge 1 commit into
base: aomp-dev
Choose a base branch
from
Open

Conversation

estewart08
Copy link
Contributor

This is a simple hip program with -fopenmp. There was an unresolved symbol issue when using hip_host_overlay.h. Only programs with hip runtime calls, like hipMalloc, combined with openmp target regions should use this header. Hip programs with host openmp should not.

This is a simple hip program with -fopenmp. There was
an unresolved symbol issue when using hip_host_overlay.h.
Only programs with hip runtime calls, like hipMalloc,
combined with openmp target regions should use this header.
Hip programs with host openmp should not.
Comment on lines +7 to +16
VERS = $(shell $(AOMP)/bin/clang --version | grep -oP '(?<=clang version )[0-9.]+')
ifeq ($(shell expr $(VERS) \>= 12.0), 1)
ifeq ($(AOMP_SANITIZER),1)
RPTH = -Wl,-rpath,$(AOMPHIP)/lib/asan
LLIB = -L$(AOMPHIP)/lib/asan
else
RPTH = -Wl,-rpath,$(AOMPHIP)/lib
LLIB = -L$(AOMPHIP)/lib
endif
endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is all of that (still?) needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants