CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
pytorch

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: pytorch/tutorials
Path: blob/main/advanced_source/dispatcher/CMakeLists.txt
Views: 494
1
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
2
project(dispatcher)
3
4
find_package(Torch REQUIRED)
5
6
add_library(dispatcher SHARED op.cpp)
7
target_compile_features(dispatcher PRIVATE cxx_std_14)
8
target_link_libraries(dispatcher "${TORCH_LIBRARIES}")
9
10