#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;
}

#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;
}

--- 
+++ 
@@ -7,8 +7,7 @@
 
 int main(int argc, char **argv) {
   Target target;
-  setupHexagonTarget(target);
-  target.set_feature(Target::HVX_64);
+  setupHexagonTarget(target, Target::HVX_64);
   //CHECK: call{{.*}}@llvm.hexagon.V6.vd0
   testBzero<uint32_t>(target);
 
Fix error in setting both HVX_64 and HVX_128 at same time
