openclPreconditioner.hpp
Go to the documentation of this file.
47 static std::unique_ptr<openclPreconditioner<Scalar, block_size>> create(PreconditionerType type, int verbosity, bool opencl_ilu_parallel);
50 virtual void setOpencl(std::shared_ptr<cl::Context>& context, std::shared_ptr<cl::CommandQueue>& queue);
56 // the version with two params can be overloaded, if not, it will default to using the one param version
58 virtual bool create_preconditioner(BlockedMatrix<Scalar> *mat, BlockedMatrix<Scalar> *jacMat) = 0;
Definition: BlockedMatrix.hpp:29 Definition: Preconditioner.hpp:41 Definition: openclPreconditioner.hpp:32 virtual void apply(const cl::Buffer &y, cl::Buffer &x)=0 std::shared_ptr< cl::Context > context Definition: openclPreconditioner.hpp:35 static std::unique_ptr< openclPreconditioner< Scalar, block_size > > create(PreconditionerType type, int verbosity, bool opencl_ilu_parallel) virtual bool create_preconditioner(BlockedMatrix< Scalar > *mat)=0 openclPreconditioner(int verbosity_) Definition: openclPreconditioner.hpp:40 virtual bool create_preconditioner(BlockedMatrix< Scalar > *mat, BlockedMatrix< Scalar > *jacMat)=0 virtual ~openclPreconditioner()=default std::vector< cl::Event > events Definition: openclPreconditioner.hpp:37 virtual void setOpencl(std::shared_ptr< cl::Context > &context, std::shared_ptr< cl::CommandQueue > &queue) std::shared_ptr< cl::CommandQueue > queue Definition: openclPreconditioner.hpp:36 Definition: amgclSolverBackend.hpp:44 |