|
1 | 1 | # Copyright (c) Meta Platforms, Inc. and affiliates.
|
2 |
| -# Copyright 2024-2025 Arm Limited and/or its affiliates. |
3 | 2 | # All rights reserved.
|
| 3 | +# Copyright 2024-2025 Arm Limited and/or its affiliates. |
4 | 4 | #
|
5 | 5 | # This source code is licensed under the BSD-style license found in the
|
6 | 6 | # LICENSE file in the root directory of this source tree.
|
@@ -106,79 +106,47 @@ def test_add_i32_tosa_BI(test_data: input_t1):
|
106 | 106 |
|
107 | 107 |
|
108 | 108 | @common.parametrize("test_data", Add.test_data)
|
| 109 | +@common.XfailIfNoCorstone300 |
109 | 110 | def test_add_u55_BI(test_data: input_t1):
|
110 |
| - pipeline = EthosU55PipelineBI[input_t1]( |
111 |
| - Add(), test_data, aten_op, exir_op, run_on_fvp=False |
112 |
| - ) |
113 |
| - pipeline.run() |
114 |
| - |
115 |
| - |
116 |
| -@common.parametrize("test_data", Add.test_data) |
117 |
| -def test_add_u85_BI(test_data: input_t1): |
118 |
| - pipeline = EthosU85PipelineBI[input_t1]( |
119 |
| - Add(), test_data, aten_op, exir_op, run_on_fvp=False |
120 |
| - ) |
121 |
| - pipeline.run() |
122 |
| - |
123 |
| - |
124 |
| -@common.parametrize("test_data", Add.test_data) |
125 |
| -@common.SkipIfNoCorstone300 |
126 |
| -def test_add_u55_BI_on_fvp(test_data: input_t1): |
127 | 111 | pipeline = EthosU55PipelineBI[input_t1](
|
128 | 112 | Add(), test_data, aten_op, exir_op, run_on_fvp=True
|
129 | 113 | )
|
130 | 114 | pipeline.run()
|
131 | 115 |
|
132 | 116 |
|
133 | 117 | @common.parametrize("test_data", Add.test_data)
|
134 |
| -@common.SkipIfNoCorstone320 |
135 |
| -def test_add_u85_BI_on_fvp(test_data: input_t1): |
| 118 | +@common.XfailIfNoCorstone320 |
| 119 | +def test_add_u85_BI(test_data: input_t1): |
136 | 120 | pipeline = EthosU85PipelineBI[input_t1](
|
137 | 121 | Add(), test_data, aten_op, exir_op, run_on_fvp=True
|
138 | 122 | )
|
139 | 123 | pipeline.run()
|
140 | 124 |
|
141 | 125 |
|
142 | 126 | @common.parametrize("test_data", Add2.test_data)
|
143 |
| -def test_add2_tosa_MI(test_data: input_t2): |
| 127 | +def test_add_2_tosa_MI(test_data: input_t2): |
144 | 128 | pipeline = TosaPipelineMI[input_t2](Add2(), test_data, aten_op, exir_op)
|
145 | 129 | pipeline.run()
|
146 | 130 |
|
147 | 131 |
|
148 | 132 | @common.parametrize("test_data", Add2.test_data)
|
149 |
| -def test_add2_tosa_BI(test_data: input_t2): |
| 133 | +def test_add_2_tosa_BI(test_data: input_t2): |
150 | 134 | pipeline = TosaPipelineBI[input_t2](Add2(), test_data, aten_op, exir_op)
|
151 | 135 | pipeline.run()
|
152 | 136 |
|
153 | 137 |
|
154 | 138 | @common.parametrize("test_data", Add2.test_data)
|
155 |
| -def test_add2_u55_BI(test_data: input_t2): |
156 |
| - pipeline = EthosU55PipelineBI[input_t2]( |
157 |
| - Add2(), test_data, aten_op, exir_op, run_on_fvp=False |
158 |
| - ) |
159 |
| - pipeline.run() |
160 |
| - |
161 |
| - |
162 |
| -@common.parametrize("test_data", Add2.test_data) |
163 |
| -@common.SkipIfNoCorstone300 |
164 |
| -def test_add2_u55_BI_on_fvp(test_data: input_t2): |
| 139 | +@common.XfailIfNoCorstone300 |
| 140 | +def test_add_2_u55_BI(test_data: input_t2): |
165 | 141 | pipeline = EthosU55PipelineBI[input_t2](
|
166 | 142 | Add2(), test_data, aten_op, exir_op, run_on_fvp=True
|
167 | 143 | )
|
168 | 144 | pipeline.run()
|
169 | 145 |
|
170 | 146 |
|
171 | 147 | @common.parametrize("test_data", Add2.test_data)
|
172 |
| -def test_add2_u85_BI(test_data: input_t2): |
173 |
| - pipeline = EthosU85PipelineBI[input_t2]( |
174 |
| - Add2(), test_data, aten_op, exir_op, run_on_fvp=False |
175 |
| - ) |
176 |
| - pipeline.run() |
177 |
| - |
178 |
| - |
179 |
| -@common.parametrize("test_data", Add2.test_data) |
180 |
| -@common.SkipIfNoCorstone320 |
181 |
| -def test_add2_u85_BI_on_fvp(test_data: input_t2): |
| 148 | +@common.XfailIfNoCorstone320 |
| 149 | +def test_add_2_u85_BI(test_data: input_t2): |
182 | 150 | pipeline = EthosU85PipelineBI[input_t2](
|
183 | 151 | Add2(), test_data, aten_op, exir_op, run_on_fvp=True
|
184 | 152 | )
|
|
0 commit comments