Skip to content
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

Update LLVM legacy APIs to the latest ones #124

Open
ouankou opened this issue Oct 2, 2022 · 0 comments
Open

Update LLVM legacy APIs to the latest ones #124

ouankou opened this issue Oct 2, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@ouankou
Copy link
Contributor

ouankou commented Oct 2, 2022

Currently, we are using __tgt_target_teams for GPU offloading. It's the oldest LLVM API, which has been updated to __tgt_target_teams_mapper since LLVM 12. Now LLVM 15 starts using __tgt_target_kernel instead. Their parameters are a little different. REX should update to the latest API in case they are removed from the future release of LLVM. We may be using other legacy APIs as well.

LLVM Legacy API: https://github.com/llvm/llvm-project/blob/release/15.x/openmp/libomptarget/src/LegacyAPI.cpp

LLVM 15 API: https://github.com/llvm/llvm-project/blob/release/15.x/openmp/libomptarget/include/omptarget.h

@ouankou ouankou added the enhancement New feature or request label Oct 2, 2022
@ouankou ouankou self-assigned this Oct 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant