From 7f823eba9b6a6e7d378b6ac0f3c6a73a3e8f44f2 Mon Sep 17 00:00:00 2001 From: yuchen-mei Date: Mon, 18 Nov 2024 18:04:22 -0800 Subject: [PATCH 1/2] make maxpooling smaller; put it forward in regression --- aha/util/application_parameters.json | 12 ++++++------ aha/util/regress_tests/tests.py | 5 +++-- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/aha/util/application_parameters.json b/aha/util/application_parameters.json index e5a8e960..9c270016 100644 --- a/aha/util/application_parameters.json +++ b/aha/util/application_parameters.json @@ -122,18 +122,18 @@ }, "apps/maxpooling":{ "default":{ - "HALIDE_GEN_ARGS":"in_img=114 ksize=3 stride=2 n_ic=112 unroll=14", + "HALIDE_GEN_ARGS":"in_img=58 ksize=3 stride=2 n_ic=56 unroll=7", "HL_TARGET":"host-x86-64", "DISABLE_GP":"1", "PNR_PLACER_EXP":"15" }, "fastest":{ - "HALIDE_GEN_ARGS":"in_img=114 ksize=3 stride=2 n_ic=112 unroll=14", + "HALIDE_GEN_ARGS":"in_img=58 ksize=3 stride=2 n_ic=56 unroll=7", "HL_TARGET":"host-x86-64", "DISABLE_GP":"1" }, "sweep":{ - "HALIDE_GEN_ARGS":"in_img=114 ksize=3 stride=2 n_ic=112 unroll=14", + "HALIDE_GEN_ARGS":"in_img=58 ksize=3 stride=2 n_ic=56 unroll=7", "HL_TARGET":"host-x86-64", "DISABLE_GP":"1", "SWEEP_PNR_PLACER_EXP":"1" @@ -141,18 +141,18 @@ }, "apps/maxpooling_fp":{ "default":{ - "HALIDE_GEN_ARGS":"in_img=57 ksize=3 stride=2 n_ic=56 unroll=14", + "HALIDE_GEN_ARGS":"in_img=29 ksize=3 stride=2 n_ic=28 unroll=7", "HL_TARGET":"host-x86-64-bfloat_hardware", "DISABLE_GP":"1", "PNR_PLACER_EXP":"6" }, "fastest":{ - "HALIDE_GEN_ARGS":"in_img=57 ksize=3 stride=2 n_ic=56 unroll=14", + "HALIDE_GEN_ARGS":"in_img=29 ksize=3 stride=2 n_ic=28 unroll=7", "HL_TARGET":"host-x86-64-bfloat_hardware", "DISABLE_GP":"1" }, "sweep":{ - "HALIDE_GEN_ARGS":"in_img=57 ksize=3 stride=2 n_ic=56 unroll=14", + "HALIDE_GEN_ARGS":"in_img=29 ksize=3 stride=2 n_ic=28 unroll=7", "HL_TARGET":"host-x86-64-bfloat_hardware", "DISABLE_GP":"1", "SWEEP_PNR_PLACER_EXP":"1" diff --git a/aha/util/regress_tests/tests.py b/aha/util/regress_tests/tests.py index 18a8b63a..1d490aec 100644 --- a/aha/util/regress_tests/tests.py +++ b/aha/util/regress_tests/tests.py @@ -60,6 +60,7 @@ def __init__(self, testname): "tensor3_ttv", ] glb_tests = [ + "apps/maxpooling", "apps/pointwise", "apps/gaussian", "apps/camera_pipeline_2x2", @@ -207,6 +208,7 @@ def __init__(self, testname): ] glb_tests = [ + "apps/maxpooling", "apps/pointwise", "tests/rom", "tests/arith", @@ -231,15 +233,14 @@ def __init__(self, testname): "apps/unsharp", "apps/harris_color", "apps/camera_pipeline_2x2", - "apps/maxpooling", "apps/matrix_multiplication" ] glb_tests_fp = [ + "apps/maxpooling_fp", "tests/fp_pointwise", "tests/fp_arith", "tests/fp_comp", "tests/fp_conv_7_7", - "apps/maxpooling_fp", "apps/matrix_multiplication_fp", "apps/mcunet_in_sequential_0_fp", "apps/depthwise_conv_stream_fp", From 8c42f8d7370543ed501ca09551bfe756299ebb05 Mon Sep 17 00:00:00 2001 From: yuchen-mei Date: Mon, 18 Nov 2024 19:17:33 -0800 Subject: [PATCH 2/2] bump garnet --- garnet | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/garnet b/garnet index 7ad29952..e4355c42 160000 --- a/garnet +++ b/garnet @@ -1 +1 @@ -Subproject commit 7ad299522ec6df4a1e13c7331b7385fbfb69b397 +Subproject commit e4355c420161f81a6f30366973d25a5891794b84