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