Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp374 assert(LibDevicePath.empty()); in detectDeviceLibrary()
377 LibDevicePath = RocmDeviceLibPathArg[RocmDeviceLibPathArg.size() - 1]; in detectDeviceLibrary()
380 LibDevicePath = std::move(*LibPathEnv); in detectDeviceLibrary()
383 if (!LibDevicePath.empty()) { in detectDeviceLibrary()
387 if (!FS.exists(LibDevicePath)) in detectDeviceLibrary()
390 scanLibDevicePath(LibDevicePath); in detectDeviceLibrary()
417 LibDevicePath = D.ResourceDir; in detectDeviceLibrary()
418 llvm::sys::path::append(LibDevicePath, CLANG_INSTALL_LIBDIR_BASENAME, in detectDeviceLibrary()
420 HasDeviceLibrary = CheckDeviceLib(LibDevicePath, true); in detectDeviceLibrary()
428 LibDevicePath = Candidate.Path; in detectDeviceLibrary()
[all …]
H A DROCm.h108 SmallString<0> LibDevicePath; variable
202 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.cpp191 LibDevicePath = InstallPath + "/nvvm/libdevice"; in CudaInstallationDetector()
196 if (CheckLibDevice && !FS.exists(LibDevicePath)) in CudaInstallationDetector()
205 Version = FS.exists(LibDevicePath + "/libdevice.10.bc") in CudaInstallationDetector()
212 std::string FilePath = LibDevicePath + "/libdevice.10.bc"; in CudaInstallationDetector()
225 for (llvm::vfs::directory_iterator LI = FS.dir_begin(LibDevicePath, EC), in CudaInstallationDetector()