mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 09:44:28 +00:00
Add cudaDeviceReset at the end of each test
This commit is contained in:
@@ -47,6 +47,7 @@ class Conv2dTest : public ::testing::Test {
|
||||
void commonTestTeardown(float* d_input) {
|
||||
// Free device memory
|
||||
cudaFree(d_input);
|
||||
cudaDeviceReset();
|
||||
}
|
||||
|
||||
cudaError_t cudaStatus;
|
||||
|
||||
Reference in New Issue
Block a user