<commit_before>SET(src-cuda init.cu)
SET(luasrc init.lua)

CUDA_ADD_LIBRARY(cunn SHARED ${src-cuda})
TARGET_LINK_LIBRARIES(cunn luaT THC)

### Torch packages supposes libraries prefix is "lib"
SET_TARGET_PROPERTIES(cunn PROPERTIES
  PREFIX "lib"
  IMPORT_PREFIX "lib"
  INSTALL_NAME_DIR "@executable_path/${Torch_INSTALL_BIN2CPATH}")
    
INSTALL(TARGETS cunn
  RUNTIME DESTINATION ${Torch_INSTALL_LUA_CPATH_SUBDIR}
  LIBRARY DESTINATION ${Torch_INSTALL_LUA_CPATH_SUBDIR})

ADD_TORCH_PACKAGE(cunn "" "${luasrc}")<commit_msg>master compiles under win (msvc11)<commit_after>SET(src-cuda init.cu)
SET(luasrc init.lua)

SET(CUDA_ATTACH_VS_BUILD_RULE_TO_CUDA_FILE OFF)

CUDA_ADD_LIBRARY(cunn SHARED ${src-cuda})

TARGET_LINK_LIBRARIES(cunn luaT THC)

### Torch packages supposes libraries prefix is "lib"
SET_TARGET_PROPERTIES(cunn PROPERTIES
  PREFIX "lib"
  IMPORT_PREFIX "lib"
  INSTALL_NAME_DIR "@executable_path/${Torch_INSTALL_BIN2CPATH}")
    
INSTALL(TARGETS cunn
  RUNTIME DESTINATION ${Torch_INSTALL_LUA_CPATH_SUBDIR}
  LIBRARY DESTINATION ${Torch_INSTALL_LUA_CPATH_SUBDIR})

ADD_TORCH_PACKAGE(cunn "" "${luasrc}")
{'fraction_non_alphanumeric': 0.09830205540661305, 'fraction_numerical': 0.0035746201966041107, 'mean_word_length': 7.818897637795276, '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': '1593499', 'n_tokens_mistral': 475, 'n_tokens_neox': 452, 'n_words': 75}