commit 1cf91a1710beee16200b48487cacf9bc45bb4938
parent 497671ceb1dd0f33aa11ad69d23fc579c8dc27dc
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Mon, 13 Jan 2014 13:40:43 +0100
Uncomment kernel
Diffstat:
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -23,7 +23,7 @@ The build options are configured in the `Makefile`. To build, run:
The application can optionally be installed at system level in `/usr/local/bin`
by calling:
- `make install`
+ `sudo make install`
Author
------
diff --git a/scrub.cu b/scrub.cu
@@ -10,7 +10,6 @@
__global__ void write_value(int* d_mem, long unsigned int n_ints,
unsigned int nx, unsigned int ny)
{
- /*
// 3d thread index
unsigned int x = blockDim.x * blockIdx.x + threadIdx.x;
unsigned int y = blockDim.y * blockIdx.y + threadIdx.y;
@@ -22,7 +21,7 @@ __global__ void write_value(int* d_mem, long unsigned int n_ints,
if (idx < n_ints) {
__syncthreads();
d_mem[idx] = VALUETOWRITE;
- }*/
+ }
}
int main(int argc, char** argv)