Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/cpp/membound/boolean_fusion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ TEST_CASE("Boolean CMP_GT and LOGICAL_AND fusion", "[membound][boolean][pointwis
if (cudnn_frontend::detail::get_backend_version() < 92200) {
SKIP("Boolean fusion sample requires cuDNN backend 9.22.0 or newer at runtime.");
}
if (!is_blackwell_arch()) {
SKIP("Boolean fusion requires Blackwell (SM100+) architecture.");
if (!is_blackwell_computing_arch()) {
SKIP("Boolean fusion (TensorIR MemBound engine) is only supported on SM100-SM109 (data center Blackwell)");
}

constexpr int64_t d0 = 4, d1 = 8, d2 = 16;
Expand Down
4 changes: 2 additions & 2 deletions samples/cpp/membound/concat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ TEST_CASE("Membound concatenate on channel axis (no in-place index)", "[membound
return;
#endif

if (!check_device_arch_newer_than("blackwell")) {
SKIP("TEST requires device blackwell or newer");
if (!is_blackwell_computing_arch()) {
SKIP("TensorIR MemBound engine is only supported on SM100-SM109 (data center Blackwell)");
}

#if (CUDNN_VERSION < 92200)
Expand Down
8 changes: 4 additions & 4 deletions samples/cpp/membound/membound_fusion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ TEST_CASE("Fusion reshape then ReLU", "[membound][fusion][reshape][graph]") {
return;
#endif

if (!check_device_arch_newer_than("blackwell")) {
SKIP("TEST requires device blackwell or newer");
if (!is_blackwell_computing_arch()) {
SKIP("TensorIR MemBound engine is only supported on SM100-SM109 (data center Blackwell)");
}

#if (CUDNN_VERSION < 92200)
Expand Down Expand Up @@ -86,8 +86,8 @@ TEST_CASE("Fusion transpose then add bias tensor", "[membound][fusion][transpose
return;
#endif

if (!check_device_arch_newer_than("blackwell")) {
SKIP("TEST requires device blackwell or newer");
if (!is_blackwell_computing_arch()) {
SKIP("TensorIR MemBound engine is only supported on SM100-SM109 (data center Blackwell)");
}

#if (CUDNN_VERSION < 92200)
Expand Down
4 changes: 2 additions & 2 deletions samples/cpp/membound/reshape.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ TEST_CASE("Membound reshape (3,4,5) to (6,10) lexicographic / LOGICAL mode",
return;
#endif

if (!check_device_arch_newer_than("blackwell")) {
SKIP("TEST requires device blackwell or newer");
if (!is_blackwell_computing_arch()) {
SKIP("TensorIR MemBound engine is only supported on SM100-SM109 (data center Blackwell)");
}

#if (CUDNN_VERSION < 92200)
Expand Down
4 changes: 2 additions & 2 deletions samples/cpp/membound/slice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ TEST_CASE("Membound slice window with step", "[membound][slice][graph]") {
return;
#endif

if (!check_device_arch_newer_than("blackwell")) {
SKIP("TEST requires device blackwell or newer");
if (!is_blackwell_computing_arch()) {
SKIP("TensorIR MemBound engine is only supported on SM100-SM109 (data center Blackwell)");
}

#if (CUDNN_VERSION < 92200)
Expand Down
4 changes: 2 additions & 2 deletions samples/cpp/membound/transpose.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ TEST_CASE("Membound transpose permutes dims", "[membound][transpose][graph]") {
return;
#endif

if (!check_device_arch_newer_than("blackwell")) {
SKIP("TEST requires device blackwell or newer");
if (!is_blackwell_computing_arch()) {
SKIP("TensorIR MemBound engine is only supported on SM100-SM109 (data center Blackwell)");
}

#if (CUDNN_VERSION < 92200)
Expand Down
4 changes: 2 additions & 2 deletions samples/cpp/misc/compile_time_constant_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ TEST_CASE("Compile-time constant scalar multiply and add", "[compile_time_const]
return;
#endif

if (!check_device_arch_newer_than("blackwell")) {
SKIP("TEST requires device blackwell or newer");
if (!is_blackwell_computing_arch()) {
SKIP("Compile-time constant scalar graph (TensorIR) is only supported on SM100-SM109 (data center Blackwell)");
}

#if (CUDNN_VERSION < 92200)
Expand Down