From 71320239f1d5621133e0115ce402dbc7a7cc9bd7 Mon Sep 17 00:00:00 2001 From: PBerger Date: Thu, 21 Aug 2014 14:27:00 +0200 Subject: [PATCH] Some debug output. Former-commit-id: dd0a60f09916935a23f2119db225103c36b6f8e9 --- ...ValueIterationNondeterministicLinearEquationSolver.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp b/src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp index 8a09d9e7d..c3e543433 100644 --- a/src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp +++ b/src/solver/TopologicalValueIterationNondeterministicLinearEquationSolver.cpp @@ -46,7 +46,8 @@ namespace storm { template<> void TopologicalValueIterationNondeterministicLinearEquationSolver::solveEquationSystem(bool minimize, storm::storage::SparseMatrix const& A, std::vector& x, std::vector const& b, std::vector* multiplyResult, std::vector* newX) const { // For testing only - LOG4CPLUS_INFO(logger, ">>> Using GPU based model checker WITH FLOAT! <<<"); + std::cout << "<<< Using CUDA-FLOAT Kernels >>>" << std::endl; + LOG4CPLUS_INFO(logger, "<<< Using CUDA-FLOAT Kernels >>>"); // Now, we need to determine the SCCs of the MDP and perform a topological sort. std::vector const& nondeterministicChoiceIndices = A.getRowGroupIndices(); @@ -228,7 +229,6 @@ namespace storm { void TopologicalValueIterationNondeterministicLinearEquationSolver::solveEquationSystem(bool minimize, storm::storage::SparseMatrix const& A, std::vector& x, std::vector const& b, std::vector* multiplyResult, std::vector* newX) const { #ifndef GPU_USE_DOUBLE - std::cout << "<<< Using CUDA-FLOAT Kernels >>>" << std::endl; TopologicalValueIterationNondeterministicLinearEquationSolver tvindles(precision, maximalNumberOfIterations, relative); storm::storage::SparseMatrix new_A = A.toValueType(); @@ -241,9 +241,9 @@ namespace storm { x.at(i) = new_x.at(i); } #else - std::cout << "<<< Using CUDA-FLOAT Kernels >>>" << std::endl; // For testing only - LOG4CPLUS_INFO(logger, ">>> Using GPU based model checker! <<<"); + std::cout << "<<< Using CUDA-DOUBLE Kernels >>>" << std::endl; + LOG4CPLUS_INFO(logger, "<<< Using CUDA-DOUBLE Kernels >>>"); // Now, we need to determine the SCCs of the MDP and perform a topological sort. std::vector const& nondeterministicChoiceIndices = A.getRowGroupIndices();