tChanged memory free calls - sphere - GPU-based 3D discrete element method algo… | |
git clone git://src.adamsgaard.dk/sphere | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit c8fda5738803686667567217cc927beb0c39a0fe | |
parent 77d03f69783d2598c0920041d85d8d722c2c1868 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Mon, 15 Oct 2012 15:02:55 +0200 | |
Changed memory free calls | |
Diffstat: | |
M src/device.cu | 6 +++--- | |
1 file changed, 3 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/src/device.cu b/src/device.cu | |
t@@ -768,9 +768,9 @@ __host__ void gpuMain(Float4* host_x, | |
cudaFree(dev_w_force_partial); | |
// Contact info arrays | |
- delete [] host_contacts; | |
- delete [] host_distmod; | |
- deleteĀ [] host_delta_t; | |
+ delete[] host_contacts; | |
+ delete[] host_distmod; | |
+ delete[] host_delta_t; | |
printf("Done\n"); | |
} /* EOF */ |