Open flaub opened 1 year ago
It seems no easy way to force Rust to not ask Linux to load all the dynamic libraries in a lazy manner. My suggestion would be to wait until someone forks cust
crate and improves it.
The other solution, of course, is to have multiple executable files, r0vm-gpu, r0vm-cpu, and r0vm checks the platform and chooses one of them to proceed
I have a plan for this, and in fact have implemented it before. Just need to find some time.
:) almost forgot that you guys were previously working on this area
It seems no easy way to force Rust to not ask Linux to load all the dynamic libraries in a lazy manner. My suggestion would be to wait until someone forks
cust
crate and improves it.The other solution, of course, is to have multiple executable files, r0vm-gpu, r0vm-cpu, and r0vm checks the platform and chooses one of them to proceed
Hello, did you figure it out?
Currently CUDA is required at runtime as shown by:
The CUDA dependency needs to be optional and used only at runtime. If CUDA can't be found, we need to fallback to using the CPU backend.
Related to #1022