[PATCH] D95007: [CUDA][HIP] Add -fuse-cuid

Yaxun Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 20 07:56:13 PDT 2021


yaxunl added a comment.

In D95007#2638955 <https://reviews.llvm.org/D95007#2638955>, @MaskRay wrote:

> Should `-cuid=` be `--cuid=`?

For the existing clang options, there seem to be no rule or convention whether to use - or --. For example,

  -rtlib=<value>          Compiler runtime library to use
  -save-stats=<value>     Save llvm statistics.
  -save-temps=<value>     Save intermediate compilation results.
  -std=<value>            Language standard to compile for
  -stdlib=<value>         C++ standard library to use
  -struct-layout=<value>  Run the Structure Peeling passes
  -struct-peel-mem-block-size=<value>
  -struct-peel-ptr-size=<value>
  -sycl-std=<value>       SYCL language standard to compile for.

Here I choose -cuid= since it is shorter.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95007



More information about the cfe-commits mailing list