NVIDIA/Fuser

Reduce test verbosity.

Open

#3 020 ouverte le 25 sept. 2024

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)C++ (80 forks)github user discovery
Testinggood first issue

Métriques du dépôt

Stars
 (392 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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__);

Guide contributeur