Просмотр исходного кода

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

Ian Goldberg 14 лет назад
Родитель
Сommit
5f3c0194f7
1 измененных файлов с 2 добавлено и 2 удалено
  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