diff options
Diffstat (limited to 'cuda')
-rw-r--r-- | cuda/2d/par_fp.cu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cuda/2d/par_fp.cu b/cuda/2d/par_fp.cu index ea436c3..aac6cc3 100644 --- a/cuda/2d/par_fp.cu +++ b/cuda/2d/par_fp.cu @@ -251,6 +251,10 @@ static void convertAndUploadAngles(const SParProjection *projs, unsigned int nth cudaMemcpyToSymbol(gC_angle, angles, nth*sizeof(float), 0, cudaMemcpyHostToDevice); cudaMemcpyToSymbol(gC_angle_offset, offsets, nth*sizeof(float), 0, cudaMemcpyHostToDevice); cudaMemcpyToSymbol(gC_angle_detsize, detsizes, nth*sizeof(float), 0, cudaMemcpyHostToDevice); + + delete [] angles; + delete [] offsets; + delete [] detsizes; } |