Skip to content

Add a swap implementation that works on all backend.

Allison Vacanti requested to merge allisonvacanti/vtk-m:swap into master

Calling std::swap isn't legal from CUDA code, but the new vtkm::Swap method is safe. It currently does a naive swap when compiling CUDA code, and falls back to an ADL swap

Fixes #236 (closed)

Merge request reports