#include <Halide.h>
#include "vzero.h"
#include <stdio.h>
using namespace Halide;

// RUN: rm -f vzero.stdout; ./vzero.out; llvm-dis -o vzero.stdout vzero.bc; FileCheck %s < vzero.stdout

int main(int argc, char **argv) {
  Target target;
  setupHexagonTarget(target);
  target.set_feature(Target::HVX_64);
  //CHECK: call{{.*}}@llvm.hexagon.V6.vd0
  testBzero<uint32_t>(target);

  printf ("Done\n");

  return 0;
}

#include <Halide.h>
#include "vzero.h"
#include <stdio.h>
using namespace Halide;

// RUN: rm -f vzero.stdout; ./vzero.out; llvm-dis -o vzero.stdout vzero.bc; FileCheck %s < vzero.stdout

int main(int argc, char **argv) {
  Target target;
  setupHexagonTarget(target, Target::HVX_64);
  //CHECK: call{{.*}}@llvm.hexagon.V6.vd0
  testBzero<uint32_t>(target);

  printf ("Done\n");

  return 0;
}

Fix error in setting both HVX_64 and HVX_128 at same time
Fix error in setting both HVX_64 and HVX_128 at same time


Former-commit-id: 702e785ff0c32457d741a46c15fa48b650cf9227