[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 03/06: volk: follow-up to commit cb4142d45
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 03/06: volk: follow-up to commit cb4142d45 for added volk_get_machine function on master. |
Date: |
Wed, 29 Jan 2014 00:04:26 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
trondeau pushed a commit to branch master
in repository gnuradio.
commit 13a535d0d2329e9de64dde8bbc2634e5f07b94e3
Author: Roy Thompson <address@hidden>
Date: Tue Jan 28 17:57:43 2014 -0500
volk: follow-up to commit cb4142d45 for added volk_get_machine function on
master.
---
volk/tmpl/volk.tmpl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/volk/tmpl/volk.tmpl.c b/volk/tmpl/volk.tmpl.c
index df37247..2f54bbc 100644
--- a/volk/tmpl/volk.tmpl.c
+++ b/volk/tmpl/volk.tmpl.c
@@ -85,14 +85,16 @@ const char* volk_get_machine(void)
else {
unsigned int max_score = 0;
unsigned int i;
+ struct volk_machine *max_machine = NULL;
for(i=0; i<n_volk_machines; i++) {
if(!(volk_machines[i]->caps & (~volk_get_lvarch()))) {
if(volk_machines[i]->caps > max_score) {
max_score = volk_machines[i]->caps;
- machine = volk_machines[i];
+ max_machine = volk_machines[i];
}
}
}
+ machine = max_machine;
return machine->name;
}
}
- [Commit-gnuradio] [gnuradio] branch master updated (300f5fb -> 19d111e), git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 01/06: gr-uhd: add option to uhd_rx_cfile to write metadata file., git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 02/06: Merge branch 'maint', git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 06/06: volk: remove unused spu_lib directory from VOLK., git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 05/06: cmake: fixed ICE 3.4 version check for GCC < 4.7., git, 2014/01/28
- [Commit-gnuradio] [gnuradio] 03/06: volk: follow-up to commit cb4142d45 for added volk_get_machine function on master.,
git <=
- [Commit-gnuradio] [gnuradio] 04/06: Merge remote-tracking branch 'stiabhan/uhd_rx_cfile', git, 2014/01/28