Example #1
0
def create_one_bench(tb_name, fct_name, mode, simd_type):
    print("tb %s -> fct -> %s with %s mode -> simd_type %s" %
          (tb_name, fct_name, mode, simd_type))
    bg = Base_gen(tb_name, fct_name, mode)
    ##    print(bg.get_module_style(tb_name))
    bbg = Bench_gen(bg, simd_type)
    return bbg.get_gen_result()
Example #2
0
def create_one_bench(tb_name,
                     fct_name,
                     mode) :
    print("tb %s fct %s with %s mode"%(tb_name,fct_name,mode))
    bg = Base_gen(tb_name,fct_name,mode)
    print(bg.get_module_style(tb_name))
    bbg =  Bench_gen(bg)
    return bbg.get_gen_result()
Example #3
0
def create_one_bench(tb_name,
                     fct_name,
                     mode,
                     simd_type) :
    print("tb %s -> fct -> %s with %s mode -> simd_type %s"%(tb_name,fct_name,mode,simd_type))
    bg = Base_gen(tb_name,fct_name,mode)
##    print(bg.get_module_style(tb_name))
    bbg =  Bench_gen(bg,simd_type)
    return bbg.get_gen_result()