From b18d5a846fc60ab958acebabb6c53e6a4f300d8d Mon Sep 17 00:00:00 2001 From: Luo Tao Date: Tue, 28 Feb 2017 15:15:36 +0800 Subject: [PATCH] fix compile error --- paddle/function/CosSimOpGpu.cu | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/function/CosSimOpGpu.cu b/paddle/function/CosSimOpGpu.cu index 1dd733674fa..c62ab39551f 100644 --- a/paddle/function/CosSimOpGpu.cu +++ b/paddle/function/CosSimOpGpu.cu @@ -92,7 +92,6 @@ void CosSimForward(GpuMatrix& out_mat, CHECK(in1_mat.useGpu_ == true && in2_mat.useGpu_ == true) << "Matrix type are not GPU"; - size_t num_samples = out_mat.getHeight(); size_t dim = in1_mat.getWidth(); real* out = out_mat.getData(); const real* x = in1_mat.getData(); -- GitLab