 {
     void operator()(const size_t n)
     {
+// XXX disable tests on 3.1
+#if defined(__CUDACC__) && CUDA_VERSION!=3010
         typedef unsigned int V; // ValueType
 
         thrust::host_vector<K>   h_keys = unittest::random_integers<bool>(n);

{
    void operator()(const size_t n)
    {
        typedef unsigned int V; // ValueType

        thrust::host_vector<K>   h_keys = unittest::random_integers<bool>(n);

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

    Vector keys;
