Skip to content

Commit cde9b74

Browse files
authored
Merge pull request #2490 from halide/update-matmul
Update hexagon_matmul to recent generator changes Former-commit-id: 7fd49ef [formerly 3af2386] Former-commit-id: 6edb2d6
2 parents f964a53 + 6b74d95 commit cde9b74

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

apps/hexagon_matmul/process.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
#include "halide_benchmark.h"
88

9-
#include "pipeline_cpu.h"
10-
#include "pipeline_hvx64.h"
11-
#include "pipeline_hvx128.h"
9+
#include "matmul_cpu.h"
10+
#include "matmul_hvx64.h"
11+
#include "matmul_hvx128.h"
1212

1313
#include "HalideRuntimeHexagonHost.h"
1414
#include "HalideBuffer.h"
@@ -28,13 +28,13 @@ int main(int argc, char **argv) {
2828

2929
int (*pipeline)(halide_buffer_t *, halide_buffer_t*, halide_buffer_t*);
3030
if (strcmp(argv[1], "cpu") == 0) {
31-
pipeline = pipeline_cpu;
31+
pipeline = matmul_cpu;
3232
printf("Using CPU schedule\n");
3333
} else if (strcmp(argv[1], "hvx64") == 0) {
34-
pipeline = pipeline_hvx64;
34+
pipeline = matmul_hvx64;
3535
printf("Using HVX 64 schedule\n");
3636
} else if (strcmp(argv[1], "hvx128") == 0) {
37-
pipeline = pipeline_hvx128;
37+
pipeline = matmul_hvx128;
3838
printf("Using HVX 128 schedule\n");
3939
} else {
4040
printf("Unknown schedule, valid schedules are cpu, hvx64, or hvx128\n");

0 commit comments

Comments
 (0)