[PATCH] D117137: [Driver] Add CUDA support for --offload param

Henry Linjamäki via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 25 00:59:47 PST 2022


linjamaki added a comment.

SPIR-V target requires that the OS and the environment type is unknown (see TargetInfo::AllocateTarget and BaseSPIRTargetInfo). The clang would fail to create a SPIR-V target if there is an OS or environment component in the target string known by the Triple. This could lead to a misleading error message.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D117137



More information about the cfe-commits mailing list