[dtests] Added few Negative tests (#1735)

[ROCm/hip commit: 351d39e6aa]
这个提交包含在:
satyanveshd 编写, GitHub 于 2020-03-27 14:10:12 +05:30 提交
1 父节点 e58a0d06f7
当前提交 3eea799a53
7 个文件已更改
+273 -4

没有与搜索条件相匹配的文件

-4
查看文件
@@ -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 {