<commit_before>if(SARA_USE_FROM_SOURCE)
  get_property(DO_Sara_ImageProcessing_ADDED GLOBAL
               PROPERTY _DO_Sara_ImageProcessing_INCLUDED)
  if(NOT DO_Sara_ImageProcessing_ADDED)
    sara_glob_directory(${DO_Sara_SOURCE_DIR}/ImageProcessing)
    sara_create_common_variables("ImageProcessing")
    sara_generate_library("ImageProcessing")

    if(SARA_USE_HALIDE)
      target_compile_definitions(DO_Sara_ImageProcessing
                                 PRIVATE DO_SARA_USE_HALIDE)
      target_link_libraries(
        DO_Sara_ImageProcessing
        PUBLIC ${CMAKE_DL_LIBS}
        PRIVATE Halide::Halide
                Halide::Runtime
                # Fast color conversion
                shakti_rgb8u_to_gray32f_cpu
                # Binary operations.
                shakti_subtract_32f_cpu
                # Resize operations.
                shakti_scale_32f_cpu
                shakti_reduce_32f_cpu
                shakti_enlarge_cpu
                # Differential operations.
                shakti_gradient_2d_32f_cpu
                shakti_polar_gradient_2d_32f_cpu
                # Gaussian convolutions.
                shakti_gaussian_convolution_cpu
                shakti_gaussian_convolution_gpu)
    endif()
  endif()<commit_msg>MAINT: don't link GPU implementations yet.<commit_after>if(SARA_USE_FROM_SOURCE)
  get_property(DO_Sara_ImageProcessing_ADDED GLOBAL
               PROPERTY _DO_Sara_ImageProcessing_INCLUDED)
  if(NOT DO_Sara_ImageProcessing_ADDED)
    sara_glob_directory(${DO_Sara_SOURCE_DIR}/ImageProcessing)
    sara_create_common_variables("ImageProcessing")
    sara_generate_library("ImageProcessing")

    if(SARA_USE_HALIDE)
      target_compile_definitions(DO_Sara_ImageProcessing
                                 PRIVATE DO_SARA_USE_HALIDE)
      target_link_libraries(
        DO_Sara_ImageProcessing
        PUBLIC ${CMAKE_DL_LIBS}
        PRIVATE Halide::Halide
                Halide::Runtime
                # Fast color conversion
                shakti_rgb8u_to_gray32f_cpu
                # Binary operations.
                shakti_subtract_32f_cpu
                # Resize operations.
                shakti_scale_32f_cpu
                shakti_reduce_32f_cpu
                shakti_enlarge_cpu
                # Differential operations.
                shakti_gradient_2d_32f_cpu
                shakti_polar_gradient_2d_32f_cpu
                # Gaussian convolutions.
                shakti_gaussian_convolution_cpu)
    endif()
  endif()
{'fraction_non_alphanumeric': 0.04025508170585891, 'fraction_numerical': 0.011956954962136309, 'mean_word_length': 2.1532663316582914, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4731225', 'n_tokens_mistral': 811, 'n_tokens_neox': 737, 'n_words': 89}