From 40688fbfc247070170855fdb44397b258b00075b 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. [ROCm/clr commit: fe47fce496ca8aea02a7e50a5c6f2c40dae92258] --- projects/clr/hipamd/src/hip_device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/hipamd/src/hip_device.cpp b/projects/clr/hipamd/src/hip_device.cpp index aa89e62271..1bbdb10bbc 100644 --- a/projects/clr/hipamd/src/hip_device.cpp +++ b/projects/clr/hipamd/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);