Esempio n. 1
0
def test_trace_mat_mat():
    auto_test_target_function(
        "./kaldi-new-bug/new-func.ll", "@_Z20_trace_mat_mat_transPKfS0_iiiiPf",
        {
            "global": None,
            "shared": "@_ZZ20_trace_mat_mat_transPKfS0_iiiiPfE4ssum"
        })
Esempio n. 2
0
def test_device_global_repaired():
    auto_test_target_function("./read_write_test_repaired.ll",
                              "@_Z13device_globalPji", {
                                  "global": "%input_array",
                                  "shared": None
                              },
                              fixed_dimension=[(1, 1, 1), (5, 1, 1)],
                              used_default_dimension=True)
Esempio n. 3
0
def test_arrayfire_reduce():
    auto_test_target_function("./arrayfire-repair/reduce-repair.ll",
                              "@_Z11warp_reducePd", {
                                  "global": "%s_ptr",
                                  "shared": None
                              },
                              fixed_dimension=[(1, 1, 1), (34, 3, 1)],
                              used_default_dimension=True)
Esempio n. 4
0
def test_convnet2_kTile():
    auto_test_target_function("./cuda-convnet2-new-bug/new-func.ll",
                              "@_Z5kTilePKfPfjjjj", {
                                  "global": "%tgt",
                                  "shared": None
                              },
                              fixed_dimension=[(2, 2, 1), (3, 1, 1)],
                              used_default_dimension=True)
Esempio n. 5
0
def test_gunrock_join():
    auto_test_target_function("./gunrock/new-func2.ll",
                              "@_Z4JoinPKiS0_PiS0_S0_S0_S1_S1_", {
                                  "global": "%froms_out",
                                  "shared": None
                              },
                              fixed_dimension=[(4, 1, 1), (33, 1, 1)],
                              used_default_dimension=True)
Esempio n. 6
0
def test_convenet2_kDotProduct():
    auto_test_target_function("./cuda-convnet2-new-bug/new-func.ll",
                              "@_Z13kDotProduct_rPfS_S_j", {
                                  "global": None,
                                  "shared": "@_ZZ13kDotProduct_rPfS_S_jE5shmem"
                              },
                              fixed_dimension=[(2, 1, 1), (3, 3, 1)],
                              used_default_dimension=True)
Esempio n. 7
0
def test_kaldi_add_diag():
    auto_test_target_function(
        "./kaldi-repair/_add_diag_mat.ll",
        "@_Z17_add_diag_mat_matdPdiPKdiiiS1_iid", {
            "global": None,
            "shared": "@_ZZ17_add_diag_mat_matdPdiPKdiiiS1_iidE9temp_data"
        },
        fixed_dimension=[(1, 1, 1), (128, 1, 1)],
        used_default_dimension=True)
Esempio n. 8
0
def test_thundersvm_nu_smo_solve_kernel():
    auto_test_target_function(
        "./thundersvm-repair/smo_kernel.ll",
        "@_Z19nu_smo_solve_kernelPKiPfS1_S1_S0_ifPKfS3_ifS1_", {
            "global":
            None,
            "shared":
            "@_ZZ19nu_smo_solve_kernelPKiPfS1_S1_S0_ifPKfS3_ifS1_E10shared_mem"
        },
        used_default_dimension=True)
Esempio n. 9
0
def test_thundersvm_c_smo_solve_kernel():
    auto_test_target_function(
        "./thundersvm-new-bug/new-fun.ll",
        "@_Z18c_smo_solve_kernelPKiPfS1_S1_S0_iffPKfS3_ifS1_i", {
            "global":
            "%alpha",
            "shared":
            "@_ZZ18c_smo_solve_kernelPKiPfS1_S1_S0_iffPKfS3_ifS1_iE10shared_mem"
        },
        used_default_dimension=True)
Esempio n. 10
0
def test_colonel():
    auto_test_target_function(
        "./conel.ll",
        "@_Z7colonelPi",
        {
            "global": "%in",
            "shared": None
            # })
        },
        fixed_dimension=[(1, 1, 1), (52, 1, 1)],
        used_default_dimension=True)
Esempio n. 11
0
def test_copy_from_tp():
    auto_test_target_function("./kaldi-new-bug/new-func.ll",
                              "@_Z13_copy_from_tpPfPKfiii", {
                                  "global": "%A",
                                  "shared": None
                              })
Esempio n. 12
0
def test_device_global():
    auto_test_target_function("./read_write_test.ll", "@_Z13device_globalPji",
                              {
                                  "global": "%input_array",
                                  "shared": None
                              })
Esempio n. 13
0
def test_add_diag_vec_mat():
    auto_test_target_function("./kaldi-new-bug/new-func.ll",
                              "@_Z17_add_diag_vec_matfPfiiiPKfS1_iif", {
                                  "global": "%mat",
                                  "shared": None
                              })
Esempio n. 14
0
def test_copy_upp_low():
    auto_test_target_function("./kaldi-new-bug/new-func.ll",
                              "@_Z13_copy_upp_lowPfii", {
                                  "global": "%A",
                                  "shared": None
                              })
Esempio n. 15
0
def test_gunrock_join2():
    auto_test_target_function("./gunrock/new-func2.ll",
                              "@_Z4JoinPKiS0_PiS0_S0_S0_S1_S1_", {
                                  "global": "%froms_out",
                                  "shared": None
                              })
Esempio n. 16
0
def test_copy_from_mat():
    auto_test_target_function("./kaldi-new-bug/new-func.ll",
                              "@_Z14_copy_from_matPfPKfiiii", {
                                  "global": "%mat_out",
                                  "shared": None
                              })
Esempio n. 17
0
def test_splice():
    auto_test_target_function("./kaldi-new-bug/new-func.ll",
                              "@_Z7_splicePfPKfPKiiiiiii", {
                                  "global": "%y",
                                  "shared": None
                              })
Esempio n. 18
0
def test_device_global():
    auto_test_target_function(ProgramFile("./read_write_test.ll", "@_Z13device_globalPji"))