From 26a8d3d4bbefb9b4e2275d56d59500a63d4c227a Mon Sep 17 00:00:00 2001 From: Ahsan Saghir Date: Thu, 7 Nov 2024 17:32:06 -0600 Subject: [PATCH] Add comment to hipblaslt invoke function for parameter to control throwing an exception --- src/targets/gpu/include/migraphx/gpu/hipblaslt.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/targets/gpu/include/migraphx/gpu/hipblaslt.hpp b/src/targets/gpu/include/migraphx/gpu/hipblaslt.hpp index eeb37dba917..49d41bf4dcd 100644 --- a/src/targets/gpu/include/migraphx/gpu/hipblaslt.hpp +++ b/src/targets/gpu/include/migraphx/gpu/hipblaslt.hpp @@ -75,6 +75,8 @@ inline auto hipblaslt_invoke(F f, Ts... xs) return status; } +// Invoke a hipBLASLt call. If used to validate a call, set fatal_error = false to prevent +// throwing an exception on failure. template auto hipblaslt_invoke(F f, Pack p, Ts... xs, bool fatal_error = true) {