[PATCH] D153725: [clang] Make amdgpu-arch tool work on Windows

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 30 08:51:21 PDT 2023


jhuber6 added a comment.

Also w.r.t. target-id, I'm wondering what a good solution would be. Right now the main usage of `amdgpu-arch` is both to detect the `-mcpu / -march` in CMake and to fill in the architecture via `--offload-arch=native` or `-fopenmp-target=amdgcn-amd-amdhsa`. We may want to make a flag to specify if we want to include `target-id` information in the reported architectures.


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

https://reviews.llvm.org/D153725



More information about the cfe-commits mailing list