From 882999e591ece292d5ddbc87020ba70b3d2d1658 Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Wed, 8 May 2024 22:52:46 -0500 Subject: workspace --- main.cu | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 main.cu (limited to 'main.cu') diff --git a/main.cu b/main.cu new file mode 100644 index 0000000..9063a8f --- /dev/null +++ b/main.cu @@ -0,0 +1,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 + +} -- cgit v1.2.3