Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp363 assert(LibDevicePath.empty()); in detectDeviceLibrary()
366 LibDevicePath = RocmDeviceLibPathArg[RocmDeviceLibPathArg.size() - 1]; in detectDeviceLibrary()
368 LibDevicePath = LibPathEnv; in detectDeviceLibrary()
371 if (!LibDevicePath.empty()) { in detectDeviceLibrary()
375 if (!FS.exists(LibDevicePath)) in detectDeviceLibrary()
378 scanLibDevicePath(LibDevicePath); in detectDeviceLibrary()
433 LibDevicePath = MakePath(SubDirs); in detectDeviceLibrary()
434 HasDeviceLibrary = CheckDeviceLib(LibDevicePath); in detectDeviceLibrary()
H A DROCm.h108 SmallString<0> LibDevicePath; variable
201 StringRef getLibDevicePath() const { return LibDevicePath; } in getLibDevicePath()
H A DCuda.h36 std::string LibDevicePath; variable
76 StringRef getLibDevicePath() const { return LibDevicePath; } in getLibDevicePath()
H A DCuda.cpp184 LibDevicePath = InstallPath + "/nvvm/libdevice"; in CudaInstallationDetector()
189 if (CheckLibDevice && !FS.exists(LibDevicePath)) in CudaInstallationDetector()
211 Version = FS.exists(LibDevicePath + "/libdevice.10.bc") in CudaInstallationDetector()
218 std::string FilePath = LibDevicePath + "/libdevice.10.bc"; in CudaInstallationDetector()
231 for (llvm::vfs::directory_iterator LI = FS.dir_begin(LibDevicePath, EC), in CudaInstallationDetector()