Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttribu… (#1238)
* Added query of hipDeviceAttributeHdpMemFlushCntl and hipDeviceAttributeHdpRegFlushCntl * Added NVCC blocker for the hip*FlushCntl test cases
Este cometimento está contido em:
cometido por
Maneesh Gupta
ascendente
adc95002c6
cometimento
e7447d5809
@@ -293,6 +293,17 @@ hipError_t ihipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device
|
||||
break;
|
||||
case hipDeviceAttributeMaxTexture3DDepth:
|
||||
*pi = prop->maxTexture3D[2];
|
||||
case hipDeviceAttributeHdpMemFlushCntl:
|
||||
{
|
||||
uint32_t** hdp = reinterpret_cast<uint32_t**>(pi);
|
||||
*hdp = prop->hdpMemFlushCntl;
|
||||
}
|
||||
break;
|
||||
case hipDeviceAttributeHdpRegFlushCntl:
|
||||
{
|
||||
uint32_t** hdp = reinterpret_cast<uint32_t**>(pi);
|
||||
*hdp = prop->hdpRegFlushCntl;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
e = hipErrorInvalidValue;
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador