Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp385 assert(LibDevicePath.empty()); in detectDeviceLibrary()
388 LibDevicePath = RocmDeviceLibPathArg[RocmDeviceLibPathArg.size() - 1]; in detectDeviceLibrary()
391 LibDevicePath = std::move(*LibPathEnv); in detectDeviceLibrary()
394 if (!LibDevicePath.empty()) { in detectDeviceLibrary()
398 if (!FS.exists(LibDevicePath)) in detectDeviceLibrary()
401 scanLibDevicePath(LibDevicePath); in detectDeviceLibrary()
428 LibDevicePath = D.ResourceDir; in detectDeviceLibrary()
429 llvm::sys::path::append(LibDevicePath, CLANG_INSTALL_LIBDIR_BASENAME, in detectDeviceLibrary()
431 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, true); in detectDeviceLibrary()
439 LibDevicePath = Candidate.Path; 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.cpp199 LibDevicePath = InstallPath + "/nvvm/libdevice"; in CudaInstallationDetector()
204 if (CheckLibDevice && !FS.exists(LibDevicePath)) in CudaInstallationDetector()
213 Version = FS.exists(LibDevicePath + "/libdevice.10.bc") in CudaInstallationDetector()
220 std::string FilePath = LibDevicePath + "/libdevice.10.bc"; in CudaInstallationDetector()
233 for (llvm::vfs::directory_iterator LI = FS.dir_begin(LibDevicePath, EC), in CudaInstallationDetector()