Home
last modified time | relevance | path

Searched refs:LibDevicePath (Results 1 – 4 of 4) sorted by relevance

/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp386 assert(LibDevicePath.empty()); in detectDeviceLibrary()
389 LibDevicePath = RocmDeviceLibPathArg[RocmDeviceLibPathArg.size() - 1]; in detectDeviceLibrary()
392 LibDevicePath = std::move(*LibPathEnv); in detectDeviceLibrary()
395 if (!LibDevicePath.empty()) { in detectDeviceLibrary()
399 if (!FS.exists(LibDevicePath)) in detectDeviceLibrary()
402 scanLibDevicePath(LibDevicePath); in detectDeviceLibrary()
429 LibDevicePath = D.ResourceDir; in detectDeviceLibrary()
430 llvm::sys::path::append(LibDevicePath, CLANG_INSTALL_LIBDIR_BASENAME, in detectDeviceLibrary()
432 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, true); in detectDeviceLibrary()
440 LibDevicePath in detectDeviceLibrary()
[all...]
H A DROCm.h118 SmallString<0> LibDevicePath; variable
215 StringRef getLibDevicePath() const { return LibDevicePath; } in getLibDevicePath()
H A DCuda.h34 std::string LibDevicePath; variable
72 StringRef getLibDevicePath() const { return LibDevicePath; } in getLibDevicePath()
H A DCuda.cpp208 LibDevicePath = InstallPath + "/nvvm/libdevice"; in CudaInstallationDetector()
213 if (CheckLibDevice && !FS.exists(LibDevicePath)) in CudaInstallationDetector()
222 Version = FS.exists(LibDevicePath + "/libdevice.10.bc") in CudaInstallationDetector()
229 std::string FilePath = LibDevicePath + "/libdevice.10.bc"; in CudaInstallationDetector()
242 for (llvm::vfs::directory_iterator LI = FS.dir_begin(LibDevicePath, EC), in CudaInstallationDetector()