From 0bdba0c02ce2ba7b4e9f226714fbdb17d2467f93 Mon Sep 17 00:00:00 2001 From: Cliff Burdick <30670611+cliffburdick@users.noreply.github.com> Date: Fri, 8 Dec 2023 19:07:35 -0800 Subject: [PATCH] Update device.h for host compiler --- include/matx/executors/device.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/matx/executors/device.h b/include/matx/executors/device.h index d8cabdd9..0b807b76 100644 --- a/include/matx/executors/device.h +++ b/include/matx/executors/device.h @@ -75,7 +75,7 @@ namespace matx * @param op value **/ template - void Exec(Op &op) const noexcept { + void Exec(Op &op) const { #ifdef __CUDACC__ dim3 threads, blocks; @@ -131,7 +131,7 @@ namespace matx } } #else - MATX_ASSERT(false, "Cannot call device executor using host compiler"); + MATX_ASSERT_STR(false, matxInvalidParameter, "Cannot call device executor using host compiler"); #endif }