From 4bfff448de020c6c5664fcb50232b086f2d6de8e Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 10 Dec 2022 14:25:09 -0500 Subject: [PATCH] OpenCL works --- ClionCPPGoodStyleConfig_v5.xml | 73 ++ Step 3/.idea/codeStyles/Project.xml | 2 + Step 3/.idea/codeStyles/codeStyleConfig.xml | 2 +- Step 3/.idea/vcs.xml | 1 - Step 3/cmake-build-debug/.ninja_deps | Bin 66260 -> 106548 bytes Step 3/cmake-build-debug/.ninja_log | 33 + Step 3/cmake-build-debug/CMakeCache.txt | 20 +- .../CMakeFiles/CMakeOutput.log | 449 ++++++++++ .../cmake-build-debug/CMakeFiles/rules.ninja | 2 +- Step 3/cmake-build-debug/Step_3 | Bin 12676768 -> 13153600 bytes .../Testing/Temporary/LastTest.log | 4 +- Step 3/cmake-build-debug/build.ninja | 121 ++- ...son => cache-v2-299b6ee7172b2fed597e.json} | 58 +- .../cmakeFiles-v1-57113b5e648447ca614d.json | 217 ----- .../cmakeFiles-v1-5dd17a1ef763d0c0d3b9.json | 825 +++++++++++++++++ ...=> codemodel-v2-09e7c3101cb08490168f.json} | 2 +- ...on => index-2022-12-07T22-54-00-0297.json} | 18 +- ...-Step_3-Release-ff09dd83b6cb861af400.json} | 2 +- Step 3/cmake-build-release-mpi/CMakeCache.txt | 20 +- .../CMakeFiles/3.24.2/CMakeCCompiler.cmake | 72 ++ .../CMakeFiles/3.24.2/CMakeCXXCompiler.cmake | 83 ++ .../3.24.2/CMakeDetermineCompilerABI_C.bin | Bin 0 -> 16024 bytes .../3.24.2/CMakeDetermineCompilerABI_CXX.bin | Bin 0 -> 16040 bytes .../CMakeFiles/3.24.2/CMakeSystem.cmake | 15 + .../3.24.2/CompilerIdC/CMakeCCompilerId.c | 838 ++++++++++++++++++ .../CMakeFiles/3.24.2/CompilerIdC/a.out | Bin 0 -> 16136 bytes .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 826 +++++++++++++++++ .../CMakeFiles/3.24.2/CompilerIdCXX/a.out | Bin 0 -> 16152 bytes .../CMakeFiles/CMakeOutput.log | 449 ++++++++++ .../CMakeFiles/clion-Release-MPI-log.txt | 22 + .../CMakeFiles/rules.ninja | 2 +- .../Testing/Temporary/LastTest.log | 4 +- Step 3/cmake-build-release-mpi/build.ninja | 65 +- Step 3/include/engine/raytracing.h | 23 + Step 3/include/engine/util/memory_util.h | 40 +- Step 3/include/opencl/open_ray_tracing.h | 9 +- ...cer (conflicted copy 2022-12-09 001755).cl | 261 ++++++ Step 3/resources/opencl/raytracer.cl | 246 +++++ Step 3/resources/opencl/sphereray.cl | 139 +++ Step 3/resources/opencl/types.cl | 0 Step 3/src/engine/main.cpp | 5 +- Step 3/src/engine/raytracing.cpp | 75 +- Step 3/src/engine/util/loaders.cpp | 52 +- Step 3/src/engine/world.cpp | 1 - Step 3/src/opencl/open_ray_tracing.cpp | 150 +++- proj_step3_description.pdf | Bin 0 -> 39989 bytes proj_step4_description.pdf | Bin 0 -> 32653 bytes 47 files changed, 4818 insertions(+), 408 deletions(-) create mode 100644 ClionCPPGoodStyleConfig_v5.xml rename Step 3/cmake-build-release-mpi/.cmake/api/v1/reply/{cache-v2-3f064502620c5b99a262.json => cache-v2-299b6ee7172b2fed597e.json} (96%) delete mode 100644 Step 3/cmake-build-release-mpi/.cmake/api/v1/reply/cmakeFiles-v1-57113b5e648447ca614d.json create mode 100644 Step 3/cmake-build-release-mpi/.cmake/api/v1/reply/cmakeFiles-v1-5dd17a1ef763d0c0d3b9.json rename Step 3/cmake-build-release-mpi/.cmake/api/v1/reply/{codemodel-v2-73be07f725d3293e1a94.json => codemodel-v2-09e7c3101cb08490168f.json} (93%) rename Step 3/cmake-build-release-mpi/.cmake/api/v1/reply/{index-2022-12-03T16-01-56-0331.json => index-2022-12-07T22-54-00-0297.json} (78%) rename Step 3/cmake-build-release-mpi/.cmake/api/v1/reply/{target-Step_3-Release-0e16299909ee4154184a.json => target-Step_3-Release-ff09dd83b6cb861af400.json} (98%) create mode 100644 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CMakeCCompiler.cmake create mode 100644 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CMakeCXXCompiler.cmake create mode 100755 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CMakeDetermineCompilerABI_C.bin create mode 100755 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CMakeDetermineCompilerABI_CXX.bin create mode 100644 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CMakeSystem.cmake create mode 100644 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CompilerIdC/CMakeCCompilerId.c create mode 100755 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CompilerIdC/a.out create mode 100644 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CompilerIdCXX/CMakeCXXCompilerId.cpp create mode 100755 Step 3/cmake-build-release-mpi/CMakeFiles/3.24.2/CompilerIdCXX/a.out create mode 100644 Step 3/cmake-build-release-mpi/CMakeFiles/clion-Release-MPI-log.txt create mode 100644 Step 3/resources/opencl/raytracer (conflicted copy 2022-12-09 001755).cl create mode 100644 Step 3/resources/opencl/raytracer.cl create mode 100644 Step 3/resources/opencl/sphereray.cl create mode 100644 Step 3/resources/opencl/types.cl create mode 100644 proj_step3_description.pdf create mode 100644 proj_step4_description.pdf diff --git a/ClionCPPGoodStyleConfig_v5.xml b/ClionCPPGoodStyleConfig_v5.xml new file mode 100644 index 0000000..6893221 --- /dev/null +++ b/ClionCPPGoodStyleConfig_v5.xml @@ -0,0 +1,73 @@ + + \ No newline at end of file diff --git a/Step 3/.idea/codeStyles/Project.xml b/Step 3/.idea/codeStyles/Project.xml index 52a841b..5716e11 100644 --- a/Step 3/.idea/codeStyles/Project.xml +++ b/Step 3/.idea/codeStyles/Project.xml @@ -17,10 +17,12 @@