Explorar o código

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

Ian Goldberg %!s(int64=14) %!d(string=hai) anos
pai
achega
5f3c0194f7
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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