NVIDIA/Fuser

Reduce test verbosity.

Open

#3.020 geöffnet am 25. Sept. 2024

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (80 Forks)github user discovery
Testinggood first issue

Repository-Metriken

Stars
 (392 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

https://github.com/NVIDIA/Fuser/pull/2989 introduced "scheduleAndRun" utility function https://github.com/NVIDIA/Fuser/pull/2989/files#diff-fb98e47b0b389ef77407ef12badf08c42718a0e81dfce9ac5a6eca06feaca1c4R51. We could go one step further and include validation check in this function. e.g. this is the pattern that could go from two lines to one:

  auto cg_outputs =
      scheduleAndRun(&fusion, SchedulerType::PointWise, aten_inputs).outputs;
  testValidate(&fusion, cg_outputs, aten_inputs, __LINE__, __FILE__);

Contributor Guide