Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
faust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.4.
Show more breadcrumbs
faust group
faust
Commits
ef175550
Commit
ef175550
authored
2 years ago
by
hhakim
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
gpu_mod
+1
-1
1 addition, 1 deletion
gpu_mod
misc/test/src/C++/test_matdense_gpu_mod.cpp.in
+3
-3
3 additions, 3 deletions
misc/test/src/C++/test_matdense_gpu_mod.cpp.in
with
4 additions
and
4 deletions
gpu_mod
@
4dafb3a1
Compare
379f19c4
...
4dafb3a1
Subproject commit
379f19c4a8ec5d6170da6ba23847c9ac73ea1987
Subproject commit
4dafb3a1d484edf3a8940f6af81c8f399efdd4fa
This diff is collapsed.
Click to expand it.
misc/test/src/C++/test_matdense_gpu_mod.cpp.in
+
3
−
3
View file @
ef175550
...
...
@@ -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);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment