#define __1D_GRID
#define __1D_THREAD_BLOCK
#include <cuda.h>

__global__ void square_array(float* dataView)
{
  int idx = blockIdx.x*blockDim.x + threadIdx.x;
  dataView[idx] = dataView[idx] * dataView[idx];
#ifdef MUTATION
  dataView[idx+1] = dataView[idx+1];
#endif
   /* BUGINJECT: ADD_ACCESS, UP */
}
