missing break statement in hipDeviceGetAttribute (#1865)

The break is missing for hipDeviceAttributeMaxTexture3DDepth.
此提交包含在:
Jeff Daily authored and GitHub committed 2020-02-13 14:22:56 +05:30
1 父節點 a03628335c
當前提交 fe47fce496
1 file changed
+1
+1
查看文件
@@ -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);