diff options
| author | Andrew <saintruler@gmail.com> | 2019-05-05 20:38:16 +0400 |
|---|---|---|
| committer | Andrew <saintruler@gmail.com> | 2019-05-05 20:38:16 +0400 |
| commit | 15ccb946f43283bfc91d80ddf012d9ae2a0333ed (patch) | |
| tree | c6715caebbed0eeb66db23d2180b2d2893f8cdf0 /Canvas/cuda/CalculateCanvasGPU.h | |
| parent | 1d3889e93f547df9f6c578b107552807c27fc6d4 (diff) | |
Diffstat (limited to 'Canvas/cuda/CalculateCanvasGPU.h')
| -rw-r--r-- | Canvas/cuda/CalculateCanvasGPU.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Canvas/cuda/CalculateCanvasGPU.h b/Canvas/cuda/CalculateCanvasGPU.h new file mode 100644 index 0000000..46f54c5 --- /dev/null +++ b/Canvas/cuda/CalculateCanvasGPU.h @@ -0,0 +1,20 @@ +// +// Created by saintruler on 05.05.19. +// + +#ifndef OPENGLTEST_CALCULATECANVASGPU_H +#define OPENGLTEST_CALCULATECANVASGPU_H + +#include <iostream> +#include <vector> +#include <fstream> + +typedef struct +{ + int x, y; +} cuda_point; + + +void generate_canvas(int width, int height, unsigned char* canvas, cuda_point* points, int nPoints); + +#endif //OPENGLTEST_CALCULATECANVASGPU_H |