mirror of
https://github.com/lordmathis/CUDANet.git
synced 2025-11-06 17:54:27 +00:00
Fix matmul and max reduce memcheck errors
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <cuda_runtime.h>
|
||||
#include <vector>
|
||||
|
||||
|
||||
TEST(ActivationTest, SoftmaxTest1) {
|
||||
const int inputSize = 5;
|
||||
cudaError_t cudaStatus;
|
||||
@@ -39,6 +40,9 @@ TEST(ActivationTest, SoftmaxTest1) {
|
||||
|
||||
cudaFree(d_input);
|
||||
cudaDeviceReset();
|
||||
|
||||
cudaStatus = cudaGetLastError();
|
||||
EXPECT_EQ(cudaStatus, cudaSuccess);
|
||||
}
|
||||
|
||||
TEST(ActivationTest, SoftmaxTest2) {
|
||||
|
||||
Reference in New Issue
Block a user