We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7097cb commit 84292e9Copy full SHA for 84292e9
clang/lib/Driver/ToolChains/Cuda.h
@@ -184,6 +184,9 @@ class LLVM_LIBRARY_VISIBILITY CudaToolChain : public ToolChain {
184
void adjustDebugInfoKind(codegenoptions::DebugInfoKind &DebugInfoKind,
185
const llvm::opt::ArgList &Args) const override;
186
187
+ // math-errno should be the default for SYCL but not other OFK using CUDA TC
188
+ bool IsMathErrnoDefault() const override { return OK == Action::OFK_SYCL; }
189
+
190
void AddCudaIncludeArgs(const llvm::opt::ArgList &DriverArgs,
191
llvm::opt::ArgStringList &CC1Args) const override;
192
0 commit comments