 }
 
 
+#ifndef THRUST_DEBUG_CUDA_MERGE_SORT
+
 void TestMergeSortKeySimple(void)
 {
     typedef thrust::device_vector<int> Vector;

}
DECLARE_UNITTEST(TestMergeSortByKeyUnalignedSimple);

#endif // THRUST_DEVICE_BACKEND == THRUST_DEVICE_BACKEND_CUDA


#endif
{
#ifdef THRUST_DEBUG_CUDA_MERGE_SORT

// XXX these work
//    const size_t n = 30000;
//    const size_t n = 32500;
//    const size_t n = 32750;
//    const size_t n = 32764;
//    const size_t n = 32765;
//    const size_t n = 32768;

// XXX these fail
      const size_t n = 32769;
//    const size_t n = 32770;
//    const size_t n = 32775;
//    const size_t n = 32800;
//    const size_t n = 32850;
//    const size_t n = 33000;
//    const size_t n = 33750;
//    const size_t n = 35000;
//    const size_t n = 40000;
//    const size_t n = 60000;
    typedef int T;
#endif

