missing break statement in hipDeviceGetAttribute (#1865)

The break is missing for hipDeviceAttributeMaxTexture3DDepth.
This commit is contained in:
Jeff Daily authored and GitHub committed 2020-02-13 14:22:56 +05:30
1 förälder a03628335c
incheckning fe47fce496
1 file changed
+1
+1
Visa fil
@@ -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<uint32_t**>(pi);