Added unbind texture to samples and tests
[ROCm/hip commit: d5b1e887e9]
This commit is contained in:
@@ -124,6 +124,7 @@ bool runTest(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
}
|
||||
hipUnbindTexture(tex);
|
||||
hipFree(dData);
|
||||
hipFreeArray(array);
|
||||
return true;
|
||||
|
||||
@@ -90,6 +90,7 @@ int runTest(int argc, char** argv) {
|
||||
}
|
||||
}
|
||||
}
|
||||
HIPCHECK(hipUnbindTexture(tex));
|
||||
hipFree(dData);
|
||||
hipFreeArray(hipArray);
|
||||
return testResult;
|
||||
|
||||
Reference in New Issue
Block a user