Merge pull request #1481 from luotao1/compile

fix compile error
avx_docs
Tao Luo 8 years ago committed by GitHub
commit c6bfb7128b

@ -92,7 +92,6 @@ void CosSimForward<DEVICE_TYPE_GPU>(GpuMatrix& out_mat,
CHECK(in1_mat.useGpu_ == true && in2_mat.useGpu_ == true) CHECK(in1_mat.useGpu_ == true && in2_mat.useGpu_ == true)
<< "Matrix type are not GPU"; << "Matrix type are not GPU";
size_t num_samples = out_mat.getHeight();
size_t dim = in1_mat.getWidth(); size_t dim = in1_mat.getWidth();
real* out = out_mat.getData(); real* out = out_mat.getData();
const real* x = in1_mat.getData(); const real* x = in1_mat.getData();

Loading…
Cancel
Save