small improvement

This commit is contained in:
Evghenii
2014-01-29 13:49:35 +01:00
parent d4b46b1295
commit 6099492579
2 changed files with 4 additions and 1 deletions

View File

@@ -196,6 +196,9 @@ export void radixSort_alloc(const uniform int n)
{
assert(memoryPool == NULL);
numBlocks = num_cores()*4;
#ifdef __NVPTX__
numBlocks = 13*32*4; //num_cores()*4;
#endif
nSharedCounts = NUMDIGITS*numBlocks;
nCountsGlobal = NUMDIGITS;
nExcScan = NUMDIGITS*numBlocks;