/GPGPU-Diffusion

A 2d diffusion model in OpenCL C

Primary LanguageCMIT LicenseMIT

#Usage Compile with gcc main.c -o main -framework OpenCL

Options:

  • -s: Length and width of grid, default 1024
  • -w: Work group size, default 16
  • -i: Number of iterations, default 100
  • -p: Print the results if passed