|
1 | 1 | # ============================================================================= |
2 | | -# Copyright (c) 2021-2023, NVIDIA CORPORATION. |
| 2 | +# Copyright (c) 2021-2025, NVIDIA CORPORATION. |
3 | 3 | # |
4 | 4 | # Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
5 | 5 | # in compliance with the License. You may obtain a copy of the License at |
@@ -58,34 +58,6 @@ function(find_and_configure_cutlass) |
58 | 58 | add_library(nvidia::cutlass::cutlass ALIAS CUTLASS) |
59 | 59 | endif() |
60 | 60 |
|
61 | | - if(NvidiaCutlass_ADDED) |
62 | | - rapids_export( |
63 | | - BUILD NvidiaCutlass |
64 | | - EXPORT_SET NvidiaCutlass |
65 | | - GLOBAL_TARGETS nvidia::cutlass::cutlass |
66 | | - NAMESPACE nvidia::cutlass:: |
67 | | - ) |
68 | | - endif() |
69 | | - |
70 | | - # We generate the cutlass-config files when we built cutlass locally, so always do |
71 | | - # `find_dependency` |
72 | | - rapids_export_package( |
73 | | - BUILD NvidiaCutlass cuvs-exports GLOBAL_TARGETS nvidia::cutlass::cutlass |
74 | | - ) |
75 | | - rapids_export_package( |
76 | | - INSTALL NvidiaCutlass cuvs-exports GLOBAL_TARGETS nvidia::cutlass::cutlass |
77 | | - ) |
78 | | - |
79 | | - # Tell cmake where it can find the generated NvidiaCutlass-config.cmake we wrote. |
80 | | - include("${rapids-cmake-dir}/export/find_package_root.cmake") |
81 | | - rapids_export_find_package_root( |
82 | | - INSTALL NvidiaCutlass [=[${CMAKE_CURRENT_LIST_DIR}/../]=] |
83 | | - EXPORT_SET cuvs-exports |
84 | | - ) |
85 | | - rapids_export_find_package_root( |
86 | | - BUILD NvidiaCutlass [=[${CMAKE_CURRENT_LIST_DIR}]=] |
87 | | - EXPORT_SET cuvs-exports |
88 | | - ) |
89 | 61 | endfunction() |
90 | 62 |
|
91 | 63 | find_and_configure_cutlass() |
0 commit comments