Added unbind texture to samples and tests

このコミットが含まれているのは:
Anusha Godavarthy Surya
2019-10-15 11:34:15 +05:30
コミット 20cfe17805
2個のファイルの変更2行の追加0行の削除
+1
ファイルの表示
@@ -124,6 +124,7 @@ bool runTest(int argc, char** argv) {
}
}
}
hipUnbindTexture(tex);
hipFree(dData);
hipFreeArray(array);
return true;
+1
ファイルの表示
@@ -90,6 +90,7 @@ int runTest(int argc, char** argv) {
}
}
}
HIPCHECK(hipUnbindTexture(tex));
hipFree(dData);
hipFreeArray(hipArray);
return testResult;