From e1f645b64737869af67aaca07b5f957ba8513b0c Mon Sep 17 00:00:00 2001 From: Mikhail Kushnikov Date: Thu, 13 Sep 2018 03:32:14 -0700 Subject: [PATCH 1/6] kernel-modification-draft: added a new kernel, which unwraps points/directions on the gpu and sums up the results with offseted weights --- CLW/CLWProgram.cpp | 3 +- CLW/CMakeFiles/CLW.dir/DependInfo.cmake | 42 +++ CLW/CMakeFiles/CLW.dir/build.make | 253 ++++++++++++++++++ CLW/CMakeFiles/CLW.dir/cmake_clean.cmake | 21 ++ .../CLW.dir/cmake_clean_target.cmake | 3 + CLW/CMakeFiles/CLW.dir/depend.make | 2 + CLW/CMakeFiles/CLW.dir/flags.make | 10 + CLW/CMakeFiles/CLW.dir/link.txt | 2 + CLW/CMakeFiles/CLW.dir/progress.make | 14 + .../CMakeDirectoryInformation.cmake | 16 ++ .../clw_kernel_cache_h.dir/DependInfo.cmake | 11 + .../clw_kernel_cache_h.dir/build.make | 81 ++++++ .../clw_kernel_cache_h.dir/cmake_clean.cmake | 9 + .../clw_kernel_cache_h.dir/progress.make | 2 + CLW/CMakeFiles/progress.marks | 1 + CLW/cmake_install.cmake | 34 +++ RadeonRays/include/radeon_rays.h | 5 +- RadeonRays/src/api/radeon_rays_impl.cpp | 5 + RadeonRays/src/api/radeon_rays_impl.h | 2 + .../src/device/calc_intersection_device.cpp | 32 +++ .../src/device/calc_intersection_device.h | 1 + RadeonRays/src/device/intersection_device.h | 2 + RadeonRays/src/intersector/intersector.cpp | 17 +- RadeonRays/src/intersector/intersector.h | 11 + .../intersector/intersector_skip_links.cpp | 32 +++ .../src/intersector/intersector_skip_links.h | 7 + .../kernels/CL/intersect_bvh2_skiplinks.cl | 103 ++++++- 27 files changed, 717 insertions(+), 4 deletions(-) create mode 100644 CLW/CMakeFiles/CLW.dir/DependInfo.cmake create mode 100644 CLW/CMakeFiles/CLW.dir/build.make create mode 100644 CLW/CMakeFiles/CLW.dir/cmake_clean.cmake create mode 100644 CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake create mode 100644 CLW/CMakeFiles/CLW.dir/depend.make create mode 100644 CLW/CMakeFiles/CLW.dir/flags.make create mode 100644 CLW/CMakeFiles/CLW.dir/link.txt create mode 100644 CLW/CMakeFiles/CLW.dir/progress.make create mode 100644 CLW/CMakeFiles/CMakeDirectoryInformation.cmake create mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake create mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make create mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake create mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make create mode 100644 CLW/CMakeFiles/progress.marks create mode 100644 CLW/cmake_install.cmake diff --git a/CLW/CLWProgram.cpp b/CLW/CLWProgram.cpp index 1ab4e86e..159ea1fe 100644 --- a/CLW/CLWProgram.cpp +++ b/CLW/CLWProgram.cpp @@ -46,9 +46,10 @@ static void load_file_contents(std::string const& name, std::vector& conte in.seekg(0, std::ios::beg); - contents.resize(static_cast(fileSize)); + contents.resize(static_cast(fileSize) + 1); in.read(&contents[0], fileSize); + contents[static_cast(fileSize)] = '\0'; } else { diff --git a/CLW/CMakeFiles/CLW.dir/DependInfo.cmake b/CLW/CMakeFiles/CLW.dir/DependInfo.cmake new file mode 100644 index 00000000..7addc48f --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/DependInfo.cmake @@ -0,0 +1,42 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + "CXX" + ) +# The set of files for implicit dependencies of each language: +set(CMAKE_DEPENDS_CHECK_CXX + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o" + "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" + ) +set(CMAKE_CXX_COMPILER_ID "AppleClang") + +# Preprocessor definitions for this target. +set(CMAKE_TARGET_DEFINITIONS_CXX + "RR_EMBED_KERNELS=1" + "USE_OPENCL=1" + ) + +# The include file search paths: +set(CMAKE_CXX_TARGET_INCLUDE_PATH + "../libs/geos/bin/include" + "../libs" + "/opt/X11/include" + "RadeonRays_SDK/CLW" + "RadeonRays_SDK/CLW/." + "/System/Library/Frameworks/OpenCL.framework" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/CLW/CMakeFiles/CLW.dir/build.make b/CLW/CMakeFiles/CLW.dir/build.make new file mode 100644 index 00000000..2ab3ce0f --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/build.make @@ -0,0 +1,253 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/local/Cellar/cmake/3.12.0/bin/cmake + +# The command to remove a file. +RM = /usr/local/Cellar/cmake/3.12.0/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer + +# Include any dependencies generated for this target. +include RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/depend.make + +# Include the progress variables for this target. +include RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/progress.make + +# Include the compile flags for this target's objects. +include RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make + +RadeonRays_SDK/CLW/clwkernels_cl.h: RadeonRays_SDK/CLW/CL/CLW.cl + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating CLW kernel cache" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /usr/local/bin/python2.7 /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/Tools/scripts/stringify.py /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CL/ .cl opencl > /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/clwkernels_cl.h + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o: RadeonRays_SDK/CLW/CLWCommandQueue.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWCommandQueue.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp > CMakeFiles/CLW.dir/CLWCommandQueue.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWCommandQueue.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp -o CMakeFiles/CLW.dir/CLWCommandQueue.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o: RadeonRays_SDK/CLW/CLWContext.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWContext.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWContext.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp > CMakeFiles/CLW.dir/CLWContext.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWContext.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp -o CMakeFiles/CLW.dir/CLWContext.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o: RadeonRays_SDK/CLW/CLWDevice.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWDevice.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWDevice.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp > CMakeFiles/CLW.dir/CLWDevice.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWDevice.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp -o CMakeFiles/CLW.dir/CLWDevice.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o: RadeonRays_SDK/CLW/CLWEvent.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWEvent.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWEvent.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp > CMakeFiles/CLW.dir/CLWEvent.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWEvent.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp -o CMakeFiles/CLW.dir/CLWEvent.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o: RadeonRays_SDK/CLW/CLWImage2D.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWImage2D.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWImage2D.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp > CMakeFiles/CLW.dir/CLWImage2D.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWImage2D.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp -o CMakeFiles/CLW.dir/CLWImage2D.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o: RadeonRays_SDK/CLW/CLWKernel.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWKernel.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWKernel.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp > CMakeFiles/CLW.dir/CLWKernel.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWKernel.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp -o CMakeFiles/CLW.dir/CLWKernel.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o: RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp > CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp -o CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o: RadeonRays_SDK/CLW/CLWPlatform.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWPlatform.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWPlatform.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp > CMakeFiles/CLW.dir/CLWPlatform.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWPlatform.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp -o CMakeFiles/CLW.dir/CLWPlatform.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o: RadeonRays_SDK/CLW/CLWProgram.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWProgram.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWProgram.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp > CMakeFiles/CLW.dir/CLWProgram.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWProgram.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp -o CMakeFiles/CLW.dir/CLWProgram.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o: RadeonRays_SDK/CLW/ParameterHolder.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/ParameterHolder.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/ParameterHolder.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp > CMakeFiles/CLW.dir/ParameterHolder.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/ParameterHolder.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp -o CMakeFiles/CLW.dir/ParameterHolder.cpp.s + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o: RadeonRays_SDK/CLW/ReferenceCounter.cpp + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/ReferenceCounter.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/ReferenceCounter.cpp.i" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp > CMakeFiles/CLW.dir/ReferenceCounter.cpp.i + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/ReferenceCounter.cpp.s" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp -o CMakeFiles/CLW.dir/ReferenceCounter.cpp.s + +# Object files for target CLW +CLW_OBJECTS = \ +"CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" \ +"CMakeFiles/CLW.dir/CLWContext.cpp.o" \ +"CMakeFiles/CLW.dir/CLWDevice.cpp.o" \ +"CMakeFiles/CLW.dir/CLWEvent.cpp.o" \ +"CMakeFiles/CLW.dir/CLWImage2D.cpp.o" \ +"CMakeFiles/CLW.dir/CLWKernel.cpp.o" \ +"CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" \ +"CMakeFiles/CLW.dir/CLWPlatform.cpp.o" \ +"CMakeFiles/CLW.dir/CLWProgram.cpp.o" \ +"CMakeFiles/CLW.dir/ParameterHolder.cpp.o" \ +"CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" + +# External object files for target CLW +CLW_EXTERNAL_OBJECTS = + +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/build.make +RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Linking CXX static library libCLW.a" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -P CMakeFiles/CLW.dir/cmake_clean_target.cmake + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/CLW.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/build: RadeonRays_SDK/CLW/libCLW.a + +.PHONY : RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/build + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/clean: + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -P CMakeFiles/CLW.dir/cmake_clean.cmake +.PHONY : RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/clean + +RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/depend: RadeonRays_SDK/CLW/clwkernels_cl.h + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/depend + diff --git a/CLW/CMakeFiles/CLW.dir/cmake_clean.cmake b/CLW/CMakeFiles/CLW.dir/cmake_clean.cmake new file mode 100644 index 00000000..b796009c --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/cmake_clean.cmake @@ -0,0 +1,21 @@ +file(REMOVE_RECURSE + "clwkernels_cl.h" + "CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" + "CMakeFiles/CLW.dir/CLWContext.cpp.o" + "CMakeFiles/CLW.dir/CLWDevice.cpp.o" + "CMakeFiles/CLW.dir/CLWEvent.cpp.o" + "CMakeFiles/CLW.dir/CLWImage2D.cpp.o" + "CMakeFiles/CLW.dir/CLWKernel.cpp.o" + "CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" + "CMakeFiles/CLW.dir/CLWPlatform.cpp.o" + "CMakeFiles/CLW.dir/CLWProgram.cpp.o" + "CMakeFiles/CLW.dir/ParameterHolder.cpp.o" + "CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" + "libCLW.pdb" + "libCLW.a" +) + +# Per-language clean rules from dependency scanning. +foreach(lang CXX) + include(CMakeFiles/CLW.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake b/CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake new file mode 100644 index 00000000..d001ceef --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake @@ -0,0 +1,3 @@ +file(REMOVE_RECURSE + "libCLW.a" +) diff --git a/CLW/CMakeFiles/CLW.dir/depend.make b/CLW/CMakeFiles/CLW.dir/depend.make new file mode 100644 index 00000000..a8a16b0a --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for CLW. +# This may be replaced when dependencies are built. diff --git a/CLW/CMakeFiles/CLW.dir/flags.make b/CLW/CMakeFiles/CLW.dir/flags.make new file mode 100644 index 00000000..c82f00f1 --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/flags.make @@ -0,0 +1,10 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ +CXX_FLAGS = -fvisibility=hidden -std=c++11 -fPIC + +CXX_DEFINES = -DRR_EMBED_KERNELS=1 -DUSE_OPENCL=1 + +CXX_INCLUDES = -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/../libs/geos/bin/include -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/../libs -I/opt/X11/include -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/. + diff --git a/CLW/CMakeFiles/CLW.dir/link.txt b/CLW/CMakeFiles/CLW.dir/link.txt new file mode 100644 index 00000000..e83c0a12 --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/link.txt @@ -0,0 +1,2 @@ +/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc libCLW.a CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o CMakeFiles/CLW.dir/CLWContext.cpp.o CMakeFiles/CLW.dir/CLWDevice.cpp.o CMakeFiles/CLW.dir/CLWEvent.cpp.o CMakeFiles/CLW.dir/CLWImage2D.cpp.o CMakeFiles/CLW.dir/CLWKernel.cpp.o CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o CMakeFiles/CLW.dir/CLWPlatform.cpp.o CMakeFiles/CLW.dir/CLWProgram.cpp.o CMakeFiles/CLW.dir/ParameterHolder.cpp.o CMakeFiles/CLW.dir/ReferenceCounter.cpp.o +/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib libCLW.a diff --git a/CLW/CMakeFiles/CLW.dir/progress.make b/CLW/CMakeFiles/CLW.dir/progress.make new file mode 100644 index 00000000..7a1b005c --- /dev/null +++ b/CLW/CMakeFiles/CLW.dir/progress.make @@ -0,0 +1,14 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 +CMAKE_PROGRESS_3 = 3 +CMAKE_PROGRESS_4 = 4 +CMAKE_PROGRESS_5 = 5 +CMAKE_PROGRESS_6 = 6 +CMAKE_PROGRESS_7 = 7 +CMAKE_PROGRESS_8 = 8 +CMAKE_PROGRESS_9 = 9 +CMAKE_PROGRESS_10 = 10 +CMAKE_PROGRESS_11 = 11 +CMAKE_PROGRESS_12 = 12 +CMAKE_PROGRESS_13 = 13 + diff --git a/CLW/CMakeFiles/CMakeDirectoryInformation.cmake b/CLW/CMakeFiles/CMakeDirectoryInformation.cmake new file mode 100644 index 00000000..b57b458f --- /dev/null +++ b/CLW/CMakeFiles/CMakeDirectoryInformation.cmake @@ -0,0 +1,16 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Relative path conversion top directories. +set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer") +set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer") + +# Force unix paths in dependencies. +set(CMAKE_FORCE_UNIX_PATHS 1) + + +# The C and CXX include file regular expressions for this directory. +set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") +set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") +set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) +set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake b/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake new file mode 100644 index 00000000..19fab214 --- /dev/null +++ b/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake @@ -0,0 +1,11 @@ +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + ) +# The set of files for implicit dependencies of each language: + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make b/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make new file mode 100644 index 00000000..ffa2cc96 --- /dev/null +++ b/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make @@ -0,0 +1,81 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.12 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + + +# Remove some rules from gmake that .SUFFIXES does not remove. +SUFFIXES = + +.SUFFIXES: .hpux_make_needs_suffix_list + + +# Suppress display of executed commands. +$(VERBOSE).SILENT: + + +# A target that is always out of date. +cmake_force: + +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/local/Cellar/cmake/3.12.0/bin/cmake + +# The command to remove a file. +RM = /usr/local/Cellar/cmake/3.12.0/bin/cmake -E remove -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer + +# Utility rule file for clw_kernel_cache_h. + +# Include the progress variables for this target. +include RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make + +RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h: RadeonRays_SDK/CLW/clwkernels_cl.h + + +RadeonRays_SDK/CLW/clwkernels_cl.h: RadeonRays_SDK/CLW/CL/CLW.cl + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating CLW kernel cache" + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /usr/local/bin/python2.7 /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/Tools/scripts/stringify.py /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CL/ .cl opencl > /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/clwkernels_cl.h + +clw_kernel_cache_h: RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h +clw_kernel_cache_h: RadeonRays_SDK/CLW/clwkernels_cl.h +clw_kernel_cache_h: RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make + +.PHONY : clw_kernel_cache_h + +# Rule to build all files generated by this target. +RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/build: clw_kernel_cache_h + +.PHONY : RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/build + +RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/clean: + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -P CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake +.PHONY : RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/clean + +RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/depend: + cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/depend + diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake b/CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake new file mode 100644 index 00000000..574644b3 --- /dev/null +++ b/CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake @@ -0,0 +1,9 @@ +file(REMOVE_RECURSE + "CMakeFiles/clw_kernel_cache_h" + "clwkernels_cl.h" +) + +# Per-language clean rules from dependency scanning. +foreach(lang ) + include(CMakeFiles/clw_kernel_cache_h.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make b/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make new file mode 100644 index 00000000..c1f25395 --- /dev/null +++ b/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make @@ -0,0 +1,2 @@ +CMAKE_PROGRESS_1 = 58 + diff --git a/CLW/CMakeFiles/progress.marks b/CLW/CMakeFiles/progress.marks new file mode 100644 index 00000000..8351c193 --- /dev/null +++ b/CLW/CMakeFiles/progress.marks @@ -0,0 +1 @@ +14 diff --git a/CLW/cmake_install.cmake b/CLW/cmake_install.cmake new file mode 100644 index 00000000..af6946d6 --- /dev/null +++ b/CLW/cmake_install.cmake @@ -0,0 +1,34 @@ +# Install script for directory: /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + diff --git a/RadeonRays/include/radeon_rays.h b/RadeonRays/include/radeon_rays.h index 17d26b16..7bbdc7fa 100644 --- a/RadeonRays/include/radeon_rays.h +++ b/RadeonRays/include/radeon_rays.h @@ -268,6 +268,9 @@ namespace RadeonRays // Find any intersection. // The call is asynchronous. Event pointer mights be nullptrs. virtual void QueryOcclusion(Buffer const* rays, int numrays, Buffer* hitresults, Event const* waitevent, Event** event) const = 0; + + + virtual void QueryOccluded2dSumLinear2(Buffer const* origins, Buffer const* directions, Buffer const* koeffs, Buffer const* offset_directions, Buffer const* offset_koeffs, int numorigins, int numdirections, Buffer* hitresults, Event const* waitevent, Event** event) const = 0; // Find closest intersection, number of rays is in remote memory // The call is asynchronous. Event pointers might be nullptrs. @@ -313,4 +316,4 @@ namespace RadeonRays } -#endif // RADEON_RAYS_H \ No newline at end of file +#endif // RADEON_RAYS_H diff --git a/RadeonRays/src/api/radeon_rays_impl.cpp b/RadeonRays/src/api/radeon_rays_impl.cpp index 10b2e787..b23ab10b 100644 --- a/RadeonRays/src/api/radeon_rays_impl.cpp +++ b/RadeonRays/src/api/radeon_rays_impl.cpp @@ -130,6 +130,11 @@ namespace RadeonRays { m_device->QueryOcclusion(rays, numrays, hitresults, waitevent, event); } + + void IntersectionApiImpl::QueryOccluded2dSumLinear2(Buffer const* origins, Buffer const* directions, Buffer const* koeffs, Buffer const* offset_directions, Buffer const* offset_koeffs, int numorigins, int numdirections, Buffer* hitresults, Event const* waitevent, Event** event) const + { + m_device->QueryOccluded2dSumLinear2(origins, directions, koeffs, offset_directions, offset_koeffs, numorigins, numdirections, hitresults, waitevent, event); + } void IntersectionApiImpl::QueryIntersection(Buffer const* rays, Buffer const* numrays, int maxrays, Buffer* hitinfos, Event const* waitevent, Event** event) const { diff --git a/RadeonRays/src/api/radeon_rays_impl.h b/RadeonRays/src/api/radeon_rays_impl.h index bde5fa04..88de4186 100644 --- a/RadeonRays/src/api/radeon_rays_impl.h +++ b/RadeonRays/src/api/radeon_rays_impl.h @@ -111,6 +111,8 @@ namespace RadeonRays // Find any intersection. // The call is asynchronous. Event pointer mights be nullptrs. void QueryOcclusion(Buffer const* rays, int numrays, Buffer* hitresults, Event const* waitevent, Event** event) const override; + + void QueryOccluded2dSumLinear2(Buffer const* origins, Buffer const* directions, Buffer const* koeffs, Buffer const* offset_directions, Buffer const* offset_koeffs, int numorigins, int numdirections, Buffer* hitresults, Event const* waitevent, Event** event) const override; // Find closest intersection, number of rays is in remote memory // TODO: do we need to modify rays' intersection range? diff --git a/RadeonRays/src/device/calc_intersection_device.cpp b/RadeonRays/src/device/calc_intersection_device.cpp index d13d5a14..c67e3878 100644 --- a/RadeonRays/src/device/calc_intersection_device.cpp +++ b/RadeonRays/src/device/calc_intersection_device.cpp @@ -286,6 +286,38 @@ namespace RadeonRays m_intersector->QueryOcclusion(0, ray_buffer, numrays, hit_buffer, e, nullptr); } } + + + void CalcIntersectionDevice::QueryOccluded2dSumLinear2(Buffer const* origins, Buffer const* directions, Buffer const* koefs, Buffer const* offset_directions, Buffer const* offset_koefs, int numorigins, int numdirections, Buffer* hits, Event const* waitevent, Event** event) const + { + // Extract Calc buffers from their holders + auto origins_buffer = static_cast(origins)->m_buffer.get(); + auto directions_buffer = static_cast(directions)->m_buffer.get(); + auto koefs_buffer = static_cast(koefs)->m_buffer.get(); + + auto offset_directions_buffer = static_cast(offset_directions)->m_buffer.get(); + auto offset_koefs_buffer = static_cast(offset_koefs)->m_buffer.get(); + + auto hit_buffer = static_cast(hits)->m_buffer.get(); + // If waitevent is passed in we have to extract it as well + auto e = waitevent ? static_cast(waitevent)->m_event.get() : nullptr; + + if (event) + { + // event pointer has been provided, so construct holder and return event to the user + Calc::Event* calc_event = nullptr; + m_intersector->QueryOccluded2dSumLinear2(0, origins_buffer, directions_buffer, koefs_buffer, offset_directions_buffer, offset_koefs_buffer, numorigins, numdirections, hit_buffer, e, &calc_event); + + auto holder = CreateEventHolder(); + holder->Set(m_device.get(), calc_event); + *event = holder; + } + else + { + m_intersector->QueryOccluded2dSumLinear2(0, origins_buffer, directions_buffer, koefs_buffer, offset_directions_buffer, offset_koefs_buffer, numorigins, numdirections, hit_buffer, e, nullptr); + } + } + void CalcIntersectionDevice::QueryIntersection(Buffer const* rays, Buffer const* numrays, int maxrays, Buffer* hits, Event const* waitevent, Event** event) const { diff --git a/RadeonRays/src/device/calc_intersection_device.h b/RadeonRays/src/device/calc_intersection_device.h index bca52bce..6adacdc1 100644 --- a/RadeonRays/src/device/calc_intersection_device.h +++ b/RadeonRays/src/device/calc_intersection_device.h @@ -61,6 +61,7 @@ namespace RadeonRays void QueryIntersection(Buffer const* rays, int numrays, Buffer* hitinfos, Event const* waitevent, Event** event) const override; void QueryOcclusion(Buffer const* rays, int numrays, Buffer* hitresults, Event const* waitevent, Event** event) const override; + void QueryOccluded2dSumLinear2(Buffer const* origins, Buffer const* directions, Buffer const* koefs, Buffer const* offset_directions, Buffer const* offset_koefs, int numorigins, int numdirections, Buffer* hits, Event const* waitevent, Event** event) const override; void QueryIntersection(Buffer const* rays, Buffer const* numrays, int maxrays, Buffer* hitinfos, Event const* waitevent, Event** event) const override; diff --git a/RadeonRays/src/device/intersection_device.h b/RadeonRays/src/device/intersection_device.h index 76b7c97e..60ad163a 100644 --- a/RadeonRays/src/device/intersection_device.h +++ b/RadeonRays/src/device/intersection_device.h @@ -72,6 +72,8 @@ namespace RadeonRays // The call waits until waitevent is resolved (on a target device) if waitevent != nullptr. // The call is non-blocking if event is passed it, otherwise (event == nullptr) it is blocking. virtual void QueryOcclusion(Buffer const* rays, int numrays, Buffer* hits, Event const* waitevent, Event** event) const = 0; + + virtual void QueryOccluded2dSumLinear2(Buffer const* origins, Buffer const* directions, Buffer const* koefs, Buffer const* offset_directions, Buffer const* offset_koefs, int numorigins, int numdirections, Buffer* hits, Event const* waitevent, Event** event) const = 0; // Find intersection for the rays in rays buffer and write them into hits buffer. Take the number of rays from the buffer in remote memory. // rays is assumed AOS with elements of type RadeonRays::ray. diff --git a/RadeonRays/src/intersector/intersector.cpp b/RadeonRays/src/intersector/intersector.cpp index f8f8a726..fde89e68 100644 --- a/RadeonRays/src/intersector/intersector.cpp +++ b/RadeonRays/src/intersector/intersector.cpp @@ -6,7 +6,10 @@ namespace RadeonRays Intersector::Intersector(Calc::Device *device) : m_device(device), m_counter(device->CreateBuffer(sizeof(int), Calc::BufferType::kRead), - [device](Calc::Buffer* buffer) { device->DeleteBuffer(buffer); }) + [device](Calc::Buffer* buffer) { device->DeleteBuffer(buffer); }), + m_counter2(device->CreateBuffer(sizeof(int), Calc::BufferType::kRead), + [device](Calc::Buffer* buffer) { device->DeleteBuffer(buffer); }) + { } @@ -40,6 +43,18 @@ namespace RadeonRays m_device->Finish(0); Occluded(queue_idx, rays, m_counter.get(), num_rays, hits, wait_event, event); } + + void Intersector::QueryOccluded2dSumLinear2(std::uint32_t queue_idx, Calc::Buffer const *origins, Calc::Buffer const *directions, Calc::Buffer const *koefs, Calc::Buffer const *offset_directions, + Calc::Buffer const *offset_koefs, std::uint32_t num_origins, std::uint32_t num_directions, + Calc::Buffer *hits, Calc::Event const *wait_event, Calc::Event **event) const + { + m_device->WriteBuffer(m_counter.get(), 0, 0, sizeof(num_origins), &num_origins, nullptr); + m_device->WriteBuffer(m_counter2.get(), 0, 0, sizeof(num_directions), &num_directions, nullptr); + m_device->Finish(0); + + int num_rays = num_origins * num_directions; + Occluded2dSumLinear2(queue_idx, origins, directions, koefs, offset_directions, offset_koefs, m_counter.get(), m_counter2.get(), num_rays, hits, wait_event, event); + } void Intersector::QueryIntersection(std::uint32_t queue_idx, Calc::Buffer const *rays, Calc::Buffer const *num_rays, std::uint32_t max_rays, Calc::Buffer *hits, Calc::Event const *wait_event, Calc::Event **event) const diff --git a/RadeonRays/src/intersector/intersector.h b/RadeonRays/src/intersector/intersector.h index 1e613197..a80819d8 100644 --- a/RadeonRays/src/intersector/intersector.h +++ b/RadeonRays/src/intersector/intersector.h @@ -102,6 +102,10 @@ namespace RadeonRays */ void QueryOcclusion(std::uint32_t queue_idx, Calc::Buffer const* rays, std::uint32_t num_rays, Calc::Buffer* hits, Calc::Event const* wait_event, Calc::Event** event) const; + + void QueryOccluded2dSumLinear2(std::uint32_t queue_idx, Calc::Buffer const *origins, Calc::Buffer const *directions, Calc::Buffer const *koefs, Calc::Buffer const *offset_directions, + Calc::Buffer const *offset_koefs, std::uint32_t num_origins, std::uint32_t num_directions, + Calc::Buffer *hits, Calc::Event const *wait_event, Calc::Event **event) const; /** \brief Query intersection for a batch of rays @@ -152,12 +156,19 @@ namespace RadeonRays virtual void Occluded(std::uint32_t queue_idx, Calc::Buffer const *rays, Calc::Buffer const *num_rays, std::uint32_t max_rays, Calc::Buffer *hits, Calc::Event const *wait_event, Calc::Event **event) const = 0; + + virtual void Occluded2dSumLinear2(std::uint32_t queueidx, Calc::Buffer const *origins, Calc::Buffer const *directions, Calc::Buffer const *koefs, + Calc::Buffer const *offset_directions, Calc::Buffer const *offset_koefs, + Calc::Buffer const *num_origins, Calc::Buffer const *num_directions, + std::uint32_t maxrays, Calc::Buffer *hits, + Calc::Event const *wait_event, Calc::Event **event) const { assert(false); /*TODO: Currently implemented in SkipLinks intersector only*/} protected: // Device to use Calc::Device* m_device; // Buffer holding ray count std::unique_ptr> m_counter; + std::unique_ptr> m_counter2; }; } diff --git a/RadeonRays/src/intersector/intersector_skip_links.cpp b/RadeonRays/src/intersector/intersector_skip_links.cpp index 1021f500..31837bf8 100644 --- a/RadeonRays/src/intersector/intersector_skip_links.cpp +++ b/RadeonRays/src/intersector/intersector_skip_links.cpp @@ -52,6 +52,7 @@ namespace RadeonRays Calc::Executable* executable; Calc::Function* isect_func; Calc::Function* occlude_func; + Calc::Function* occlude_func2d_sum_linear; GpuData(Calc::Device* d) : device(d) @@ -71,6 +72,7 @@ namespace RadeonRays { executable->DeleteFunction(isect_func); executable->DeleteFunction(occlude_func); + executable->DeleteFunction(occlude_func2d_sum_linear); device->DeleteExecutable(executable); } } @@ -112,6 +114,7 @@ namespace RadeonRays #if USE_OPENCL if (device->GetPlatform() == Calc::Platform::kOpenCL) { + std::cout << std::string(g_intersect_bvh2_skiplinks_opencl); m_gpudata->executable = m_device->CompileExecutable(g_intersect_bvh2_skiplinks_opencl, std::strlen(g_intersect_bvh2_skiplinks_opencl), buildopts.c_str()); } #endif @@ -128,6 +131,7 @@ namespace RadeonRays m_gpudata->isect_func = m_gpudata->executable->CreateFunction("intersect_main"); m_gpudata->occlude_func = m_gpudata->executable->CreateFunction("occluded_main"); + m_gpudata->occlude_func2d_sum_linear = m_gpudata->executable->CreateFunction("occluded_main_2d_sum_linear"); } void IntersectorSkipLinks::Process(World const& world) @@ -446,5 +450,33 @@ namespace RadeonRays m_device->Execute(func, queueidx, globalsize, localsize, event); } + + void IntersectorSkipLinks::Occluded2dSumLinear2(std::uint32_t queueidx, Calc::Buffer const *origins, Calc::Buffer const *directions, Calc::Buffer const *koefs, + Calc::Buffer const *offset_directions, Calc::Buffer const *offset_koefs, + Calc::Buffer const *num_origins, Calc::Buffer const *num_directions, + std::uint32_t maxrays, Calc::Buffer *hits, + Calc::Event const *wait_event, Calc::Event **event) const { + auto& func = m_gpudata->occlude_func2d_sum_linear; + + // Set args + int arg = 0; + + func->SetArg(arg++, m_gpudata->bvh); + func->SetArg(arg++, m_gpudata->vertices); + func->SetArg(arg++, m_gpudata->faces); + func->SetArg(arg++, origins); + func->SetArg(arg++, directions); + func->SetArg(arg++, koefs); + func->SetArg(arg++, offset_directions); + func->SetArg(arg++, offset_koefs); + func->SetArg(arg++, num_origins); + func->SetArg(arg++, num_directions); + func->SetArg(arg++, hits); + + size_t localsize = kWorkGroupSize; + size_t globalsize = ((maxrays + kWorkGroupSize - 1) / kWorkGroupSize) * kWorkGroupSize; + + m_device->Execute(func, queueidx, globalsize, localsize, event); + } } diff --git a/RadeonRays/src/intersector/intersector_skip_links.h b/RadeonRays/src/intersector/intersector_skip_links.h index 3d5b1bcb..35271e1d 100644 --- a/RadeonRays/src/intersector/intersector_skip_links.h +++ b/RadeonRays/src/intersector/intersector_skip_links.h @@ -88,6 +88,13 @@ namespace RadeonRays void Occluded(std::uint32_t queue_idx, Calc::Buffer const *rays, Calc::Buffer const *num_rays, std::uint32_t max_rays, Calc::Buffer *hits, Calc::Event const *wait_event, Calc::Event **event) const override; + + // Occulusion2d implementation + void Occluded2dSumLinear2(std::uint32_t queueidx, Calc::Buffer const *origins, Calc::Buffer const *directions, Calc::Buffer const *koefs, + Calc::Buffer const *offset_directions, Calc::Buffer const *offset_koefs, + Calc::Buffer const *num_origins, Calc::Buffer const *num_directions, + std::uint32_t maxrays, Calc::Buffer *hits, + Calc::Event const *wait_event, Calc::Event **event) const override; private: struct GpuData; diff --git a/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl b/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl index e00c94f1..5a2e4069 100644 --- a/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl +++ b/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl @@ -288,4 +288,105 @@ void occluded_main( hits[global_id] = MISS_MARKER; } } -} \ No newline at end of file +} + + +__attribute__((reqd_work_group_size(64, 1, 1))) +KERNEL +void occluded_main_2d( +// BVH nodes +GLOBAL bvh_node const* restrict nodes, +// Triangle vertices +GLOBAL float3 const* restrict vertices, +// Triangle indices +GLOBAL Face const* restrict faces, + +// Rays +GLOBAL float3 const* restrict origins, +GLOBAL float3 const* restrict directions, + +// Number of origins and directions +GLOBAL int const* restrict num_origins, +GLOBAL int const* restrict num_directions, +// Hit data +GLOBAL int* hits +) +{ + int num_rays = (*num_origins) * (*num_directions); + + int global_id = get_global_id(0); + + // Handle only working subset + if (global_id < num_rays) + { + // Create ray + ray r; + int origin_id = global_id % (*num_origins); + int direction_id = global_id / (*num_origins); + + r.o.xyz = origins[origin_id]; + r.o.w = 1000000.0; + r.d.xyz = directions[direction_id]; + r.d.w = 1.0; + + { + // Precompute inverse direction and origin / dir for bbox testing + float3 const invdir = safe_invdir(r); + float3 const oxinvdir = -r.o.xyz * invdir; + // Intersection parametric distance + float t_max = r.o.w; + + // Current node address + int addr = 0; + + while (addr != INVALID_IDX) + { + // Fetch next node + bvh_node node = nodes[addr]; + // Intersect against bbox + float2 s = fast_intersect_bbox1(node, invdir, oxinvdir, t_max); + + if (s.x <= s.y) + { + // Check if the node is a leaf + if (LEAFNODE(node)) + { + int const face_idx = STARTIDX(node); + Face const face = faces[face_idx]; + #ifdef RR_RAY_MASK + if (ray_get_mask(&r) != face.shape_id) + { + #endif // RR_RAY_MASK + float3 const v1 = vertices[face.idx[0]]; + float3 const v2 = vertices[face.idx[1]]; + float3 const v3 = vertices[face.idx[2]]; + + // Intersect triangle + float const f = fast_intersect_triangle(r, v1, v2, v3, t_max); + // If hit store the result and bail out + if (f < t_max) + { + hits[global_id] = HIT_MARKER; + return; + } + #ifdef RR_RAY_MASK + } + #endif // RR_RAY_MASK + } + else + { + // Move to next node otherwise. + // Left child is always at addr + 1 + ++addr; + continue; + } + } + + addr = NEXT(node); + } + + // Finished traversal, but no intersection found + hits[global_id] = MISS_MARKER; + } + } +} From 439f95b6e1af7cb9491c18cc1c7b9526b44c91bc Mon Sep 17 00:00:00 2001 From: Mikhail Kushnikov Date: Thu, 13 Sep 2018 03:33:46 -0700 Subject: [PATCH 2/6] kernel-modification-draft: PR cleanup --- CLW/CMakeFiles/CLW.dir/DependInfo.cmake | 42 ------------------- CLW/CMakeFiles/CLW.dir/cmake_clean.cmake | 21 ---------- .../CLW.dir/cmake_clean_target.cmake | 3 -- .../CMakeDirectoryInformation.cmake | 16 ------- .../clw_kernel_cache_h.dir/DependInfo.cmake | 11 ----- .../clw_kernel_cache_h.dir/cmake_clean.cmake | 9 ---- CLW/cmake_install.cmake | 34 --------------- 7 files changed, 136 deletions(-) delete mode 100644 CLW/CMakeFiles/CLW.dir/DependInfo.cmake delete mode 100644 CLW/CMakeFiles/CLW.dir/cmake_clean.cmake delete mode 100644 CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake delete mode 100644 CLW/CMakeFiles/CMakeDirectoryInformation.cmake delete mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake delete mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake delete mode 100644 CLW/cmake_install.cmake diff --git a/CLW/CMakeFiles/CLW.dir/DependInfo.cmake b/CLW/CMakeFiles/CLW.dir/DependInfo.cmake deleted file mode 100644 index 7addc48f..00000000 --- a/CLW/CMakeFiles/CLW.dir/DependInfo.cmake +++ /dev/null @@ -1,42 +0,0 @@ -# The set of languages for which implicit dependencies are needed: -set(CMAKE_DEPENDS_LANGUAGES - "CXX" - ) -# The set of files for implicit dependencies of each language: -set(CMAKE_DEPENDS_CHECK_CXX - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o" - "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp" "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" - ) -set(CMAKE_CXX_COMPILER_ID "AppleClang") - -# Preprocessor definitions for this target. -set(CMAKE_TARGET_DEFINITIONS_CXX - "RR_EMBED_KERNELS=1" - "USE_OPENCL=1" - ) - -# The include file search paths: -set(CMAKE_CXX_TARGET_INCLUDE_PATH - "../libs/geos/bin/include" - "../libs" - "/opt/X11/include" - "RadeonRays_SDK/CLW" - "RadeonRays_SDK/CLW/." - "/System/Library/Frameworks/OpenCL.framework" - ) - -# Targets to which this target links. -set(CMAKE_TARGET_LINKED_INFO_FILES - ) - -# Fortran module output directory. -set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/CLW/CMakeFiles/CLW.dir/cmake_clean.cmake b/CLW/CMakeFiles/CLW.dir/cmake_clean.cmake deleted file mode 100644 index b796009c..00000000 --- a/CLW/CMakeFiles/CLW.dir/cmake_clean.cmake +++ /dev/null @@ -1,21 +0,0 @@ -file(REMOVE_RECURSE - "clwkernels_cl.h" - "CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" - "CMakeFiles/CLW.dir/CLWContext.cpp.o" - "CMakeFiles/CLW.dir/CLWDevice.cpp.o" - "CMakeFiles/CLW.dir/CLWEvent.cpp.o" - "CMakeFiles/CLW.dir/CLWImage2D.cpp.o" - "CMakeFiles/CLW.dir/CLWKernel.cpp.o" - "CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" - "CMakeFiles/CLW.dir/CLWPlatform.cpp.o" - "CMakeFiles/CLW.dir/CLWProgram.cpp.o" - "CMakeFiles/CLW.dir/ParameterHolder.cpp.o" - "CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" - "libCLW.pdb" - "libCLW.a" -) - -# Per-language clean rules from dependency scanning. -foreach(lang CXX) - include(CMakeFiles/CLW.dir/cmake_clean_${lang}.cmake OPTIONAL) -endforeach() diff --git a/CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake b/CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake deleted file mode 100644 index d001ceef..00000000 --- a/CLW/CMakeFiles/CLW.dir/cmake_clean_target.cmake +++ /dev/null @@ -1,3 +0,0 @@ -file(REMOVE_RECURSE - "libCLW.a" -) diff --git a/CLW/CMakeFiles/CMakeDirectoryInformation.cmake b/CLW/CMakeFiles/CMakeDirectoryInformation.cmake deleted file mode 100644 index b57b458f..00000000 --- a/CLW/CMakeFiles/CMakeDirectoryInformation.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.12 - -# Relative path conversion top directories. -set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer") -set(CMAKE_RELATIVE_PATH_TOP_BINARY "/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer") - -# Force unix paths in dependencies. -set(CMAKE_FORCE_UNIX_PATHS 1) - - -# The C and CXX include file regular expressions for this directory. -set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$") -set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$") -set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN}) -set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN}) diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake b/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake deleted file mode 100644 index 19fab214..00000000 --- a/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake +++ /dev/null @@ -1,11 +0,0 @@ -# The set of languages for which implicit dependencies are needed: -set(CMAKE_DEPENDS_LANGUAGES - ) -# The set of files for implicit dependencies of each language: - -# Targets to which this target links. -set(CMAKE_TARGET_LINKED_INFO_FILES - ) - -# Fortran module output directory. -set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake b/CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake deleted file mode 100644 index 574644b3..00000000 --- a/CLW/CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake +++ /dev/null @@ -1,9 +0,0 @@ -file(REMOVE_RECURSE - "CMakeFiles/clw_kernel_cache_h" - "clwkernels_cl.h" -) - -# Per-language clean rules from dependency scanning. -foreach(lang ) - include(CMakeFiles/clw_kernel_cache_h.dir/cmake_clean_${lang}.cmake OPTIONAL) -endforeach() diff --git a/CLW/cmake_install.cmake b/CLW/cmake_install.cmake deleted file mode 100644 index af6946d6..00000000 --- a/CLW/cmake_install.cmake +++ /dev/null @@ -1,34 +0,0 @@ -# Install script for directory: /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW - -# Set the install prefix -if(NOT DEFINED CMAKE_INSTALL_PREFIX) - set(CMAKE_INSTALL_PREFIX "/usr/local") -endif() -string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") - -# Set the install configuration name. -if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) - if(BUILD_TYPE) - string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" - CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") - else() - set(CMAKE_INSTALL_CONFIG_NAME "") - endif() - message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") -endif() - -# Set the component getting installed. -if(NOT CMAKE_INSTALL_COMPONENT) - if(COMPONENT) - message(STATUS "Install component: \"${COMPONENT}\"") - set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") - else() - set(CMAKE_INSTALL_COMPONENT) - endif() -endif() - -# Is this installation the result of a crosscompile? -if(NOT DEFINED CMAKE_CROSSCOMPILING) - set(CMAKE_CROSSCOMPILING "FALSE") -endif() - From 550ced3a0a5ab98b432d21e4de31cc43487927ae Mon Sep 17 00:00:00 2001 From: Mikhail Kushnikov Date: Thu, 13 Sep 2018 03:34:15 -0700 Subject: [PATCH 3/6] kernel-modification-draft: PR cleanup2 --- CLW/CMakeFiles/CLW.dir/build.make | 253 ------------------ CLW/CMakeFiles/CLW.dir/depend.make | 2 - CLW/CMakeFiles/CLW.dir/flags.make | 10 - CLW/CMakeFiles/CLW.dir/progress.make | 14 - .../clw_kernel_cache_h.dir/build.make | 81 ------ .../clw_kernel_cache_h.dir/progress.make | 2 - 6 files changed, 362 deletions(-) delete mode 100644 CLW/CMakeFiles/CLW.dir/build.make delete mode 100644 CLW/CMakeFiles/CLW.dir/depend.make delete mode 100644 CLW/CMakeFiles/CLW.dir/flags.make delete mode 100644 CLW/CMakeFiles/CLW.dir/progress.make delete mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make delete mode 100644 CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make diff --git a/CLW/CMakeFiles/CLW.dir/build.make b/CLW/CMakeFiles/CLW.dir/build.make deleted file mode 100644 index 2ab3ce0f..00000000 --- a/CLW/CMakeFiles/CLW.dir/build.make +++ /dev/null @@ -1,253 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.12 - -# Delete rule output on recipe failure. -.DELETE_ON_ERROR: - - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canonical targets will work. -.SUFFIXES: - - -# Remove some rules from gmake that .SUFFIXES does not remove. -SUFFIXES = - -.SUFFIXES: .hpux_make_needs_suffix_list - - -# Suppress display of executed commands. -$(VERBOSE).SILENT: - - -# A target that is always out of date. -cmake_force: - -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /usr/local/Cellar/cmake/3.12.0/bin/cmake - -# The command to remove a file. -RM = /usr/local/Cellar/cmake/3.12.0/bin/cmake -E remove -f - -# Escaping for special characters. -EQUALS = = - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer - -# Include any dependencies generated for this target. -include RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/depend.make - -# Include the progress variables for this target. -include RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/progress.make - -# Include the compile flags for this target's objects. -include RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make - -RadeonRays_SDK/CLW/clwkernels_cl.h: RadeonRays_SDK/CLW/CL/CLW.cl - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating CLW kernel cache" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /usr/local/bin/python2.7 /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/Tools/scripts/stringify.py /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CL/ .cl opencl > /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/clwkernels_cl.h - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o: RadeonRays_SDK/CLW/CLWCommandQueue.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWCommandQueue.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp > CMakeFiles/CLW.dir/CLWCommandQueue.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWCommandQueue.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWCommandQueue.cpp -o CMakeFiles/CLW.dir/CLWCommandQueue.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o: RadeonRays_SDK/CLW/CLWContext.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWContext.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWContext.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp > CMakeFiles/CLW.dir/CLWContext.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWContext.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWContext.cpp -o CMakeFiles/CLW.dir/CLWContext.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o: RadeonRays_SDK/CLW/CLWDevice.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWDevice.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWDevice.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp > CMakeFiles/CLW.dir/CLWDevice.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWDevice.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWDevice.cpp -o CMakeFiles/CLW.dir/CLWDevice.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o: RadeonRays_SDK/CLW/CLWEvent.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWEvent.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWEvent.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp > CMakeFiles/CLW.dir/CLWEvent.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWEvent.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWEvent.cpp -o CMakeFiles/CLW.dir/CLWEvent.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o: RadeonRays_SDK/CLW/CLWImage2D.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWImage2D.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWImage2D.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp > CMakeFiles/CLW.dir/CLWImage2D.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWImage2D.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWImage2D.cpp -o CMakeFiles/CLW.dir/CLWImage2D.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o: RadeonRays_SDK/CLW/CLWKernel.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWKernel.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWKernel.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp > CMakeFiles/CLW.dir/CLWKernel.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWKernel.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWKernel.cpp -o CMakeFiles/CLW.dir/CLWKernel.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o: RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp > CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWParallelPrimitives.cpp -o CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o: RadeonRays_SDK/CLW/CLWPlatform.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWPlatform.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWPlatform.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp > CMakeFiles/CLW.dir/CLWPlatform.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWPlatform.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWPlatform.cpp -o CMakeFiles/CLW.dir/CLWPlatform.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o: RadeonRays_SDK/CLW/CLWProgram.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/CLWProgram.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/CLWProgram.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp > CMakeFiles/CLW.dir/CLWProgram.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/CLWProgram.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CLWProgram.cpp -o CMakeFiles/CLW.dir/CLWProgram.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o: RadeonRays_SDK/CLW/ParameterHolder.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/ParameterHolder.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/ParameterHolder.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp > CMakeFiles/CLW.dir/ParameterHolder.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/ParameterHolder.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ParameterHolder.cpp -o CMakeFiles/CLW.dir/ParameterHolder.cpp.s - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/flags.make -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o: RadeonRays_SDK/CLW/ReferenceCounter.cpp - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Building CXX object RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/CLW.dir/ReferenceCounter.cpp.o -c /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.i: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/CLW.dir/ReferenceCounter.cpp.i" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp > CMakeFiles/CLW.dir/ReferenceCounter.cpp.i - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.s: cmake_force - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/CLW.dir/ReferenceCounter.cpp.s" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/ReferenceCounter.cpp -o CMakeFiles/CLW.dir/ReferenceCounter.cpp.s - -# Object files for target CLW -CLW_OBJECTS = \ -"CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o" \ -"CMakeFiles/CLW.dir/CLWContext.cpp.o" \ -"CMakeFiles/CLW.dir/CLWDevice.cpp.o" \ -"CMakeFiles/CLW.dir/CLWEvent.cpp.o" \ -"CMakeFiles/CLW.dir/CLWImage2D.cpp.o" \ -"CMakeFiles/CLW.dir/CLWKernel.cpp.o" \ -"CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o" \ -"CMakeFiles/CLW.dir/CLWPlatform.cpp.o" \ -"CMakeFiles/CLW.dir/CLWProgram.cpp.o" \ -"CMakeFiles/CLW.dir/ParameterHolder.cpp.o" \ -"CMakeFiles/CLW.dir/ReferenceCounter.cpp.o" - -# External object files for target CLW -CLW_EXTERNAL_OBJECTS = - -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWContext.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWDevice.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWEvent.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWImage2D.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWKernel.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWPlatform.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/CLWProgram.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ParameterHolder.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/ReferenceCounter.cpp.o -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/build.make -RadeonRays_SDK/CLW/libCLW.a: RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/link.txt - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Linking CXX static library libCLW.a" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -P CMakeFiles/CLW.dir/cmake_clean_target.cmake - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/CLW.dir/link.txt --verbose=$(VERBOSE) - -# Rule to build all files generated by this target. -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/build: RadeonRays_SDK/CLW/libCLW.a - -.PHONY : RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/build - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/clean: - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -P CMakeFiles/CLW.dir/cmake_clean.cmake -.PHONY : RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/clean - -RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/depend: RadeonRays_SDK/CLW/clwkernels_cl.h - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/DependInfo.cmake --color=$(COLOR) -.PHONY : RadeonRays_SDK/CLW/CMakeFiles/CLW.dir/depend - diff --git a/CLW/CMakeFiles/CLW.dir/depend.make b/CLW/CMakeFiles/CLW.dir/depend.make deleted file mode 100644 index a8a16b0a..00000000 --- a/CLW/CMakeFiles/CLW.dir/depend.make +++ /dev/null @@ -1,2 +0,0 @@ -# Empty dependencies file for CLW. -# This may be replaced when dependencies are built. diff --git a/CLW/CMakeFiles/CLW.dir/flags.make b/CLW/CMakeFiles/CLW.dir/flags.make deleted file mode 100644 index c82f00f1..00000000 --- a/CLW/CMakeFiles/CLW.dir/flags.make +++ /dev/null @@ -1,10 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.12 - -# compile CXX with /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -CXX_FLAGS = -fvisibility=hidden -std=c++11 -fPIC - -CXX_DEFINES = -DRR_EMBED_KERNELS=1 -DUSE_OPENCL=1 - -CXX_INCLUDES = -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/../libs/geos/bin/include -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/../libs -I/opt/X11/include -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW -I/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/. - diff --git a/CLW/CMakeFiles/CLW.dir/progress.make b/CLW/CMakeFiles/CLW.dir/progress.make deleted file mode 100644 index 7a1b005c..00000000 --- a/CLW/CMakeFiles/CLW.dir/progress.make +++ /dev/null @@ -1,14 +0,0 @@ -CMAKE_PROGRESS_1 = 1 -CMAKE_PROGRESS_2 = 2 -CMAKE_PROGRESS_3 = 3 -CMAKE_PROGRESS_4 = 4 -CMAKE_PROGRESS_5 = 5 -CMAKE_PROGRESS_6 = 6 -CMAKE_PROGRESS_7 = 7 -CMAKE_PROGRESS_8 = 8 -CMAKE_PROGRESS_9 = 9 -CMAKE_PROGRESS_10 = 10 -CMAKE_PROGRESS_11 = 11 -CMAKE_PROGRESS_12 = 12 -CMAKE_PROGRESS_13 = 13 - diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make b/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make deleted file mode 100644 index ffa2cc96..00000000 --- a/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make +++ /dev/null @@ -1,81 +0,0 @@ -# CMAKE generated file: DO NOT EDIT! -# Generated by "Unix Makefiles" Generator, CMake Version 3.12 - -# Delete rule output on recipe failure. -.DELETE_ON_ERROR: - - -#============================================================================= -# Special targets provided by cmake. - -# Disable implicit rules so canonical targets will work. -.SUFFIXES: - - -# Remove some rules from gmake that .SUFFIXES does not remove. -SUFFIXES = - -.SUFFIXES: .hpux_make_needs_suffix_list - - -# Suppress display of executed commands. -$(VERBOSE).SILENT: - - -# A target that is always out of date. -cmake_force: - -.PHONY : cmake_force - -#============================================================================= -# Set environment variables for the build. - -# The shell in which to execute make rules. -SHELL = /bin/sh - -# The CMake executable. -CMAKE_COMMAND = /usr/local/Cellar/cmake/3.12.0/bin/cmake - -# The command to remove a file. -RM = /usr/local/Cellar/cmake/3.12.0/bin/cmake -E remove -f - -# Escaping for special characters. -EQUALS = = - -# The top-level source directory on which CMake was run. -CMAKE_SOURCE_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer - -# The top-level build directory on which CMake was run. -CMAKE_BINARY_DIR = /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer - -# Utility rule file for clw_kernel_cache_h. - -# Include the progress variables for this target. -include RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make - -RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h: RadeonRays_SDK/CLW/clwkernels_cl.h - - -RadeonRays_SDK/CLW/clwkernels_cl.h: RadeonRays_SDK/CLW/CL/CLW.cl - @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --blue --bold --progress-dir=/Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Generating CLW kernel cache" - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && /usr/local/bin/python2.7 /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/Tools/scripts/stringify.py /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CL/ .cl opencl > /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/clwkernels_cl.h - -clw_kernel_cache_h: RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h -clw_kernel_cache_h: RadeonRays_SDK/CLW/clwkernels_cl.h -clw_kernel_cache_h: RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/build.make - -.PHONY : clw_kernel_cache_h - -# Rule to build all files generated by this target. -RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/build: clw_kernel_cache_h - -.PHONY : RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/build - -RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/clean: - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW && $(CMAKE_COMMAND) -P CMakeFiles/clw_kernel_cache_h.dir/cmake_clean.cmake -.PHONY : RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/clean - -RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/depend: - cd /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW /Users/mikhailkushnikov/Documents/Dev/Comp/AuroraComp/ShadingEngine/raytracer/RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/DependInfo.cmake --color=$(COLOR) -.PHONY : RadeonRays_SDK/CLW/CMakeFiles/clw_kernel_cache_h.dir/depend - diff --git a/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make b/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make deleted file mode 100644 index c1f25395..00000000 --- a/CLW/CMakeFiles/clw_kernel_cache_h.dir/progress.make +++ /dev/null @@ -1,2 +0,0 @@ -CMAKE_PROGRESS_1 = 58 - From fd308f9168e21537faf89965c1fd8df46639b494 Mon Sep 17 00:00:00 2001 From: Mikhail Kushnikov Date: Thu, 13 Sep 2018 03:38:51 -0700 Subject: [PATCH 4/6] kernel-modification-draft: update to latest kernel --- CLW/CMakeFiles/CLW.dir/link.txt | 2 - CLW/CMakeFiles/progress.marks | 1 - .../kernels/CL/intersect_bvh2_skiplinks.cl | 39 ++++++++++++------- 3 files changed, 26 insertions(+), 16 deletions(-) delete mode 100644 CLW/CMakeFiles/CLW.dir/link.txt delete mode 100644 CLW/CMakeFiles/progress.marks diff --git a/CLW/CMakeFiles/CLW.dir/link.txt b/CLW/CMakeFiles/CLW.dir/link.txt deleted file mode 100644 index e83c0a12..00000000 --- a/CLW/CMakeFiles/CLW.dir/link.txt +++ /dev/null @@ -1,2 +0,0 @@ -/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar qc libCLW.a CMakeFiles/CLW.dir/CLWCommandQueue.cpp.o CMakeFiles/CLW.dir/CLWContext.cpp.o CMakeFiles/CLW.dir/CLWDevice.cpp.o CMakeFiles/CLW.dir/CLWEvent.cpp.o CMakeFiles/CLW.dir/CLWImage2D.cpp.o CMakeFiles/CLW.dir/CLWKernel.cpp.o CMakeFiles/CLW.dir/CLWParallelPrimitives.cpp.o CMakeFiles/CLW.dir/CLWPlatform.cpp.o CMakeFiles/CLW.dir/CLWProgram.cpp.o CMakeFiles/CLW.dir/ParameterHolder.cpp.o CMakeFiles/CLW.dir/ReferenceCounter.cpp.o -/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib libCLW.a diff --git a/CLW/CMakeFiles/progress.marks b/CLW/CMakeFiles/progress.marks deleted file mode 100644 index 8351c193..00000000 --- a/CLW/CMakeFiles/progress.marks +++ /dev/null @@ -1 +0,0 @@ -14 diff --git a/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl b/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl index 5a2e4069..25436b2c 100644 --- a/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl +++ b/RadeonRays/src/kernels/CL/intersect_bvh2_skiplinks.cl @@ -293,7 +293,7 @@ void occluded_main( __attribute__((reqd_work_group_size(64, 1, 1))) KERNEL -void occluded_main_2d( +void occluded_main_2d_sum_linear( // BVH nodes GLOBAL bvh_node const* restrict nodes, // Triangle vertices @@ -302,32 +302,43 @@ GLOBAL float3 const* restrict vertices, GLOBAL Face const* restrict faces, // Rays -GLOBAL float3 const* restrict origins, -GLOBAL float3 const* restrict directions, +GLOBAL float4 const* restrict origins, +GLOBAL float4 const* restrict directions, +GLOBAL float4 const* restrict koefs, + +GLOBAL int const* restrict offset_directions, +GLOBAL int const* restrict offset_koefs, // Number of origins and directions GLOBAL int const* restrict num_origins, GLOBAL int const* restrict num_directions, // Hit data -GLOBAL int* hits +GLOBAL float4* hits ) { int num_rays = (*num_origins) * (*num_directions); int global_id = get_global_id(0); + + int origin_id = global_id % (*num_origins); + int direction_id = (int)(global_id / (*num_origins)); // Handle only working subset if (global_id < num_rays) { + const int direction_offset = offset_directions[origin_id]; + const int koefs_offset = offset_koefs[origin_id]; + + const float4 koef = koefs[direction_id + koefs_offset]; + // Create ray ray r; - int origin_id = global_id % (*num_origins); - int direction_id = global_id / (*num_origins); - - r.o.xyz = origins[origin_id]; - r.o.w = 1000000.0; - r.d.xyz = directions[direction_id]; - r.d.w = 1.0; + r.o = origins[origin_id]; + r.d = directions[direction_id + direction_offset]; + r.extra.x = -1; + r.extra.y = 1; + r.doBackfaceCulling = 0; + r.padding = 1; { // Precompute inverse direction and origin / dir for bbox testing @@ -366,7 +377,8 @@ GLOBAL int* hits // If hit store the result and bail out if (f < t_max) { - hits[global_id] = HIT_MARKER; + hits[origin_id].x += koef.x; + hits[origin_id].y += koef.z; return; } #ifdef RR_RAY_MASK @@ -386,7 +398,8 @@ GLOBAL int* hits } // Finished traversal, but no intersection found - hits[global_id] = MISS_MARKER; + hits[origin_id].x += koef.y; + hits[origin_id].y += koef.w; } } } From 2184af5fb36478c40cc87363034bc46d58ea2c13 Mon Sep 17 00:00:00 2001 From: Mikhail Kushnikov Date: Thu, 13 Sep 2018 03:41:36 -0700 Subject: [PATCH 5/6] kernel-modification-draft: cleanup PR --- RadeonRays/src/intersector/intersector_skip_links.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/RadeonRays/src/intersector/intersector_skip_links.cpp b/RadeonRays/src/intersector/intersector_skip_links.cpp index 31837bf8..820ce8ba 100644 --- a/RadeonRays/src/intersector/intersector_skip_links.cpp +++ b/RadeonRays/src/intersector/intersector_skip_links.cpp @@ -114,7 +114,6 @@ namespace RadeonRays #if USE_OPENCL if (device->GetPlatform() == Calc::Platform::kOpenCL) { - std::cout << std::string(g_intersect_bvh2_skiplinks_opencl); m_gpudata->executable = m_device->CompileExecutable(g_intersect_bvh2_skiplinks_opencl, std::strlen(g_intersect_bvh2_skiplinks_opencl), buildopts.c_str()); } #endif From 0a0ca354b03bd98ad464a0fe33987bfb1b5f1c11 Mon Sep 17 00:00:00 2001 From: Mikhail Kushnikov Date: Wed, 26 Sep 2018 22:41:36 +0300 Subject: [PATCH 6/6] kernel-modification-draft: removed assert --- RadeonRays/src/intersector/intersector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RadeonRays/src/intersector/intersector.h b/RadeonRays/src/intersector/intersector.h index a80819d8..d360dbd4 100644 --- a/RadeonRays/src/intersector/intersector.h +++ b/RadeonRays/src/intersector/intersector.h @@ -161,7 +161,7 @@ namespace RadeonRays Calc::Buffer const *offset_directions, Calc::Buffer const *offset_koefs, Calc::Buffer const *num_origins, Calc::Buffer const *num_directions, std::uint32_t maxrays, Calc::Buffer *hits, - Calc::Event const *wait_event, Calc::Event **event) const { assert(false); /*TODO: Currently implemented in SkipLinks intersector only*/} + Calc::Event const *wait_event, Calc::Event **event) const {} protected: // Device to use