mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 17:54:27 +00:00
Add cudaDeviceReset at the end of each test
This commit is contained in:
@@ -21,4 +21,7 @@ TEST(OutputLayerTest, OutputForward) {
|
||||
for (int i = 0; i < 6; ++i) {
|
||||
EXPECT_EQ(input[i], h_output[i]);
|
||||
}
|
||||
|
||||
cudaFree(d_input);
|
||||
cudaDeviceReset();
|
||||
}
|
||||
Reference in New Issue
Block a user