CUDA: Small fix in the delayed free.
authorLukasz Wesolowski <wesolwsk@talent.cs.uiuc.edu>
Wed, 24 Feb 2010 22:05:12 +0000 (16:05 -0600)
committerLukasz Wesolowski <wesolwsk@talent.cs.uiuc.edu>
Wed, 24 Feb 2010 22:05:12 +0000 (16:05 -0600)
src/arch/cuda/hybridAPI/cuda-hybrid-api.cu

index 43723808d50f5a2673615ce7a052bd455ca1061f..0a83f389b2048112bf5fbc0142d58e57f83cc6f5 100644 (file)
@@ -189,6 +189,7 @@ void flushDelayedFrees(){
     }
     cudaFreeHost(delayedFreeReqs[i]);
   }
+  currentDfr = 0; 
 }
 
 /* flushPinnedMemQueue