<commit_before>set(SUBSYS_NAME gpu_octree)
set(SUBSYS_PATH cuda/gpu_octree)
set(SUBSYS_DESC "Octree GPU")
set(SUBSYS_DEPS common gpu_containers gpu_device_utils gpu_utils)

set(build TRUE)
PCL_SUBSYS_OPTION(build ${SUBSYS_NAME} ${SUBSYS_DESC} ON)
mark_as_advanced("BUILD_${SUBSYS_NAME}")
PCL_SUBSYS_DEPEND(build ${SUBSYS_NAME} ${SUBSYS_DEPS})
PCL_SET_SUBSYS_INCLUDE_DIR(${SUBSYS_NAME} ${SUBSYS_PATH})

if(build) 
	FILE(GLOB incs include/pcl/gpu/octree/*.hpp)
	FILE(GLOB srcs src/*.cpp src/*.hpp src/*.cu)
	source_group("Source Files" FILES ${srcs})

	FILE(GLOB srcs_utils src/utils/*.hpp)
	source_group("Source Files\\utils" FILES ${srcs_utils})

	FILE(GLOB srcs_builder src/builder/*.hpp src/builder/*.cu)
	source_group("Source Files\\builder" FILES ${srcs_builder})

	FILE(GLOB srcs_radius_search src/search/*.hpp src/search/*.cu)
	source_group("Source Files\\search" FILES ${srcs_radius_search})

	LIST(APPEND srcs ${srcs_utils} ${srcs_builder} ${srcs_radius_search})

	set(LIB_NAME pcl_${SUBSYS_NAME})
	include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR}/src/utils)
	PCL_CUDA_ADD_LIBRARY(${LIB_NAME} ${SUBSYS_NAME} ${srcs} ${incs})
	PCL_ADD_SSE_FLAGS(${LIB_NAME})
	target_link_libraries(${LIB_NAME} pcl_gpu_containers)

	set(EXT_DEPS "")
	#set(EXT_DEPS CUDA)
	PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "${EXT_DEPS}" "" "" "")
	
	# Install include files
	PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_PATH} ${incs})

	add_subdirectory(tests)
endif()
<commit_msg>minor bug fix in cmake (device_utils)<commit_after>set(SUBSYS_NAME gpu_octree)
set(SUBSYS_PATH cuda/gpu_octree)
set(SUBSYS_DESC "Octree GPU")
set(SUBSYS_DEPS common gpu_containers gpu_utils)

set(build TRUE)
PCL_SUBSYS_OPTION(build ${SUBSYS_NAME} ${SUBSYS_DESC} ON)
mark_as_advanced("BUILD_${SUBSYS_NAME}")
PCL_SUBSYS_DEPEND(build ${SUBSYS_NAME} ${SUBSYS_DEPS})
PCL_SET_SUBSYS_INCLUDE_DIR(${SUBSYS_NAME} ${SUBSYS_PATH})

if(build) 
	FILE(GLOB incs include/pcl/gpu/octree/*.hpp)
	FILE(GLOB srcs src/*.cpp src/*.hpp src/*.cu)
	source_group("Source Files" FILES ${srcs})

	FILE(GLOB srcs_utils src/utils/*.hpp)
	source_group("Source Files\\utils" FILES ${srcs_utils})

	FILE(GLOB srcs_builder src/builder/*.hpp src/builder/*.cu)
	source_group("Source Files\\builder" FILES ${srcs_builder})

	FILE(GLOB srcs_radius_search src/search/*.hpp src/search/*.cu)
	source_group("Source Files\\search" FILES ${srcs_radius_search})

	LIST(APPEND srcs ${srcs_utils} ${srcs_builder} ${srcs_radius_search})

	set(LIB_NAME pcl_${SUBSYS_NAME})
	include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include ${CMAKE_CURRENT_SOURCE_DIR}/src ${CMAKE_CURRENT_SOURCE_DIR}/src/utils)
	PCL_CUDA_ADD_LIBRARY(${LIB_NAME} ${SUBSYS_NAME} ${srcs} ${incs})
	PCL_ADD_SSE_FLAGS(${LIB_NAME})
	target_link_libraries(${LIB_NAME} pcl_gpu_containers)

	set(EXT_DEPS "")
	#set(EXT_DEPS CUDA)
	PCL_MAKE_PKGCONFIG(${LIB_NAME} ${SUBSYS_NAME} "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "${EXT_DEPS}" "" "" "")
	
	# Install include files
	PCL_ADD_INCLUDES(${SUBSYS_NAME} ${SUBSYS_PATH} ${incs})

	add_subdirectory(tests)
endif()

{'fraction_non_alphanumeric': 0.15075055892686043, 'fraction_numerical': 0.0, 'mean_word_length': 8.18475073313783, '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': '3797775', 'n_tokens_mistral': 1292, 'n_tokens_neox': 1285, 'n_words': 190}