{ if (verbose) std::cout << __LINE__ << std::endl; af::shared<IntType> a1(af::adapt(t1)); af::shared<IntType> a2(af::adapt(t2)); af::shared<FloatType> a3(af::adapt(t3)); af::shared<FloatType> a4(af::adapt(t4)); exercise_reductions(a1, a2, a3, a4); } { if (verbose) std::cout << __LINE__ << std::endl; af::versa<IntType> a1(af::adapt(t1)); af::versa<IntType> a2(af::adapt(t2)); af::versa<FloatType> a3(af::adapt(t3)); af::versa<FloatType> a4(af::adapt(t4)); exercise_reductions(a1, a2, a3, a4); }
    static void run()    {      af::tiny<IntType, 3> t1(0,1,2);      af::tiny<IntType, 3> t2(3,4,5);      af::tiny<FloatType, 3> t3(3,4,5);      af::tiny<FloatType, 3> t4(4,5,6);      {        if (verbose) std::cout << __LINE__ << std::endl;        exercise_reductions(t1, t2, t3, t4);      }      {        if (verbose) std::cout << __LINE__ << std::endl;        af::small<IntType, 3> a1(af::adapt(t1));        af::small<IntType, 3> a2(af::adapt(t2));        af::small<FloatType, 3> a3(af::adapt(t3));        af::small<FloatType, 3> a4(af::adapt(t4));        exercise_reductions(a1, a2, a3, a4);      }    }