missing break statement in hipDeviceGetAttribute (#1865)

The break is missing for hipDeviceAttributeMaxTexture3DDepth.
This commit is contained in:
Jeff Daily
2020-02-13 00:52:56 -08:00
gecommit door GitHub
bovenliggende a03628335c
commit fe47fce496
+1
Bestand weergeven
@@ -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);