Investigate issue with Kokkos backend on Cuda 10.2 and rhel8
This issue is related to the MR !2164 (merged).
Some filter tests are failing with the Cuda error invalid device function
inside Kokkos code.
This is what I have found so far:
- I have only been able to reproduce this on the rhel8, cuda 10.2 docker image running with a turing GPU.
- VTK-m needs to be built with -O3 level optimization.
- If I only enable individual failing tests in the CMakeLists file, then the tests pass.
At the moment, this error seems to only show up in a very specific configuration, so we plan to merge !2164 (merged) for now with a work-around that will switch to -O2
optimization when cuda 10 and Release
build is detected.