Merge "[vdi] Fix texture reference sample." into amd-master-next

[ROCm/hip commit: 880d2a8b50]
这个提交包含在:
Michael Hong Bin Liao 编写, Gerrit Code Review 于 2020-04-24 10:30:38 -04:00 提交
2 父节点 4764c2f091 5a2ad708ea
当前提交 6c2bf62424
1 个文件已更改
+1 -2
+1 -2
查看文件
@@ -27,7 +27,6 @@ THE SOFTWARE.
#define fileName "tex2dKernel.code"
texture<float, 2, hipReadModeElementType> tex;
bool testResult = true;
#define HIP_CHECK(cmd) \
@@ -122,7 +121,7 @@ bool runTest(int argc, char** argv) {
}
}
}
HIP_CHECK(hipUnbindTexture(tex));
HIP_CHECK(hipUnbindTexture(texref));
HIP_CHECK(hipFree(dData));
HIP_CHECK(hipFreeArray(array));
return testResult;