zama-ai / tfhe-rs

TFHE-rs: A Pure Rust implementation of the TFHE Scheme for Boolean and Integer Arithmetics Over Encrypted Data.
Other
825 stars 126 forks source link

Cuda compiling Error #1327

Open wyunhao opened 3 days ago

wyunhao commented 3 days ago

Hi there,

I am trying to write some code inside your library for personal testing and benchmarks, and thus cloned the whole repo and tried to build it. I installed rust and cuda following this link, with GCP n2 (1 GPU). However, when I run cargo run --release, it said

CMake Error at CMakeLists.txt 15:
    Cuda compiler not found.

Could you please provide some instructions on installing and compiling the whole repo? Great thanks!

IceTDrinker commented 3 days ago

Hello @wyunhao

did you perform the post installation steps ?

https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#post-installation-actions