From 9762215e54426d3b842e480c98d8dc74f22a9b38 Mon Sep 17 00:00:00 2001 From: Aaron Enye Shi Date: Mon, 24 Sep 2018 15:01:24 +0000 Subject: [PATCH] Fix missing HIP_ASSERT in hip_trig [ROCm/hip commit: 3d3820272a45a9be58d0c77ee4de18c4c620eb24] --- projects/hip/tests/src/deviceLib/hip_trig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/hip/tests/src/deviceLib/hip_trig.cpp b/projects/hip/tests/src/deviceLib/hip_trig.cpp index b7542c25a4..29c24cf5b4 100644 --- a/projects/hip/tests/src/deviceLib/hip_trig.cpp +++ b/projects/hip/tests/src/deviceLib/hip_trig.cpp @@ -32,6 +32,8 @@ THE SOFTWARE. #include "test_common.h" #include +#define HIP_ASSERT(x) (assert((x) == hipSuccess)) + #define LEN 512 #define SIZE LEN << 2