summaryrefslogtreecommitdiff
path: root/main.cu
blob: 9063a8f01c89fd14136bd56dbee6b6575afe7712 (plain)
1
2
3
4
5
6
#include "include/helper_math.h"
__global__ void random_noise(double **image) {
  int2 unnormalized_coordinates = make_int2(blockDim.x, blockDim.y) * make_int2(blockIdx.x, blockIdx.y) + make_int2(threadIdx.x, threadIdx.y);
  int2 img_res = make_int2(blockDim.x, blockDim.y) * make_int2(gridDim.x, gridDim.y);//could move out of kernel for performance boost
  
}