 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;

template<typename Vector>
void TestUniqueByKeySimple(void)
{
    typedef typename Vector::value_type T;

    Vector keys;


        ASSERT_EQUAL(h_keys, d_keys);
        ASSERT_EQUAL(h_vals, d_vals);
#else
	KNOWN_FAILURE;
#endif //#if defined(__CUDACC__) && CUDA_VERSION!=3010
    }
};
VariableUnitTest<TestUniqueByKey, IntegralTypes> TestUniqueByKeyInstance;
