From 3db5dd362c2c8a7e44fa39ce1f97e8b449b04a26 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Thu, 12 May 2016 10:13:07 +0530 Subject: [PATCH] Fix square.cu to use cudaError_t instead of hipError_t Change-Id: If3314910d1c03122741d3e0a45e14a4412c473b3 [ROCm/hip-tests commit: f6544a376bbfa07d5eaadcac9d73d06b388cc49a] --- projects/hip-tests/samples/0_Intro/square/square.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip-tests/samples/0_Intro/square/square.cu b/projects/hip-tests/samples/0_Intro/square/square.cu index 8b6980cd02..ec8ca12fbf 100644 --- a/projects/hip-tests/samples/0_Intro/square/square.cu +++ b/projects/hip-tests/samples/0_Intro/square/square.cu @@ -24,7 +24,7 @@ THE SOFTWARE. #define CHECK(cmd) \ {\ - hipError_t error = cmd;\ + cudaError_t error = cmd;\ if (error != cudaSuccess) { \ fprintf(stderr, "error: '%s'(%d) at %s:%d\n", cudaGetErrorString(error), error,__FILE__, __LINE__); \ exit(EXIT_FAILURE);\