Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is that possible to build it without CUDA? #1

Open
Wandalen opened this issue May 4, 2022 · 2 comments
Open

Is that possible to build it without CUDA? #1

Wandalen opened this issue May 4, 2022 · 2 comments

Comments

@Wandalen
Copy link

Wandalen commented May 4, 2022

I got cuda-related error.

error: failed to run custom build command for `cust_raw v0.11.3`

Caused by:
  process didn't exit successfully: `/pro/rust/lib/sparkl/target/debug/build/cust_raw-0be2776e22288af7/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'Could not find a cuda installation', /home/kos/.cargo/registry/src/github.com-1ecc6299db9ec823/find_cuda_helper-0.2.0/src/lib.rs:12:13
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

I ran it with command:

cargo run --bin examples2d

Is that possible to build it without CUDA?

@nhemsley
Copy link

Not the author here, but I believe it is, you just will need to run it with different features. I did it a few months ago. I'll try a find the command to get it working.

@nhemsley
Copy link

I think cust_raw gets built whether the cuda feature is enabled or not. probably a build bug?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants