From 03bb658721eddc233b9916293cc968d3f1d07a60 Mon Sep 17 00:00:00 2001 From: Jeff Daily Date: Thu, 13 Feb 2020 00:52:56 -0800 Subject: [PATCH] missing break statement in hipDeviceGetAttribute (#1865) The break is missing for hipDeviceAttributeMaxTexture3DDepth. --- src/hip_device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hip_device.cpp b/src/hip_device.cpp index aa89e62271..1bbdb10bbc 100644 --- a/src/hip_device.cpp +++ b/src/hip_device.cpp @@ -291,6 +291,7 @@ hipError_t ihipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device break; case hipDeviceAttributeMaxTexture3DDepth: *pi = prop->maxTexture3D[2]; + break; case hipDeviceAttributeHdpMemFlushCntl: { uint32_t** hdp = reinterpret_cast(pi);