mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
WellContributions: optionally instantiate for float
cuWellContributions: optionally instantiate for float openclWellContributions: optionally instantiate for float rocsparseWellContributions: optionally instantiate for float these need to go in the same commit due to circular dependencies
This commit is contained in:
parent
9f5bad224c
commit
a7b99651c1
@ -184,4 +184,8 @@ addMultisegmentWellContribution(unsigned int dim_,
|
||||
|
||||
template class WellContributions<double>;
|
||||
|
||||
#if FLOW_INSTANTIATE_FLOAT
|
||||
template class WellContributions<float>;
|
||||
#endif
|
||||
|
||||
} //namespace Opm
|
||||
|
@ -262,5 +262,9 @@ void WellContributionsCuda<Scalar>::setCudaStream(cudaStream_t stream_)
|
||||
|
||||
template class WellContributionsCuda<double>;
|
||||
|
||||
#if FLOW_INSTANTIATE_FLOAT
|
||||
template class WellContributionsCuda<float>;
|
||||
#endif
|
||||
|
||||
} //namespace Opm
|
||||
|
||||
|
@ -168,4 +168,8 @@ void WellContributionsOCL<Scalar>::APIalloc()
|
||||
|
||||
template class WellContributionsOCL<double>;
|
||||
|
||||
#if FLOW_INSTANTIATE_FLOAT
|
||||
template class WellContributionsOCL<float>;
|
||||
#endif
|
||||
|
||||
} // namespace Opm
|
||||
|
@ -266,4 +266,8 @@ void WellContributionsRocsparse<Scalar>::APIalloc()
|
||||
|
||||
template class WellContributionsRocsparse<double>;
|
||||
|
||||
#if FLOW_INSTANTIATE_FLOAT
|
||||
template class WellContributionsRocsparse<float>;
|
||||
#endif
|
||||
|
||||
} // namespace Opm
|
||||
|
Loading…
Reference in New Issue
Block a user