diff --git a/Cargo.toml b/Cargo.toml index b89bbd9..033592a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ enum_delegate = "0.2.0" derive_more = "0.99.17" bson = "2.7.0" crossbeam = { version = "0.8.4" } -may = { git = "https://github.com/pyprogrammer/may.git", optional = true, features = [ +may = { git = "https://github.com/Xudong-Huang/may.git", optional = true, features = [ "rand_work_steal", ] } parking_lot = "0.12.1" diff --git a/benches/benchmark_sst.rs b/benches/benchmark_sst.rs index bf377c8..bdf8be1 100644 --- a/benches/benchmark_sst.rs +++ b/benches/benchmark_sst.rs @@ -4,7 +4,6 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; use dam::channel::*; use dam::context::Context; use dam::context_tools::*; -use dam::shim::RunMode; use dam::simulation::*; use dam::types::DAMType; use dam::utility_contexts::*; @@ -105,12 +104,7 @@ pub fn merge_benchmark(c: &mut Criterion) { .unwrap(), ) .unwrap() - .run( - RunOptionsBuilder::default() - .mode(RunMode::FIFO) - .build() - .unwrap(), - ); + .run(RunOptionsBuilder::default().build().unwrap()); }) }, ); @@ -219,12 +213,7 @@ pub fn add_benchmark(c: &mut Criterion) { .unwrap(), ) .unwrap() - .run( - RunOptionsBuilder::default() - .mode(RunMode::FIFO) - .build() - .unwrap(), - ); + .run(RunOptionsBuilder::default().build().unwrap()); }) }); } diff --git a/benches/benchmark_templates.rs b/benches/benchmark_templates.rs index 910be68..6480ebd 100644 --- a/benches/benchmark_templates.rs +++ b/benches/benchmark_templates.rs @@ -1,5 +1,4 @@ use criterion::{criterion_group, criterion_main, BenchmarkId, Criterion}; -use dam::shim::RunMode; use dam::templates::ops::*; use dam::utility_contexts::*; use dam::{simulation::*, templates::pcu::*}; @@ -69,12 +68,7 @@ pub fn pcu_benchmark(c: &mut Criterion) { parent .initialize(InitializationOptions::default()) .unwrap() - .run( - RunOptionsBuilder::default() - .mode(RunMode::FIFO) - .build() - .unwrap(), - ); + .run(RunOptionsBuilder::default().build().unwrap()); }) }); }