From 2ac7ab12d4eef1c864df9a98b9a15e903bcab700 Mon Sep 17 00:00:00 2001 From: Jatin Chaudhary Date: Tue, 18 Feb 2020 17:23:31 +0530 Subject: [PATCH] Adding a break at right spot to fix a bug in tests which got exposed with clang usage Change-Id: Ibf197f0108eec0bc4b87df8672d24e394a03d1b3 [ROCm/hip commit: 93adb0b434121e1cfc1f8e4521367d477fa60c84] --- projects/hip/src/hip_device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/src/hip_device.cpp b/projects/hip/src/hip_device.cpp index aa89e62271..1bbdb10bbc 100644 --- a/projects/hip/src/hip_device.cpp +++ b/projects/hip/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);