Skip to content

Commit

Permalink
Update macro guard for overly long to compile NPR code
Browse files Browse the repository at this point in the history
  • Loading branch information
aportelli committed Oct 29, 2021
1 parent d655ef8 commit 76b37db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Hadrons/Modules/MNPR/FourQuark.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void TFourQuark<FImpl1, FImpl2>::tensorprod(LatticeSpinColourSpinColourMatrix &l
autoView(lret_v, lret, CpuWrite);
autoView(a_v, a, CpuRead);
autoView(b_v, b, CpuRead);
#ifdef GRID_NVCC
#ifdef GRID_CUDA
#warning "NVCC problem: Removed impossibly slow compile of simple NPR host code in FourQuark.hpp"
#else
thread_foreach( site,lret_v,{
Expand Down Expand Up @@ -156,7 +156,7 @@ void TFourQuark<FImpl1, FImpl2>::setup(void)
template <typename FImpl1, typename FImpl2>
void TFourQuark<FImpl1, FImpl2>::execute(void)
{
#ifndef GRID_NVCC
#ifndef GRID_CUDA

/*********************************************************************************
Expand Down

0 comments on commit 76b37db

Please sign in to comment.