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

* added catch statements to examples

* clang format

[ROCm/composable_kernel commit: c52649ad57]
This commit is contained in:
Aviral Goel
2025-05-28 00:32:42 -05:00
committed by GitHub
parent 40acbcfc60
commit bfdffc4704
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)
{