From 07c9fb8b38a736c86c97d6afe8619efc877d818f Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Wed, 27 Jul 2016 16:18:14 -0500 Subject: [PATCH] Fix API string message for hipDeviceGetAttribute Change-Id: I30f54627630c8ee835506be8c9921742bb68a43a [ROCm/hip commit: 4cf0f86e99ae29fa24eff99db06c191aa7729df3] --- projects/hip/src/hip_device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/hip/src/hip_device.cpp b/projects/hip/src/hip_device.cpp index f16ae715c1..cfc285427c 100644 --- a/projects/hip/src/hip_device.cpp +++ b/projects/hip/src/hip_device.cpp @@ -184,7 +184,7 @@ hipError_t hipDeviceReset(void) */ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device) { - HIP_INIT_API(attr, device); + HIP_INIT_API(pi, attr, device); hipError_t e = hipSuccess;