[Openmp-commits] [PATCH] D106870: [OpenMP] Multi architecture compilation support

Saiyedul Islam via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 27 06:50:11 PDT 2021


saiislam added a comment.

In D106870#2907252 <https://reviews.llvm.org/D106870#2907252>, @ye-luo wrote:

> `-fopenmp-targets=amdgcn-amd-amdhsa,amdgcn-amd-amdhsa` seems burdensome. Could you just count how many `-Xopenmp-target=amdgcn-amd-amdhsa` there are on the comand line and then count the unique ones?

I have a patch in pipeline which will eliminate need of (-fopenmp-targets, -Xopenmp-target, and -march) altogether. User will be able to compile with just "--offload-arch=gfx906" instead of using the other three flags.
It is working in our downstream AOMP Compiler but I haven't posted a phab review yet.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D106870/new/

https://reviews.llvm.org/D106870



More information about the Openmp-commits mailing list