     z[2] = 0.0f;
     z[3] = 0.0f;
 
-    cusp::blas::xmy(view_x, view_y, view_z);
+    cusp::blas::xmy(View(x), View(y), View(z));
     
     ASSERT_EQUAL(z[0],   0.0f);
     ASSERT_EQUAL(z[1], -10.0f);


    ASSERT_EQUAL(cusp::blas::nrm1(x), 20.0f);
    
    ASSERT_EQUAL(cusp::blas::nrm1(view_x), 20.0f);
}
DECLARE_HOST_DEVICE_UNITTEST(TestNrm1);


    // TODO test complex types
    Array x(6);
    Array y(6);

    x[0] =  7.0f;   y[0] =  0.0f; 
    x[1] =  5.0f;   y[1] = -2.0f;
