Added unbind texture to samples and tests
[ROCm/clr commit: 20cfe17805]
Cette révision appartient à :
@@ -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;
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur