     ASSERT_EQUAL(values[0], 0);
     ASSERT_EQUAL(values[1], 2);
     ASSERT_EQUAL(values[2], 7);
+#else
+	KNOWN_FAILURE;
+#endif //#if defined(__CUDACC__) && CUDA_VERSION!=3010
 }
 DECLARE_VECTOR_UNITTEST(TestUniqueByKeySimple);
 


        ASSERT_EQUAL(h_keys, d_keys);
        ASSERT_EQUAL(h_vals, d_vals);
    }
};
VariableUnitTest<TestUniqueByKey, IntegralTypes> TestUniqueByKeyInstance;

template<typename Vector>
void TestUniqueCopyByKeySimple(void)
{
// XXX disable tests on 3.1
#if defined(__CUDACC__) && CUDA_VERSION!=3010
    typedef typename Vector::value_type T;

    Vector keys;
