This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 2D */ | |
KOKKOS_INLINE_FUNCTION | |
void index2coord(int index, int &i, int &j, int Nx, int Ny) | |
{ | |
UNUSED(Nx); | |
UNUSED(Ny); | |
#ifdef KOKKOS_ENABLE_CUDA | |
j = index / Nx; |