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

@@ -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)
{