From 915dc4be7fdf6c8a4bf311801a1869076082571c Mon Sep 17 00:00:00 2001 From: Evghenii Date: Mon, 18 Nov 2013 13:24:01 +0100 Subject: [PATCH] +1 --- examples_cuda/sort/sort1.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples_cuda/sort/sort1.cu b/examples_cuda/sort/sort1.cu index 49886fdb..2c94a409 100644 --- a/examples_cuda/sort/sort1.cu +++ b/examples_cuda/sort/sort1.cu @@ -247,7 +247,7 @@ void sort_ispc ( int n, unsigned int code[], int order[], int ntasks, { int num = ntasks; int span = n / num; -#if 0 +#if 1 int hsize = 256*programCount*num; int * hist = __new< int>(hsize); int64 * pair = __new< int64>(n); @@ -293,7 +293,7 @@ void sort_ispc ( int n, unsigned int code[], int order[], int ntasks, unpack<<>> (span, n, pair, code, order); sync; -#if ALLOCATED +#ifdef ALLOCATED __delete(g); __delete(hist); __delete(pair);