Fix API string message for hipDeviceGetAttribute
Change-Id: I30f54627630c8ee835506be8c9921742bb68a43a
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ hipError_t hipDeviceReset(void)
|
|||||||
*/
|
*/
|
||||||
hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
|
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;
|
hipError_t e = hipSuccess;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user