Skip to content

Commit ac56ca2

Browse files
committed
Gvsoc Small test
1 parent fa0cc37 commit ac56ca2

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

Deeploy/Targets/Generic/Templates/FloatMatMulTemplate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
${data_out_type.typeName} ref_${data_out}_${data_out} = ${data_out};
3333
3434
for(uint32_t i=0; i<${batch}; i++){
35-
MatMul_fp${A_type.referencedType.typeWidth}_fp${B_type.referencedType.typeWidth}_fp${data_out_type.referencedType.typeWidth}(
35+
MatMul_fp${A_type.referencedType.typeWidth}_fp${B_type.referencedType.typeWidth}_fp${data_out_type.referencedType.typeWidth}_Redmule(
3636
ref_${data_out}_${A},
3737
ref_${data_out}_${B},
3838
ref_${data_out}_${data_out},
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# ----------------------------------------------------------------------
2+
#
3+
# File: testRunner_tiled_siracusa_w_neureka.py
4+
#
5+
# Last edited: 08.05.2025
6+
#
7+
# Copyright (C) 2023, ETH Zurich and University of Bologna.
8+
#
9+
# Author: Run Wang, ETH Zurich
10+
#
11+
# ----------------------------------------------------------------------
12+
# SPDX-License-Identifier: Apache-2.0
13+
#
14+
# Licensed under the Apache License, Version 2.0 (the License); you may
15+
# not use this file except in compliance with the License.
16+
# You may obtain a copy of the License at
17+
#
18+
# www.apache.org/licenses/LICENSE-2.0
19+
#
20+
# Unless required by applicable law or agreed to in writing, software
21+
# distributed under the License is distributed on an AS IS BASIS, WITHOUT
22+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23+
# See the License for the specific language governing permissions and
24+
# limitations under the License.
25+
26+
from testUtils.testRunner import TestRunner, TestRunnerArgumentParser
27+
28+
if __name__ == "__main__":
29+
30+
parser = TestRunnerArgumentParser(
31+
tiling_arguments = True,
32+
description = "Deeploy Code Generation Utility for the Siracusa Platform (Tiling & NEureka).")
33+
34+
parser.add_argument('--cores',
35+
metavar = '<cores>',
36+
dest = 'cores',
37+
type = int,
38+
default = 1,
39+
help = 'Set number of cluster cores')
40+
args = parser.parse_args()
41+
42+
testRunner = TestRunner(platform = "Siracusa_w_redmule",
43+
simulator = "gvsoc",
44+
tiling = True,
45+
argument_parser = parser)
46+
47+
testRunner.cmake_args += f" -D NUM_CORES={args.cores}"
48+
49+
50+
testRunner.run()

0 commit comments

Comments
 (0)