Skip to content

Commit

Permalink
Dev parallel (#4)
Browse files Browse the repository at this point in the history
* added files for parallel statements

+ basic enum to handle range policy

* more parameters & ExecutionPolicy struct

should ExecSpace be backend specific or generic?

* doc params

* parallel_for signature

* added handler struct to dispatch work

feature-specified backend is used here

* more error handling

* upgrade deps

* completed DispatchError impls

* fused the two range policy enums

* RangePolicy & MDRange implems

* wrote a simple test for mdrange;

need to impl PartialEq for Views to complete it

* completed mdrange test; removed a forgotten todo

* more tests for range & mdrange

* more error handling & desc of range policies

* doc & fix warnings
  • Loading branch information
imrn99 authored Oct 26, 2023
1 parent af9735d commit b1d6a3d
Show file tree
Hide file tree
Showing 8 changed files with 499 additions and 31 deletions.
58 changes: 30 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@ name = "poc-kokkos-rs"
version = "0.1.0"
edition = "2021"

# FEATURES

[features]
serial = []
threads = []
rayon = ["dep:rayon"]

# DEPENDENCIES

[dependencies]
cxx = "*"
cfg-if = "*"
rayon = {version = "*", optional=true}

[dev-dependencies]
criterion = { version = "*", features = ["html_reports"] }
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,5 @@ pub mod ffi {
}

pub mod functor;
pub mod routines;
pub mod view;
Loading

0 comments on commit b1d6a3d

Please sign in to comment.