Added unbind texture to samples and tests

This commit is contained in:
Anusha Godavarthy Surya
2019-10-15 11:34:15 +05:30
orang tua af5f195e46
melakukan d5b1e887e9
2 mengubah file dengan 2 tambahan dan 0 penghapusan
@@ -124,6 +124,7 @@ bool runTest(int argc, char** argv) {
}
}
}
hipUnbindTexture(tex);
hipFree(dData);
hipFreeArray(array);
return true;
+1
Melihat File
@@ -90,6 +90,7 @@ int runTest(int argc, char** argv) {
}
}
}
HIPCHECK(hipUnbindTexture(tex));
hipFree(dData);
hipFreeArray(hipArray);
return testResult;