Add catch blocks in example GEMM apps to enable better error handling (Issue: 1928) (#2234)

* added catch statements to examples

* clang format
This commit is contained in:
Aviral Goel
2025-05-28 00:32:42 -05:00
committed by GitHub
parent 132bd5b874
commit c52649ad57
6 changed files with 69 additions and 15 deletions

View File

@@ -345,7 +345,7 @@ int main(int argc, char* argv[])
{
try
{
run_gemm_example(argc, argv);
return !run_gemm_example(argc, argv);
}
catch(const std::runtime_error& e)
{