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 639707d commit 0eed7feCopy full SHA for 0eed7fe
features/feature_case/cub/cub_intrinsic.cu
@@ -161,6 +161,15 @@ bool test_bfi() {
161
return *res == 0;
162
}
163
164
+bool test_sm_version() {
165
+ int a = 0;
166
+ cub::SmVersion(a);
167
+ cub::SmVersion(a, 0);
168
+ cub::SmVersionUncached(a);
169
+ cub::SmVersionUncached(a, 0);
170
+ return true;
171
+}
172
+
173
#define TEST(FUNC) \
174
if (!FUNC()) { \
175
printf(#FUNC " failed\n"); \
@@ -176,5 +185,6 @@ int main() {
176
185
TEST(test_ptx_version);
177
186
TEST(test_bfe);
178
187
TEST(test_bfi);
188
+ TEST(test_sm_version);
179
189
return 0;
180
190
0 commit comments