mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-08 02:34:24 +00:00
Remove extra cudaFree
This commit is contained in:
@@ -65,5 +65,6 @@ TEST(AvgPoolingLayerTest, AvgPoolForwardTest) {
|
||||
EXPECT_NEAR(expected[i], output[i], 1e-4);
|
||||
}
|
||||
|
||||
cudaFree(d_input);
|
||||
cudaStatus = cudaFree(d_input);
|
||||
EXPECT_EQ(cudaStatus, cudaSuccess);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user