diff options
author | Nick Foster <nick@ettus.com> | 2011-05-11 21:45:03 -0700 |
---|---|---|
committer | Nick Foster <nick@ettus.com> | 2011-05-11 21:45:03 -0700 |
commit | b50dbc4498842fecd7f0c6adc22f25726f8d27d3 (patch) | |
tree | f47590beea8d78ba9b9c16baa5fcff8ab5fc1eae /volk/gen/make_c.py | |
parent | e3997ada93a25569a05bbfd615d73d00cee6eca5 (diff) |
Volk: Profiler is in apps/ now. Added name to function info. Going to C++-ify the whole thing.
Diffstat (limited to 'volk/gen/make_c.py')
-rw-r--r-- | volk/gen/make_c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/volk/gen/make_c.py b/volk/gen/make_c.py index 4e67f31ff2..11b614644b 100644 --- a/volk/gen/make_c.py +++ b/volk/gen/make_c.py @@ -82,7 +82,7 @@ static unsigned int get_index(const char *indices[], unsigned int n_archs, const for i in range(len(functions)): tempstring += "void get_" + functions[i] + replace_arch.sub("", arched_arglist[i]) + "\n" - tempstring += " %s = get_machine()->%s_archs[volk_rank_archs(get_machine()->%s_arch_defs, get_machine()->%s_n_archs, volk_get_lvarch())];\n" % (functions[i], functions[i], functions[i], functions[i]) + tempstring += " %s = get_machine()->%s_archs[volk_rank_archs(get_machine()->%s_arch_defs, get_machine()->%s_n_archs, get_machine()->%s_name, volk_get_lvarch())];\n" % (functions[i], functions[i], functions[i], functions[i], functions[i]) tempstring += " %s(%s);\n}\n\n" % (functions[i], my_arglist[i]) tempstring += replace_volk.sub("p", functions[i]) + " " + functions[i] + " = &get_" + functions[i] + ";\n\n" tempstring += "void %s_manual%s\n" % (functions[i], arched_arglist[i]) |