mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make sure OpenCL can be used without CUDA
This commit is contained in:
@@ -112,10 +112,12 @@ void MultisegmentWellContribution::apply(double *h_x, double *h_y)
|
||||
}
|
||||
}
|
||||
|
||||
#if HAVE_CUDA
|
||||
void MultisegmentWellContribution::setCudaStream(cudaStream_t stream_)
|
||||
{
|
||||
stream = stream_;
|
||||
}
|
||||
#endif
|
||||
|
||||
unsigned int MultisegmentWellContribution::getColIdx(unsigned int idx)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user