We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f90968 commit 739cec7Copy full SHA for 739cec7
libcudacxx/include/cuda/__device/compute_capability.h
@@ -105,6 +105,10 @@ class compute_capability
105
return __cc_;
106
}
107
108
+ // clang complains about exlude_from_explicit_instantiation being ignored here.
109
+ _CCCL_DIAG_PUSH
110
+ _CCCL_DIAG_SUPPRESS_CLANG("-Wignored-attributes")
111
+
112
//! @brief Equality operator.
113
[[nodiscard]] friend _CCCL_API constexpr bool operator==(compute_capability __lhs, compute_capability __rhs) noexcept
114
{
@@ -140,6 +144,7 @@ class compute_capability
140
144
141
145
return __lhs.__cc_ >= __rhs.__cc_;
142
146
147
+ _CCCL_DIAG_POP
143
148
};
149
150
_CCCL_END_NAMESPACE_CUDA
0 commit comments