mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 01:34:22 +00:00
Add cudaDeviceReset at the end of each test
This commit is contained in:
@@ -67,4 +67,6 @@ TEST(AvgPoolingLayerTest, AvgPoolForwardTest) {
|
||||
|
||||
cudaFree(d_input);
|
||||
cudaFree(d_output);
|
||||
|
||||
cudaDeviceReset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user