Exemplo n.º 1
0
def test_arrayfire_scan_dim_nofinal_kernel():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/scan_dim_by_key_impl.ll",
        "@_Z24scan_dim_nonfinal_kerneljjj", {
            "global": None,
            "shared": "@_ZZ24scan_dim_nonfinal_kerneljjjE6s_ftmp"
        })
Exemplo n.º 2
0
def test_gklee_test_barrier3():
    auto_test_target_function_dynamical("./gklee-test-repair/barrier3.ll",
                                        "@_Z2dlPi", {
                                            "global": "%in",
                                            "shared": None,
                                        },
                                        fixed_dimension=[(1, 1, 1),
                                                         (64, 1, 1)],
                                        used_default_dimension=True)
Exemplo n.º 3
0
def test_arrayfire_reduce1():
    auto_test_target_function_dynamical("./arrayfire-repair/reduce1.ll",
                                        "@_Z11warp_reducePiPj", {
                                            "global": "%s_ptr",
                                            "shared": None
                                        },
                                        fixed_dimension=[(1, 1, 1),
                                                         (34, 1, 1)],
                                        used_default_dimension=True)
Exemplo n.º 4
0
def test_arrayfire_hamming_matcher_unroll_2():
    auto_test_target_function_dynamical("./arrayfire-repair/hamming5.ll",
                                        "@_Z22hamming_matcher_unrollPjS_jj", {
                                            "global": "%out_idx",
                                            "shared": None
                                        },
                                        fixed_dimension=[(1, 1, 1),
                                                         (36, 1, 1)],
                                        used_default_dimension=True)
Exemplo n.º 5
0
def test_arrayfire_compute_val_homography():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/homography.ll",
        "@_Z21computeEvalHomographyjjjf", {
            "global": None,
            "shared": "@_ZZ21computeEvalHomographyjjjfE5s_idx"
        },
        fixed_dimension=[(1, 1, 1), (128, 1, 1)],
        used_default_dimension=True)
Exemplo n.º 6
0
def test_arrayfire_scan_nofinal_kernel():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/scan_first_by_key_impl.ll",
        "@_Z20scan_nonfinal_kerneljjj", {
            "global": None,
            "shared": "@_ZZ20scan_nonfinal_kerneljjjE6s_ftmp"
        },
        fixed_dimension=[(1, 1, 1), (5, 5, 1)],
        used_default_dimension=True)
Exemplo n.º 7
0
def test_arrayfire_JacobiSVD():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/JacobiSVD.ll",
        "@_Z9JacobiSVDPiS_ii", {
            "global": None,
            "shared": "@_ZZ9JacobiSVDPiS_iiE3s_S"
        },
        fixed_dimension=[(1, 1, 1), (3, 3, 1)],
        used_default_dimension=True)
Exemplo n.º 8
0
def test_arrayfire_hamming_matcher_1():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/hamming2.ll",
        "@_Z15hamming_matcherPjS_jj", {
            "global": None,
            "shared": "@_ZZ15hamming_matcherPjS_jjE6s_dist"
        },
        fixed_dimension=[(1, 1, 1), (36, 1, 1)],
        used_default_dimension=True)
Exemplo n.º 9
0
def test_arrayfire_scan_dim():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/scan_dim.ll",
        "@_Z15scan_dim_kerneljjjj", {
            "global": None,
            "shared": "@_ZZ15scan_dim_kerneljjjjE5s_tmp"
        },
        fixed_dimension=[(2, 1, 1), (5, 5, 1)],
        used_default_dimension=True)
Exemplo n.º 10
0
def test_arrayfire_hamming_matcher_2():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/hamming3.ll",
        "@_Z15hamming_matcherPjS_jj", {
            "global": None,
            "shared": "@_ZZ15hamming_matcherPjS_jjE6s_dist"
        },
        fixed_dimension=[(1, 1, 1), (36, 1, 1)],
        used_default_dimension=True,
        initial_function=dummy_data_for_shared_memory_hamming3)
Exemplo n.º 11
0
def test_arrayfire_descriptor():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/Descriptor-first.ll",
        "@_Z17computeDescriptorPfjjPKfS1_PKjS1_S1_S1_jiiffi", {
            "global":
            None,
            "shared":
            "@_ZZ17computeDescriptorPfjjPKfS1_PKjS1_S1_S1_jiiffiE7shrdMem"
        },
        fixed_dimension=[(1, 1, 1), (3, 10, 1)],
        used_default_dimension=True)
Exemplo n.º 12
0
def test_arrayfire_select_matches():
    auto_test_target_function_dynamical("./arrayfire-repair/select_matches.ll",
                                        "@_Z14select_matchesPKjPKijji", {
                                            "global": "%in_idx",
                                            "shared": None
                                        })
Exemplo n.º 13
0
def test_arrayfire_JacobiSVD():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/JacobiSVD.ll", "@_Z9JacobiSVDPiS_ii", {
            "global": None,
            "shared": "@_ZZ9JacobiSVDPiS_iiE3s_S"
        })
Exemplo n.º 14
0
def test_arrayfire_hamming_matcher_2():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/hamming3.ll", "@_Z15hamming_matcherPjS_jj", {
            "global": None,
            "shared": "@_ZZ15hamming_matcherPjS_jjE6s_dist"
        })
Exemplo n.º 15
0
def test_arrayfire_scan_dim():
    auto_test_target_function_dynamical(
        "./arrayfire-repair/scan_dim.ll", "@_Z15scan_dim_kerneljjjj", {
            "global": None,
            "shared": "@_ZZ15scan_dim_kerneljjjjE5s_tmp"
        })
Exemplo n.º 16
0
def test_gunrock_collect():
    auto_test_target_function_dynamical("./gunrock/gunrock1.ll",
                                        "@_Z7CollectiiPKiS0_S0_PiS1_S1_S1_", {
                                            "global": "%pos",
                                            "shared": None
                                        })