Skip to content

Commit

Permalink
Merge pull request halide#2490 from halide/update-matmul
Browse files Browse the repository at this point in the history
Update hexagon_matmul to recent generator changes

Former-commit-id: 7fd49ef [formerly 3af2386]
Former-commit-id: 6edb2d6
  • Loading branch information
abadams authored Oct 28, 2017
2 parents f964a53 + 6b74d95 commit cde9b74
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions apps/hexagon_matmul/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

#include "halide_benchmark.h"

#include "pipeline_cpu.h"
#include "pipeline_hvx64.h"
#include "pipeline_hvx128.h"
#include "matmul_cpu.h"
#include "matmul_hvx64.h"
#include "matmul_hvx128.h"

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

int (*pipeline)(halide_buffer_t *, halide_buffer_t*, halide_buffer_t*);
if (strcmp(argv[1], "cpu") == 0) {
pipeline = pipeline_cpu;
pipeline = matmul_cpu;
printf("Using CPU schedule\n");
} else if (strcmp(argv[1], "hvx64") == 0) {
pipeline = pipeline_hvx64;
pipeline = matmul_hvx64;
printf("Using HVX 64 schedule\n");
} else if (strcmp(argv[1], "hvx128") == 0) {
pipeline = pipeline_hvx128;
pipeline = matmul_hvx128;
printf("Using HVX 128 schedule\n");
} else {
printf("Unknown schedule, valid schedules are cpu, hvx64, or hvx128\n");
Expand Down

0 comments on commit cde9b74

Please sign in to comment.