[all-commits] [llvm/llvm-project] 82d335: [NVPTX] Add support for -march=native in standalon...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Jan 25 13:56:25 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 82d335e70f91c03d01a5acfbd0c905abc1cc5b79
https://github.com/llvm/llvm-project/commit/82d335e70f91c03d01a5acfbd0c905abc1cc5b79
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-01-25 (Thu, 25 Jan 2024)
Changed paths:
M clang/lib/Driver/ToolChains/Cuda.cpp
M clang/lib/Driver/ToolChains/Cuda.h
A clang/test/Driver/Inputs/nvptx-arch/nvptx_arch_sm_89_sm_80
M clang/test/Driver/nvptx-cuda-system-arch.c
Log Message:
-----------
[NVPTX] Add support for -march=native in standalone NVPTX (#79373)
Summary:
We support `--target=nvptx64-nvidia-cuda` as a way to target the NVPTX
architecture from standard CPU. This patch simply uses the existing
support for handling `--offload-arch=native` to also apply to the
standalone toolchain.
More information about the All-commits
mailing list