[examples] added skeleton for pytorch wrapper
This commit is contained in:
6
examples/python/pytorch/CMakeLists.txt
Normal file
6
examples/python/pytorch/CMakeLists.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
find_package(Torch)
|
||||
if(${Torch_FOUND})
|
||||
add_library(torch_triton SHARED conv.cpp)
|
||||
target_compile_features(torch_triton PRIVATE cxx_range_for)
|
||||
target_link_libraries(torch_triton "${TORCH_LIBRARIES}")
|
||||
endif()
|
Reference in New Issue
Block a user