|
@@ -83,7 +83,7 @@ __device__ inline unsigned int *DPstreamAlloc()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
extern bool dpcallback(void *data, unsigned short threadId,
|
|
extern bool dpcallback(void *data, unsigned short threadId,
|
|
|
- unsigned short blockId, unsigned int demux, string x,
|
|
|
|
|
|
|
+ unsigned short blockId, unsigned int demux, unsigned int *dpwords,
|
|
|
unsigned int a_0, unsigned int a_1, unsigned int a_2,
|
|
unsigned int a_0, unsigned int a_1, unsigned int a_2,
|
|
|
unsigned int b_0, unsigned int b_1, unsigned int b_2);
|
|
unsigned int b_0, unsigned int b_1, unsigned int b_2);
|
|
|
|
|
|
|
@@ -115,9 +115,9 @@ bool DPstreamParse(void *data)
|
|
|
unsigned int b_0 = dp[WORDS+4];
|
|
unsigned int b_0 = dp[WORDS+4];
|
|
|
unsigned int b_1 = dp[WORDS+5];
|
|
unsigned int b_1 = dp[WORDS+5];
|
|
|
unsigned int b_2 = dp[WORDS+6];
|
|
unsigned int b_2 = dp[WORDS+6];
|
|
|
- string x((const char *)(dp+1), WORDS*sizeof(unsigned int));
|
|
|
|
|
|
|
|
|
|
- if (dpcallback(data, threadId, blockId, dp[DEMUXWORD], x, a_0, a_1, a_2, b_0, b_1, b_2)) {
|
|
|
|
|
|
|
+ if (dpcallback(data, threadId, blockId, dp[DEMUXWORD], dp+1,
|
|
|
|
|
+ a_0, a_1, a_2, b_0, b_1, b_2)) {
|
|
|
stop_computing = true;
|
|
stop_computing = true;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|