[all-commits] [llvm/llvm-project] 11656f: [CUDA] Fix output from `ptxas` being removes as a ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Jan 25 14:25:12 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 11656f204aa5fd972564e76641c00ca058ba8c0d
https://github.com/llvm/llvm-project/commit/11656f204aa5fd972564e76641c00ca058ba8c0d
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M clang/lib/Driver/ToolChains/Cuda.cpp
Log Message:
-----------
[CUDA] Fix output from `ptxas` being removes as a temporary file
Summary:
The logic here is to add the `.cubin` temporary file if we had to create
a new filename to handle it. Unfortuantely the logic was wrong because
we compare `const char *` values here. This logic seems to have been
wrong for some time, but was never noticed since we never used the
relocatable output.
Fixes https://github.com/llvm/llvm-project/issues/60301
More information about the All-commits
mailing list