[clang] [AMDGPU] Use the AMDGPUToolChain when targeting C/C++ directly (PR #99687)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 22 09:16:53 PDT 2024


jhuber6 wrote:

> > Also, apparently there's some driver tests that expect `--target=amdgcn-amd-amdhsa-opencl` as the environment type. Is that the expected way to specify OpenCL? I'm not overly familiar.
> 
> That was a mistake from long ago we shouldn't continue. A language is not an environment

Alright, it works regardless but I should probably keep the check in there just in case.

https://github.com/llvm/llvm-project/pull/99687


More information about the cfe-commits mailing list