|
clang
3.8.0
|
#include <ToolChains.h>
Public Member Functions | |
| CudaInstallationDetector (const Driver &D) | |
| void | init (const llvm::Triple &TargetTriple, const llvm::opt::ArgList &Args) |
| bool | isValid () const |
| Check whether we detected a valid Cuda install. More... | |
| void | print (raw_ostream &OS) const |
| Print information about the detected CUDA installation. More... | |
| StringRef | getInstallPath () const |
| Get the detected Cuda installation path. More... | |
| StringRef | getIncludePath () const |
| Get the detected Cuda Include path. More... | |
| StringRef | getLibPath () const |
| Get the detected Cuda library path. More... | |
| StringRef | getLibDevicePath () const |
| Get the detected Cuda device library path. More... | |
| std::string | getLibDeviceFile (StringRef Gpu) const |
| Get libdevice file for given architecture. More... | |
Definition at line 162 of file ToolChains.h.
|
inline |
Definition at line 172 of file ToolChains.h.
|
inline |
Get the detected Cuda Include path.
Definition at line 183 of file ToolChains.h.
Referenced by clang::driver::toolchains::Linux::AddCudaIncludeArgs().
|
inline |
Get the detected Cuda installation path.
Definition at line 181 of file ToolChains.h.
|
inline |
Get libdevice file for given architecture.
Definition at line 189 of file ToolChains.h.
Referenced by clang::driver::toolchains::CudaToolChain::addClangTargetOptions().
|
inline |
Get the detected Cuda device library path.
Definition at line 187 of file ToolChains.h.
|
inline |
Get the detected Cuda library path.
Definition at line 185 of file ToolChains.h.
| void Generic_GCC::CudaInstallationDetector::init | ( | const llvm::Triple & | TargetTriple, |
| const llvm::opt::ArgList & | Args | ||
| ) |
Definition at line 1637 of file ToolChains.cpp.
References FilePath.
Referenced by clang::driver::toolchains::Linux::Linux().
|
inline |
Check whether we detected a valid Cuda install.
Definition at line 176 of file ToolChains.h.
Referenced by clang::driver::toolchains::Linux::AddCudaIncludeArgs().
| void Generic_GCC::CudaInstallationDetector::print | ( | raw_ostream & | OS | ) | const |
Print information about the detected CUDA installation.
Definition at line 1695 of file ToolChains.cpp.
Referenced by clang::driver::toolchains::Generic_GCC::printVerboseInfo().
1.8.6