<commit_before>find_package(Boost REQUIRED)
if (VSNRAY_ENABLE_CUDA)
find_package(CUDA)
endif()
find_package(GLEW REQUIRED)
find_package(OpenGL REQUIRED)
if (NOT APPLE AND NOT WIN32)
find_package(PTHREAD REQUIRED)
endif()

visionaray_use_package(Boost)
if (VSNRAY_ENABLE_CUDA)
visionaray_use_package(CUDA)
endif()
visionaray_use_package(GLEW)
visionaray_use_package(OpenGL)
if (NOT APPLE AND NOT WIN32)
visionaray_use_package(PTHREAD)
endif()

include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/include/visionaray)

set(HEADER_DIR ${PROJECT_SOURCE_DIR}/include/visionaray)


set(VSNRAY_HEADERS

    #----------------------------------------------------------------------------------------------
    # Public headers
    #

    # Cuda

    ${HEADER_DIR}/cuda/detail/pixel_pack_buffer.inl
    ${HEADER_DIR}/cuda/array.h
    ${HEADER_DIR}/cuda/graphics_resource.h
    ${HEADER_DIR}/cuda/pitch2d.h
    ${HEADER_DIR}/cuda/pixel_pack_buffer.h
    ${HEADER_DIR}/cuda/util.h

    # Details - subject to frequent change!

    ${HEADER_DIR}/detail/bvh/build.inl
    ${HEADER_DIR}/detail/bvh/get_bounds.inl
    ${HEADER_DIR}/detail/bvh/get_color.h
    ${HEADER_DIR}/detail/bvh/get_normal.h
    ${HEADER_DIR}/detail/bvh/get_tex_coord.h
    ${HEADER_DIR}/detail/bvh/hit_record.h
    ${HEADER_DIR}/detail/bvh/intersect.inl
    ${HEADER_DIR}/detail/bvh/prim_traits.h
    ${HEADER_DIR}/detail/bvh/sah.h
    ${HEADER_DIR}/detail/bvh/traverse.inl
    ${HEADER_DIR}/detail/material/emissive.inl
    ${HEADER_DIR}/detail/material/matte.inl
    ${HEADER_DIR}/detail/material/mirror.inl
    ${HEADER_DIR}/detail/material/plastic.inl
    ${HEADER_DIR}/detail/spd/blackbody.h
    ${HEADER_DIR}/detail/spd/d65.h
    ${HEADER_DIR}/detail/algorithm.h
    ${HEADER_DIR}/detail/allocator.h
    ${HEADER_DIR}/detail/array.inl
    ${HEADER_DIR}/detail/camera.inl
    ${HEADER_DIR}/detail/color_conversion.h
    ${HEADER_DIR}/detail/compiler.h
    ${HEADER_DIR}/detail/cpu_buffer_rt.inl
    ${HEADER_DIR}/detail/cuda_sched.h
    ${HEADER_DIR}/detail/cuda_sched.inl
    ${HEADER_DIR}/detail/exit_traversal.h
    ${HEADER_DIR}/detail/generic_material.inl
    ${HEADER_DIR}/detail/generic_primitive.inl
    ${HEADER_DIR}/detail/generic_primitive_get_normal.h
    ${HEADER_DIR}/detail/generic_primitive_get_tex_coord.h
    ${HEADER_DIR}/detail/gpu_buffer_rt.inl
    ${HEADER_DIR}/detail/macros.h
    ${HEADER_DIR}/detail/material.inl
    ${HEADER_DIR}/detail/multi_hit.h
    ${HEADER_DIR}/detail/pathtracing.inl
    ${HEADER_DIR}/detail/pixel_access.h
    ${HEADER_DIR}/detail/pixel_unpack_buffer_rt.inl
    ${HEADER_DIR}/detail/platform.h
    ${HEADER_DIR}/detail/sched_common.h
    ${HEADER_DIR}/detail/semaphore.h
    ${HEADER_DIR}/detail/simple.inl
    ${HEADER_DIR}/detail/simple_buffer_rt.inl
    ${HEADER_DIR}/detail/simple_sched.h
    ${HEADER_DIR}/detail/simple_sched.inl
    ${HEADER_DIR}/detail/spectrum.inl
    ${HEADER_DIR}/detail/stack.h
    ${HEADER_DIR}/detail/surface.inl
    ${HEADER_DIR}/detail/tags.h
    ${HEADER_DIR}/detail/tiled_sched.h
    ${HEADER_DIR}/detail/tiled_sched.inl
    ${HEADER_DIR}/detail/traverse_linear.inl
    ${HEADER_DIR}/detail/whitted.inl

    # OpenGL

    ${HEADER_DIR}/gl/compositing.h
    ${HEADER_DIR}/gl/debug_callback.h
    ${HEADER_DIR}/gl/handle.h<commit_msg>Make render_bvh.h known to cmake<commit_after>find_package(Boost REQUIRED)
if (VSNRAY_ENABLE_CUDA)
find_package(CUDA)
endif()
find_package(GLEW REQUIRED)
find_package(OpenGL REQUIRED)
if (NOT APPLE AND NOT WIN32)
find_package(PTHREAD REQUIRED)
endif()

visionaray_use_package(Boost)
if (VSNRAY_ENABLE_CUDA)
visionaray_use_package(CUDA)
endif()
visionaray_use_package(GLEW)
visionaray_use_package(OpenGL)
if (NOT APPLE AND NOT WIN32)
visionaray_use_package(PTHREAD)
endif()

include_directories(${PROJECT_SOURCE_DIR}/include)
include_directories(${PROJECT_SOURCE_DIR}/include/visionaray)

set(HEADER_DIR ${PROJECT_SOURCE_DIR}/include/visionaray)


set(VSNRAY_HEADERS

    #----------------------------------------------------------------------------------------------
    # Public headers
    #

    # Cuda

    ${HEADER_DIR}/cuda/detail/pixel_pack_buffer.inl
    ${HEADER_DIR}/cuda/array.h
    ${HEADER_DIR}/cuda/graphics_resource.h
    ${HEADER_DIR}/cuda/pitch2d.h
    ${HEADER_DIR}/cuda/pixel_pack_buffer.h
    ${HEADER_DIR}/cuda/util.h

    # Details - subject to frequent change!

    ${HEADER_DIR}/detail/bvh/build.inl
    ${HEADER_DIR}/detail/bvh/get_bounds.inl
    ${HEADER_DIR}/detail/bvh/get_color.h
    ${HEADER_DIR}/detail/bvh/get_normal.h
    ${HEADER_DIR}/detail/bvh/get_tex_coord.h
    ${HEADER_DIR}/detail/bvh/hit_record.h
    ${HEADER_DIR}/detail/bvh/intersect.inl
    ${HEADER_DIR}/detail/bvh/prim_traits.h
    ${HEADER_DIR}/detail/bvh/sah.h
    ${HEADER_DIR}/detail/bvh/traverse.inl
    ${HEADER_DIR}/detail/material/emissive.inl
    ${HEADER_DIR}/detail/material/matte.inl
    ${HEADER_DIR}/detail/material/mirror.inl
    ${HEADER_DIR}/detail/material/plastic.inl
    ${HEADER_DIR}/detail/spd/blackbody.h
    ${HEADER_DIR}/detail/spd/d65.h
    ${HEADER_DIR}/detail/algorithm.h
    ${HEADER_DIR}/detail/allocator.h
    ${HEADER_DIR}/detail/array.inl
    ${HEADER_DIR}/detail/camera.inl
    ${HEADER_DIR}/detail/color_conversion.h
    ${HEADER_DIR}/detail/compiler.h
    ${HEADER_DIR}/detail/cpu_buffer_rt.inl
    ${HEADER_DIR}/detail/cuda_sched.h
    ${HEADER_DIR}/detail/cuda_sched.inl
    ${HEADER_DIR}/detail/exit_traversal.h
    ${HEADER_DIR}/detail/generic_material.inl
    ${HEADER_DIR}/detail/generic_primitive.inl
    ${HEADER_DIR}/detail/generic_primitive_get_normal.h
    ${HEADER_DIR}/detail/generic_primitive_get_tex_coord.h
    ${HEADER_DIR}/detail/gpu_buffer_rt.inl
    ${HEADER_DIR}/detail/macros.h
    ${HEADER_DIR}/detail/material.inl
    ${HEADER_DIR}/detail/multi_hit.h
    ${HEADER_DIR}/detail/pathtracing.inl
    ${HEADER_DIR}/detail/pixel_access.h
    ${HEADER_DIR}/detail/pixel_unpack_buffer_rt.inl
    ${HEADER_DIR}/detail/platform.h
    ${HEADER_DIR}/detail/render_bvh.h
    ${HEADER_DIR}/detail/sched_common.h
    ${HEADER_DIR}/detail/semaphore.h
    ${HEADER_DIR}/detail/simple.inl
    ${HEADER_DIR}/detail/simple_buffer_rt.inl
    ${HEADER_DIR}/detail/simple_sched.h
    ${HEADER_DIR}/detail/simple_sched.inl
    ${HEADER_DIR}/detail/spectrum.inl
    ${HEADER_DIR}/detail/stack.h
    ${HEADER_DIR}/detail/surface.inl
    ${HEADER_DIR}/detail/tags.h
    ${HEADER_DIR}/detail/tiled_sched.h
    ${HEADER_DIR}/detail/tiled_sched.inl
    ${HEADER_DIR}/detail/traverse_linear.inl
    ${HEADER_DIR}/detail/whitted.inl

    # OpenGL

    ${HEADER_DIR}/gl/compositing.h
    ${HEADER_DIR}/gl/debug_callback.h
    ${HEADER_DIR}/gl/handle.h
{'fraction_non_alphanumeric': 0.16395157674488117, 'fraction_numerical': 0.002092362875504409, 'mean_word_length': 3.7663817663817665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3491542', 'n_tokens_mistral': 2512, 'n_tokens_neox': 2439, 'n_words': 222}