     cudaThreadExit();
   }
 
+  std::cout << cudaGetErrorString(cudaGetLastError()) << std::endl;
+
   ASSERT_EQUAL(true,caught_exception);
 }
 DECLARE_UNITTEST(TestTransformNullPtr);
 
 void TestReduceNullPtr(void)
 {
+#if defined(__APPLE__)
+  KNOWN_FAILURE;
+#endif
+
   thrust::device_ptr<int> ptr = thrust::device_pointer_cast<int>(0);
 
   bool caught_exception = false;


void TestTransformNullPtr(void)
{
  thrust::device_ptr<int> ptr = thrust::device_pointer_cast<int>(0);

  bool caught_exception = false;


void TestExclusiveScanNullPtr(void)
{
#if defined(__APPLE__)
  KNOWN_FAILURE;
#endif

  thrust::device_ptr<int> ptr = thrust::device_pointer_cast<int>(0);

  bool caught_exception = false;
