[cudnn-frontend] Update to 1.27.0 (#53411)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
SunBlack 2026-08-15 23:44:48 +02:00 committed by GitHub
parent ddf0518c31
commit 3d5231d578
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 52 additions and 5 deletions

View File

@ -0,0 +1,31 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10bc801..2600934 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,11 +47,9 @@ target_include_directories(
# Find the cuda compiler
find_package(CUDAToolkit REQUIRED)
+find_package(CUDNN REQUIRED)
-target_include_directories(
- cudnn_frontend INTERFACE
- ${CUDAToolkit_INCLUDE_DIRS}
-)
+target_link_libraries(cudnn_frontend INTERFACE CUDA::toolkit CuDNN::CuDNN)
target_compile_features(cudnn_frontend INTERFACE cxx_std_17)
diff --git a/cudnn_frontend-config.cmake.in b/cudnn_frontend-config.cmake.in
index c2bfbee..9de9b89 100644
--- a/cudnn_frontend-config.cmake.in
+++ b/cudnn_frontend-config.cmake.in
@@ -3,4 +3,8 @@
@PACKAGE_INIT@
+include(CMakeFindDependencyMacro)
+find_dependency(CUDAToolkit)
+find_dependency(CUDNN)
+
include(${CMAKE_CURRENT_LIST_DIR}/cudnn_frontend-targets.cmake)

View File

@ -2,8 +2,10 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO NVIDIA/cudnn-frontend
REF "v${VERSION}"
SHA512 ae62f717b8660490c53f974142801e38ffcb7e890c1841463803fef20a1ff956cf4aeb0d501b1c36859ad3a2e9506f1b75267606d7a14dcaf6ed9ca6aa6a71ec
SHA512 c27ef3a7e78f295522ed9757f0d2ae75f515577b735d7f627814f53aafa196b22081638646449cf19ea96e186d7f6ecb3ce53151f47b89e344804bde0e6ecca6
HEAD_REF main
PATCHES
fix-dependencies.patch
)
file(REMOVE_RECURSE "${SOURCE_PATH}/include/cudnn_frontend/thirdparty")
@ -36,4 +38,13 @@ file(REMOVE_RECURSE
"${CURRENT_PACKAGES_DIR}/debug"
"${CURRENT_PACKAGES_DIR}/lib"
)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE.txt")
file(REMOVE "${CURRENT_PACKAGES_DIR}/include/cudnn_frontend/AGENTS.md")
vcpkg_install_copyright(
FILE_LIST
"${SOURCE_PATH}/LICENSE.txt"
"${SOURCE_PATH}/LICENSE-MIT.txt"
"${SOURCE_PATH}/LICENSING.md"
"${SOURCE_PATH}/NOTICE"
"${SOURCE_PATH}/THIRD_PARTY_LICENSES.txt"
)

View File

@ -1,9 +1,9 @@
{
"name": "cudnn-frontend",
"version-semver": "1.26.0",
"version-semver": "1.27.0",
"description": "cudnn_frontend provides a c++ wrapper for the cudnn backend API and samples on how to use it",
"homepage": "https://github.com/NVIDIA/cudnn-frontend",
"license": "MIT",
"license": "Apache-2.0 AND MIT",
"dependencies": [
"cuda",
"cudnn",

View File

@ -2289,7 +2289,7 @@
"port-version": 17
},
"cudnn-frontend": {
"baseline": "1.26.0",
"baseline": "1.27.0",
"port-version": 0
},
"cunit": {

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "5e51d4a7906633892b7b18f79c71a4dc30d2d660",
"version-semver": "1.27.0",
"port-version": 0
},
{
"git-tree": "830667c98cfc1c21e04649dc54ae551de8b5c9b1",
"version-semver": "1.26.0",