1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

NVCC clean up

This commit is contained in:
Peter Boyle 2019-01-01 15:02:50 +00:00
parent 07ee87ff5a
commit 4bf86ae60a

View File

@ -76,6 +76,7 @@ public:
else assert(0);
break;
#endif
#if !defined(GRID_NVCC)
case WilsonKernelsStatic::OptHandUnroll:
for (int site = 0; site < Nsite; site++) {
for (int s = 0; s < Ls; s++) {
@ -87,6 +88,9 @@ public:
sU++;
}
break;
#else
case WilsonKernelsStatic::OptHandUnroll:
#endif
case WilsonKernelsStatic::OptGpu:
case WilsonKernelsStatic::OptGeneric:
for (int site = 0; site < Nsite; site++) {
@ -139,6 +143,7 @@ public:
else assert(0);
break;
#endif
#if !defined(GRID_NVCC)
case WilsonKernelsStatic::OptHandUnroll:
for (int site = 0; site < Nsite; site++) {
for (int s = 0; s < Ls; s++) {
@ -151,6 +156,9 @@ public:
sU++;
}
break;
#else
case WilsonKernelsStatic::OptHandUnroll:
#endif
case WilsonKernelsStatic::OptGpu:
case WilsonKernelsStatic::OptGeneric:
for (int site = 0; site < Nsite; site++) {