aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/cudnn/usage
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/cudnn/usage')
-rw-r--r--vcpkg/ports/cudnn/usage10
1 files changed, 10 insertions, 0 deletions
diff --git a/vcpkg/ports/cudnn/usage b/vcpkg/ports/cudnn/usage
new file mode 100644
index 0000000..f528e01
--- /dev/null
+++ b/vcpkg/ports/cudnn/usage
@@ -0,0 +1,10 @@
+The package cudnn provides CMake variables:
+
+ find_package(CUDNN REQUIRED)
+ target_link_libraries(main PRIVATE ${CUDNN_LIBRARIES})
+ target_include_directories(main PRIVATE ${CUDNN_INCLUDE_DIRS})
+
+Or the following CMake target:
+
+ find_package(CUDNN REQUIRED)
+ target_link_libraries(main PRIVATE CuDNN::CuDNN)