[PATCH] D106960: [OffloadArch] Library to query properties of current offload archicture

Ye Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 4 08:55:05 PDT 2021


ye-luo added a comment.

I testing with aomp 13.0-5 on ubuntu 20.04.2 LTS (Focal Fossa)

  yeluo at epyc-server:~$ offload-arch -a
  gfx906
  ERROR: offload-arch not found for 10de:2486.
  yeluo at epyc-server:~$ offload-arch -c
  gfx906   sramecc+ xnack-
  yeluo at epyc-server:~$ offload-arch -n
  gfx906 1002:66AF

my second GPU is NVIDIA 3060Ti (sm_86)
I build my app daily with -Xopenmp-target=nvptx64-nvidia-cuda -march=sm_80.

About sm_80 binary able ot run on sm_86
https://docs.nvidia.com/cuda/ampere-compatibility-guide/index.html#application-compatibility-on-ampere


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106960



More information about the cfe-commits mailing list