arrayfire-rust icon indicating copy to clipboard operation
arrayfire-rust copied to clipboard

Rust wrapper for ArrayFire

Results 25 arrayfire-rust issues
Sort by recently updated
recently updated
newest added

Description =========== In 3.8.0, arrayfire::index can only take i32 and u32 sequences and arrayfire::index can't take i64 and u64 sequences Add the ability for arrayfire::index to use i64 and u64...

Feature
Upstream

Description =========== pub fn replace_scalar(a: &mut Array, cond: &Array, b: f64) Shouldn't type of input "b" == T and not f64?

Feature

Description =========== Add API to wrap the following C API - [ ] af_save_array - [ ] af_read_array_index - [ ] af_read_array_key - [ ] af_read_array_key_check - [ ] af_array_to_string

Feature

It will be useful to set which cuda stream to use in arrayfire, so that we can run kernels in parallel and use external streams to ensure a correct kernel...

Feature

Description =========== From the original issue: https://github.com/arrayfire/arrayfire-rust/issues/52#issuecomment-664138643 The discussion there resulted in this demo code to run a simple hash function FNV1a-32 from CPU rust code to on the GPU...

Feature

- [ ] http://erickt.github.io/blog/2015/09/22/if-you-use-unsafe/ - [x] https://github.com/Manishearth/rust-clippy

Tests

Below is the output: ``` test core::macros::tests::match_view_macro_with_get_rows ... ok test core::index::tests::non_macro_seq_assign ... ok test core::macros::tests::match_eval_macro_with_set_rows ... ok [kernel][1678353237][1039744] [ /work/gitee/j_arrayfires/arrayfire/src/backend/cuda/kernel/random_engine.hpp:1065 ] Launching uniformPhilox: Blocks: [1] Threads: [256] Shared Memory: 0...

Bug
Needs More Info

- `arrayfire-rust` crate - [ ] Commit version change in Cargo.toml & README - `af-cuda-interop` crate if changed - [ ] Change version in Cargo.toml - [ ] Change arrayfire...

These changes seem to suffice but I haven't made a thorough check. Will mark this ready once that is done. @umar456 @syurkevi Anything I missed ? Tests are failing but...

Feature