-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
build error on compiling with cuda features #29
Comments
Update the version numbers in the cake-core/Cargo.toml file from 0.6.0 to 0.7.1 to resolve CUDA 12.6 support issues. Specifically: |
I confirm it builds OK with that mod. |
error: failed to run custom build command for Caused by: Remark: The warnings can be suppressed with "-diag-suppress " affine.cu Remark: The warnings can be suppressed with "-diag-suppress " C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\compatibility.cuh(58): warning #940-D: missing return statement at end of non-void function "atomicAdd(__half *, __half)" Remark: The warnings can be suppressed with "-diag-suppress " C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\compatibility.cuh(58): warning #940-D: missing return statement at end of non-void function "atomicAdd(__half *, __half)" Remark: The warnings can be suppressed with "-diag-suppress " cast.cu Remark: The warnings can be suppressed with "-diag-suppress " binary.cu C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2032): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2074): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2092): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2117): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2117): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2143): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2179): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2179): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2206): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2240): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(2259): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1824): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1847): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1881): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1912): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1948): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1948): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1962): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1824): error: identifier "__dp4a" is undefined C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\quantized.cu(1847): error: identifier "__dp4a" is undefined 21 errors detected in the compilation of "src/quantized.cu". Remark: The warnings can be suppressed with "-diag-suppress " sort.cu Remark: The warnings can be suppressed with "-diag-suppress " ternary.cu Remark: The warnings can be suppressed with "-diag-suppress " C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\reduce.cu(371): warning #173-D: floating-point value does not fit in required integral type C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\reduce.cu(331): warning #173-D: floating-point value does not fit in required integral type C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\reduce.cu(371): warning #173-D: floating-point value does not fit in required integral type C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\reduce.cu(331): warning #173-D: floating-point value does not fit in required integral type C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\reduce.cu(371): warning #173-D: floating-point value does not fit in required integral type C:\Users\Administrator.cargo\registry\src\index.crates.io-6f17d22bba15001f\candle-kernels-0.7.2\src\reduce.cu(331): warning #173-D: floating-point value does not fit in required integral type reduce.cu Remark: The warnings can be suppressed with "-diag-suppress " unary.cu system info: |
`(base) venu ~/cake git-[ main]- cargo build --release --features cuda
Compiling cudarc v0.11.8
Compiling candle-kernels v0.6.0
error: failed to run custom build command for
cudarc v0.11.8
Caused by:
process didn't exit successfully:
/home/venu/cake/target/release/build/cudarc-598151fba6f81340/build-script-build
(exit status: 101)--- stdout
cargo:rerun-if-changed=build.rs
cargo:rerun-if-env-changed=CUDA_ROOT
cargo:rerun-if-env-changed=CUDA_PATH
cargo:rerun-if-env-changed=CUDA_TOOLKIT_ROOT_DIR
--- stderr
thread 'main' panicked at /home/venu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cudarc-0.11.8/build.rs:82:14:
Unsupported cuda toolkit version:
12.6
. Please raise a github issue.note: run with
RUST_BACKTRACE=1
environment variable to display a backtracewarning: build failed, waiting for other jobs to finish...`
I am new to this cargo build in rust, please help me out compiling this code with cuda features.
Some useful information about my system:
Thanks in advance.
The text was updated successfully, but these errors were encountered: