Make sure OpenCL can be used without CUDA

This commit is contained in:
T.D. (Tongdong) Qiu
2020-06-25 18:44:49 +02:00
parent b7f47c9787
commit 8913e1d057
14 changed files with 44 additions and 12 deletions

View File

@@ -185,7 +185,7 @@ namespace Opm
/// r = r - C D^-1 Rw
virtual void apply(BVector& r) const override;
#if HAVE_CUDA
#if HAVE_CUDA || HAVE_OPENCL
/// add the contribution (C, D^-1, B matrices) of this Well to the WellContributions object
void addWellContribution(WellContributions& wellContribs) const;