[dtests] Added few Negative tests (#1735)

Bu işleme şunda yer alıyor:
satyanveshd authored and GitHub committed 2020-03-27 14:10:12 +05:30
1 ebeveyn 6ab1e864b6
işleme 4554bbd9f9
7 files changed
+273 -4

No files matched your search

-4
Dosyayı Görüntüle
@@ -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 {