Parcourir la source

Fix an off-by-one error in selecting the DP word to use to demux

Ian Goldberg il y a 14 ans
Parent
commit
5f3c0194f7
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      dpstream.cu

+ 2 - 2
dpstream.cu

@@ -88,9 +88,9 @@ extern bool dpcallback(void *data, unsigned short threadId,
     unsigned int b_0, unsigned int b_1, unsigned int b_2);
 
 #if WORDS > 1
-#define DEMUXWORD 1
+#define DEMUXWORD 2
 #else
-#define DEMUXWORD 0
+#define DEMUXWORD 1
 #endif
 
 // Return true if we should stop computing