Comments (3)
@3togo Nothing has changed in the build code build.rs
. Did you check if all necessary inputs for cargo build are available ? Please share reproducible steps
from arrayfire-rust.
Here are reproducible steps:
Cr0c0diLe<Lieutenaunt>*rust_lab*> git clone https://github.com/arrayfire/arrayfire-rust.git
Cloning into 'arrayfire-rust'...
remote: Enumerating objects: 51300, done.
remote: Counting objects: 100% (1373/1373), done.
remote: Compressing objects: 100% (226/226), done.
remote: Total 51300 (delta 1098), reused 1339 (delta 1093), pack-reused 49927
Receiving objects: 100% (51300/51300), 18.77 MiB | 7.41 MiB/s, done.
Resolving deltas: 100% (47756/47756), done.
Cr0c0diLe<Lieutenaunt>*rust_lab*> cd arrayfire-rust
Cr0c0diLe<Lieutenaunt>*arrayfire-rust*> git submodule update --init git submodule update --init --recursive
Submodule 'arrayfire' (https://github.com/arrayfire/arrayfire) registered for path 'arrayfire'
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire'...
Submodule path 'arrayfire': checked out '218dd2c99300e77496239ade76e94b0def65d032'
Submodule 'assets' (https://github.com/arrayfire/assets) registered for path 'arrayfire/assets'
Submodule 'extern/cub' (https://github.com/NVlabs/cub.git) registered for path 'arrayfire/extern/cub'
Submodule 'extern/forge' (https://github.com/arrayfire/forge.git) registered for path 'arrayfire/extern/forge'
Submodule 'extern/glad' (https://github.com/arrayfire/glad.git) registered for path 'arrayfire/extern/glad'
Submodule 'extern/spdlog' (https://github.com/gabime/spdlog.git) registered for path 'arrayfire/extern/spdlog'
Submodule 'src/backend/cpu/threads' (https://github.com/alltheflops/threads.git) registered for path 'arrayfire/src/backend/cpu/threads'
Submodule 'test/data' (https://github.com/arrayfire/arrayfire_data) registered for path 'arrayfire/test/data'
Submodule 'test/gtest' (https://github.com/google/googletest.git) registered for path 'arrayfire/test/gtest'
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/assets'...
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/extern/cub'...
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/extern/forge'...
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/extern/glad'...
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/extern/spdlog'...
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/src/backend/cpu/threads'...
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/test/data'...
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/test/gtest'...
Submodule path 'arrayfire/assets': checked out 'c53bfab909adfeed626f91ed419555711e20bca5'
Submodule path 'arrayfire/extern/cub': checked out 'd106ddb991a56c3df1b6d51b2409e36ba8181ce4'
Submodule path 'arrayfire/extern/forge': checked out '1a0f0cb6371a8c8053ab5eb7cbe3039c95132389'
Submodule 'extern/glm' (https://github.com/g-truc/glm.git) registered for path 'arrayfire/extern/forge/extern/glm'
Cloning into '/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/arrayfire/extern/forge/extern/glm'...
Submodule path 'arrayfire/extern/forge/extern/glm': checked out '9749727c2db4742369219e1d452f43e918734b4e'
Submodule path 'arrayfire/extern/glad': checked out '6e58ccdfa8e65e1dc5d04a0b9c752c6508ef80b5'
Submodule path 'arrayfire/extern/spdlog': checked out 'caff7296b162d97e44d6a1cc039adf689cfc02b3'
Submodule path 'arrayfire/src/backend/cpu/threads': checked out 'c483ad32b68c0301d91ff5d2bfc88d02589e9a43'
Submodule path 'arrayfire/test/data': checked out '408f44059015c57a66e13b4c98df86ebcb427950'
Submodule path 'arrayfire/test/gtest': checked out '2fe3bd994b3189899d93f1d5a881e725e046fdc2'
Cr0c0diLe<Lieutenaunt>*arrayfire-rust*> cargo build --all
Updating crates.io index
Compiling autocfg v1.1.0
Compiling proc-macro2 v1.0.69
Compiling unicode-ident v1.0.12
Compiling libm v0.2.8
Compiling thiserror v1.0.49
Compiling ucd-trie v0.1.6
Compiling memchr v2.6.4
Compiling serde v1.0.188
Compiling serde_json v1.0.107
Compiling itoa v1.0.9
Compiling ryu v1.0.15
Compiling libc v0.2.149
Compiling glob v0.3.1
Compiling cfg-if v1.0.0
Compiling lazy_static v1.4.0
Compiling cl-sys v0.4.3
Compiling cuda-config v0.1.0
Compiling num-traits v0.2.17
Compiling num-integer v0.1.45
Compiling num-bigint v0.4.4
Compiling num-rational v0.4.1
Compiling num-iter v0.1.43
Compiling cuda-runtime-sys v0.3.0-alpha.1
Compiling quote v1.0.33
Compiling syn v2.0.38
Compiling num-complex v0.4.4
Compiling half v2.3.1
Compiling thiserror-impl v1.0.49
Compiling serde_derive v1.0.188
Compiling num v0.4.1
Compiling pest v2.7.4
Compiling semver-parser v0.10.2
Compiling semver v0.11.0
Compiling rustc_version v0.3.3
Compiling arrayfire v3.8.0 (/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust)
Compiling af-opencl-interop v3.7.1 (/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/opencl-interop)
Compiling af-cuda-interop v3.7.1 (/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/cuda-interop)
Finished dev [unoptimized + debuginfo] target(s) in 5.83s
Cr0c0diLe<Lieutenaunt>*arrayfire-rust*> cargo test
Compiling cc v1.0.83
Compiling pkg-config v0.3.27
Compiling vcpkg v0.2.15
Compiling num-traits v0.2.17
Compiling crossbeam-utils v0.8.16
Compiling itoa v1.0.9
Compiling ryu v1.0.15
Compiling crc32fast v1.3.2
Compiling adler v1.0.2
Compiling curl v0.4.44
Compiling socket2 v0.4.9
Compiling openssl-probe v0.1.5
Compiling byteorder v1.5.0
Compiling serde v1.0.188
Compiling serde_json v1.0.107
Compiling miniz_oxide v0.7.1
Compiling flate2 v1.0.27
Compiling crossbeam-channel v0.5.8
Compiling openssl-sys v0.9.93
Compiling libz-sys v1.1.12
Compiling curl-sys v0.4.67+curl-8.3.0
Compiling pbr v1.1.1
Compiling num-integer v0.1.45
Compiling num-complex v0.4.4
Compiling half v2.3.1
Compiling num-bigint v0.4.4
Compiling num-iter v0.1.43
Compiling num-rational v0.4.1
Compiling mnist v0.5.0
Compiling bincode v1.3.3
Compiling num v0.4.1
Compiling arrayfire v3.8.0 (/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust)
Finished test [unoptimized + debuginfo] target(s) in 2.53s
Running unittests src/lib.rs (target/debug/deps/arrayfire-3c325ae9dd880d63)
running 34 tests
test core::macros::tests::dim4_construction ... ok
test core::macros::tests::seq_construction ... ok
ArrayFire v3.8.3 (CUDA, 64-bit Linux, build default)
Platform: CUDA Runtime 12.0, Driver: 535.113.01
[0] NVIDIA GeForce RTX 4090 Laptop GPU, 16080 MB, CUDA Compute 8.9
test core::macros::tests::constant_macro ... ok
ArrayFire v3.8.3 (CUDA, 64-bit Linux, build default)
Platform: CUDA Runtime 12.0, Driver: 535.113.01
[0] NVIDIA GeForce RTX 4090 Laptop GPU, 16080 MB, CUDA Compute 8.9
ArrayFire v3.8.3 (CUDA, 64-bit Linux, build default)
Platform: CUDA Runtime 12.0, Driver: 535.113.01
[0] NVIDIA GeForce RTX 4090 Laptop GPU, 16080 MB, CUDA Compute 8.9
[3 3 1 1]
Offset: 0
Strides: [1 3 9 9]
test core::index::tests::change_rows ... ok
test core::macros::tests::match_eval_macro_with_set_rows ... ok
[3 3 1 1]
Offset: 0
Strides: [1 3 9 9]
test core::index::tests::change_row ... ok
test core::macros::tests::match_view_macro_with_get_rows ... ok
3 3 3
3 3 3
3 3 3
test core::array::tests::thread_move_array ... ok
1 1 1
1 1 1
1 1 1
test core::array::tests::thread_borrow_array ... ok
test core::index::tests::non_macro_seq_assign ... ok
test core::array::tests::access_using_rwlock ... ok
test core::array::tests::accum_using_channel ... ok
test core::array::tests::read_from_multiple_threads ... ok
test core::macros::tests::eval_assign_array_to_seqd_array ... ok
test core::macros::tests::eval_assign_seq_indexed_array ... ok
test core::macros::tests::seq_view2 ... ok
test core::macros::tests::rand_macro ... ok
test core::index::tests::setrow ... ok
test core::index::tests::get_rows ... ok
error: test failed, to rerun pass `--lib`
Caused by:
process didn't exit successfully: `/home/Cr0c0diLe/Documents/rust_lab/arrayfire-rust/target/debug/deps/arrayfire-3c325ae9dd880d63` (signal: 11, SIGSEGV: invalid memory reference)
from arrayfire-rust.
@Gardene-el I am not sure if the original description issue and what you are noticing are same, nevertheless I have been facing an issue with the tests recently. I still haven't looked into it yet, will post an update as soon as I find anything useful or a fix.
from arrayfire-rust.
Related Issues (20)
- Add github action to check for crate vulnerabilities to run once a day on master branch HOT 1
- Support batch matrix multiplication
- Feature: Build feature to automatically download arrayfire binaries HOT 2
- [BUG] FFT example not working, Trait Bound HasAfEnum not implemented for Complex<float> HOT 5
- How to convert Seq to Array? HOT 2
- How to do assignment? HOT 2
- In file src\backend\cuda\kernel/reduce.hpp:429 CUDA Error (209): no kernel image is available for execution on the device 0# af::array::host in afcuda 1# af::array::host in afcuda 2# af::array::host in afcuda 3# af::array::host in afcuda 4# af::array::host in afcuda 5# af::array::host in af 6# arrayfire::algorithm::max_all<f64> HOT 1
- [Build] Failing Security GitHub Action HOT 3
- [BUG] Memory accumulation when using load_image in a loop HOT 3
- Multi GPU Support HOT 2
- "max" crash when using GTX 1060 and CUDA 11.8 HOT 2
- [Build] Support MacOS-arm-64
- Pad invert HOT 1
- [Build] Half 2.2.0 is not compatible HOT 5
- [Feature Request] Support indexing like `rows(..., 0, -2)`
- [BUG] arrayfire::locate fails for large arrays HOT 2
- Feature Update Arrayfire Rust to 3.9.0 HOT 6
- Update repositories for releasing crates HOT 1
- Publish Release
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from arrayfire-rust.