8000 Log which "test case" we are running in TritonAndBlasSupport... Regul… · linux-on-ibm-z/tensorflow@41cc4b5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 41cc4b5

Browse files
gflegartensorflower-gardener
authored andcommitted
Log which "test case" we are running in TritonAndBlasSupport... Regular2DDot
It is not quite ideal that we have a test that in effect consists of several test-cases, since it's difficult to figure out which one failed when one of them crashes. I do understand the idea that we want an easy to see support matrix, and splitting it up into individual tests would prevent us from doing that. As a middle ground, adding some logging so it's easy to tell what failed from the log. PiperOrigin-RevId: 730839144
1 parent 450341f commit 41cc4b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

third_party/xla/xla/backends/gpu/codegen/triton/dot_algorithms_test.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1435,6 +1435,7 @@ TEST_P(TritonAndBlasSupportForDifferentTensorSizes, Regular2DDot) {
14351435
csv.nextRow();
14361436
csv.appendValue(m);
14371437
for (int n = 1; n <= kMaxSize; n *= kStepSize) {
1438+
LOG(INFO) << "Running test for m=" << m << ", n=" << n;
14381439
auto run = [&](std::string backend, absl::string_view pattern,
14391440
const DebugOptions& options) -> absl::string_view {
14401441
auto test_name = absl::StrReplaceAll(TestName(), {{"/", "_"}});

0 commit comments

Comments
 (0)
0