mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
With multisegment wells we allocate WellContributions::hx and hy with `CudaMallocHost`. Yet we tried to deallocate them with `delete[]`. This caused segementation faults e.g. for model1/MSW_MODEL_1. Now we use `CudaFreeHost` for freeing if we used CUDA. Closes #2719