[dtests] Added few Negative tests (#1735)
Este cometimento está contido em:
1 ascendente
43abf84f54
cometimento
351d39e6aa
7 ficheiros modificados
+273
-4
Não existem ficheiros que correspondam à sua pesquisa
@@ -2271,8 +2271,6 @@ hipError_t hipMemGetInfo(size_t* free, size_t* total) {
|
||||
auto device = ctx->getWriteableDevice();
|
||||
if (total) {
|
||||
*total = device->_props.totalGlobalMem;
|
||||
} else {
|
||||
e = hipErrorInvalidValue;
|
||||
}
|
||||
|
||||
if (free) {
|
||||
@@ -2295,8 +2293,6 @@ hipError_t hipMemGetInfo(size_t* free, size_t* total) {
|
||||
} else {
|
||||
return ihipLogStatus(hipErrorInvalidValue);
|
||||
}
|
||||
} else {
|
||||
e = hipErrorInvalidValue;
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador