Skip to content

Commit f40304d

Browse files
committed
Add HeaderDescriptorSpec entries for cute, cutlass
1 parent 8a1dffe commit f40304d

3 files changed

Lines changed: 19 additions & 0 deletions

File tree

cuda_pathfinder/cuda/pathfinder/_headers/header_descriptor_catalog.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,14 @@ class HeaderDescriptorSpec:
145145
conda_targets_layout=False,
146146
use_ctk_root_canary=False,
147147
),
148+
HeaderDescriptorSpec(
149+
name="cute",
150+
packaged_with="other",
151+
header_basename="cute/tensor.hpp",
152+
site_packages_dirs=("cutlass_library/source/include",),
153+
conda_targets_layout=False,
154+
use_ctk_root_canary=False,
155+
),
148156
HeaderDescriptorSpec(
149157
name="cutensor",
150158
packaged_with="other",
@@ -153,6 +161,14 @@ class HeaderDescriptorSpec:
153161
conda_targets_layout=False,
154162
use_ctk_root_canary=False,
155163
),
164+
HeaderDescriptorSpec(
165+
name="cutlass",
166+
packaged_with="other",
167+
header_basename="cutlass/cutlass.h",
168+
site_packages_dirs=("cutlass_library/source/include",),
169+
conda_targets_layout=False,
170+
use_ctk_root_canary=False,
171+
),
156172
HeaderDescriptorSpec(
157173
name="mathdx",
158174
packaged_with="other",

cuda_pathfinder/pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ cu13 = [
4343
"nvidia-nvshmem-cu13; sys_platform != 'win32'",
4444
]
4545
host = [
46+
"nvidia-cutlass",
4647
"nvpl-fft; platform_system == 'Linux' and platform_machine == 'aarch64'",
4748
]
4849

cuda_pathfinder/tests/test_find_nvidia_headers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@
4141

4242
NON_CTK_IMPORTLIB_METADATA_DISTRIBUTIONS_NAMES = {
4343
"cusparseLt": r"^nvidia-cusparselt-.*$",
44+
"cute": r"^nvidia-cutlass$",
4445
"cutensor": r"^cutensor-.*$",
46+
"cutlass": r"^nvidia-cutlass$",
4547
"mathdx": r"^nvidia-libmathdx-.*$",
4648
"nvshmem": r"^nvidia-nvshmem-.*$",
4749
}

0 commit comments

Comments
 (0)