diff options
Diffstat (limited to 'src/main.rs')
-rwxr-xr-x | src/main.rs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/main.rs b/src/main.rs index 95a05eb..8a96f05 100755 --- a/src/main.rs +++ b/src/main.rs @@ -2,11 +2,13 @@ mod solver; mod solvers; mod structs; -use solver::Solver; - fn main() { - let mut solver = solvers::incremental_block::IncrementalBlockSover::new(4); - - solver.solve().output(); - //wall.output(solver.n, solver.h); + #[cfg(feature = "gpu")] + solvers::ocl::trivial(); + #[cfg(not(feature = "gpu"))] + //let mut solver = solvers::incremental_block::IncrementalBlockSover::new(4); + { + let mut solver = solvers::intuitive::NormalSolver::new(8); + solver.solve(); + } } |