Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ef175550 authored by hhakim's avatar hhakim
Browse files

Fix test_eltwise_mul_vec unit test + update to gpu_mod@4dafb3a1

parent c24493ce
No related branches found
No related tags found
No related merge requests found
Subproject commit 379f19c4a8ec5d6170da6ba23847c9ac73ea1987
Subproject commit 4dafb3a1d484edf3a8940f6af81c8f399efdd4fa
......@@ -466,9 +466,9 @@ void test_eltwise_mul_vec()
auto size = 2048;
auto nrows = 1024;
auto ncols = size;
auto vec_mat = MatDense<FPP, Cpu>::randMat(size, 1);
Faust::Vect<FPP, Cpu> v_cpu(size, vec_mat->getData());
Faust::Vect<FPP, GPU2> v_gpu(size, vec_mat->getData());
auto vec_mat = MatDense<FPP, Cpu>::randMat(nrows, 1);
Faust::Vect<FPP, Cpu> v_cpu(nrows, vec_mat->getData());
Faust::Vect<FPP, GPU2> v_gpu(nrows, vec_mat->getData());
auto cpu_mat = Faust::MatDense<FPP,Cpu>::randMat(nrows,ncols);
MatDense<FPP,GPU2> gpu_mat(nrows, ncols, cpu_mat->getData());
gpu_mat.eltwise_mul(v_gpu);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment