OpenROAD
OpenROAD copied to clipboard
OpenROAD GPU Compile
Hi,
Is there a recommended way to compile for GPU? CMake doesn't seem to find the correct libraries/executables
Commands Used
sudo ./etc/DependencyInstaller.sh -runtime;
sudo ./etc/DependencyInstaller.sh -development;
./etc/Build.sh `-cmake="-DGPU=true
Output
CMake Error: Error required internal CMake variable not set, cmake may not be built correctly.
Missing variable is:
CMAKE_CUDA_DEVICE_LINK_EXECUTABLE
I've tried following this: https://cliutils.gitlab.io/modern-cmake/chapters/packages/CUDA.html
But more issues pop up.
Thanks!
The GPU code is quite new and probably not worth the bother at this point. If you want to persist then you need to install CUDA on your machine which is not handled through the dependency installer.
You can install cuda from Nvidia's website. https://developer.nvidia.com/cuda-downloads
@monibahmed Any luck getting it to work? Would love to have another user of this feature.
Yes, some luck install but its a manual hacking process. Trying to figure out some cmake flags
If there is anything not working it would be great to try and get those fixes in the main project.
@monibahmed Have you implemented this?
Closing issue as OpenLane2 and Nix seem to solve this problem