From e783afe87fd5ababee00bf1d76c68f3ea1bbdf9d Mon Sep 17 00:00:00 2001 From: Evghenii Date: Wed, 29 Jan 2014 10:47:26 +0100 Subject: [PATCH] +added a comment --- examples_ptx/radixSort/radixSort.ispc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples_ptx/radixSort/radixSort.ispc b/examples_ptx/radixSort/radixSort.ispc index 8678be65..6a3d87f4 100644 --- a/examples_ptx/radixSort/radixSort.ispc +++ b/examples_ptx/radixSort/radixSort.ispc @@ -74,8 +74,8 @@ void sortPass( const uniform int mask = (1 << NUMBITS) - 1; const int unitScan = exclusive_scan_add(1); - const int unitScanHalf = exclusive_scan_add((int)(programIndex >= programCount/2)); - + + /* copy digit offset from Gmem to Lmem */ uniform int digitOffsets[NUMDIGITS]; foreach (digit = 0 ... NUMDIGITS) digitOffsets[digit] = digitOffsetsAll[blockIdx*NUMDIGITS + digit];