Kyle A. Schau
Kyle A. Schau
To reproduce I would expect any CUDA kernel to fail when Kokkos::Initialize() is called from pykokkos-base, and a subsequent kokkos kernel is called. I cannot reproduce in Kokkos/C++ only code.
It seems like the inline static member behavior is different when Kokkos is compiled as a static versus a shared library. Because pybind11 requires PIC, generally one just compiles Kokkos...
@crtrott I'm a c++ ignoramos but I think I can give it a shot. I think just being able to prove one variable (the tile size for example) survives this...
> @kaschau A bit of a shot in the dark but try setting this variable to OFF and rebuild pykokkos-base: > > https://github.com/kokkos/pykokkos-base/blob/94553b7e4be91b042baa9d903dc98e73722eeced/cmake/Modules/KokkosPythonOptions.cmake#L82 > > I suspect the reason you...