Rust-GPU/rust-cuda

OSX support (and some locking of versions to make rust-cuda compile)

gl-yziquel opened this issue · 2 comments

Hi.

I have fixed some versions to enable rust-cuda to build with the toolchain given in the repo. Here on the develop branch:

https://github.com/gl-yziquel/Rust-CUDA

(Anyone having trouble compiling may find this useful.)

However, I have a linux box with no GPU and an osx box with GPU. So I've tried compiling on osx.

I get:

error[E0432]: unresolved import `find_cuda_helper::find_libnvvm_bin_dir`

You may indeed find this function defined for linux, here:

https://github.com/Rust-GPU/Rust-CUDA/blob/master/crates/find_cuda_helper/src/lib.rs#L192

But not for OSX.

Uh.... seems osx can't deal with nvidia cuda toolkit.

AFAIK the toolkit is only for linux and windows.