diff --git a/src/main.cpp b/src/main.cpp index 43619f3..9b871c7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,15 +1,13 @@ -#include #include #include -#include "util.hpp" -#include "RayCaster.h" -#include -#include "Curses.h" -# include #include #include +#include +#include #ifdef linux +#include +#include #elif defined _WIN32 #include @@ -20,9 +18,13 @@ # include # include +#endif +#include "Map.h" +#include "Curses.h" +#include "util.hpp" +#include "RayCaster.h" -#endif const int WINDOW_X = 150; @@ -180,6 +182,14 @@ int main(){ return error; } + // Done initializing the kernel + cl_kernel finished_kernel = clCreateKernel(kernel_program, "kernel_name", &error); + + if (error != 0){ + std::cout << "Err: clCreateKernel returned: " << error << std::endl; + return error; + } + };