<commit_before>cmake_minimum_required(VERSION 3.18)
project(nvcomp LANGUAGES C CUDA CXX)

option(BUILD_TESTS "Build unit and end-to-end tests." OFF)
option(BUILD_BENCHMARKS "Build benchmarks." OFF)
option(BUILD_EXAMPLES "Build examples." OFF)
option(BUILD_STATIC "Build a static library." OFF)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CUDA_STANDARD 14)
set(CMAKE_CXX_EXTENSIONS OFF)

list( APPEND CMAKE_MODULE_PATH
  ${CMAKE_SOURCE_DIR}/cmake
)

find_package(CUDAToolkit REQUIRED)

if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU" OR
    "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR
    "${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")

    set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")<commit_msg>* Added "include(GNUInstallDirs)" at the recommendation of <NAME>, to fix the issue of CMAKE_INSTALL_INCLUDEDIR not being defined in the root CMakeLists.txt, which was causing CMake to fail on Windows<commit_after>cmake_minimum_required(VERSION 3.18)
project(nvcomp LANGUAGES C CUDA CXX)

option(BUILD_TESTS "Build unit and end-to-end tests." OFF)
option(BUILD_BENCHMARKS "Build benchmarks." OFF)
option(BUILD_EXAMPLES "Build examples." OFF)
option(BUILD_STATIC "Build a static library." OFF)

set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CUDA_STANDARD 14)
set(CMAKE_CXX_EXTENSIONS OFF)

include(GNUInstallDirs)

list( APPEND CMAKE_MODULE_PATH
  ${CMAKE_SOURCE_DIR}/cmake
)

find_package(CUDAToolkit REQUIRED)

if ("${CMAKE_CXX_COMPILER_ID}" MATCHES "GNU" OR
    "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR
    "${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")

    set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
{'fraction_non_alphanumeric': 0.10012360939431397, 'fraction_numerical': 0.009888751545117428, 'mean_word_length': 7.095, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '54001', 'n_tokens_mistral': 697, 'n_tokens_neox': 610, 'n_words': 138}