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

[ROCm/hip commit: 880d2a8b50]
Αυτή η υποβολή περιλαμβάνεται σε:
Michael Hong Bin Liao
2020-04-24 10:30:38 -04:00
υποβλήθηκε από Gerrit Code Review
γονέας 4764c2f091 5a2ad708ea
υποβολή 6c2bf62424
Εκτελέσιμο αρχείο → Κανονικό αρχείο
+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;