message: COMP: fix NULL smart pointers in CudaKernelManager
diff: @@ -112,7 +112,7 @@ bool CudaKernelManager::PushKernelArg(int kernelIdx, const void* argVal)
  m_KernelArgumentReady[kernelIdx].resize(argIdx+1);
  m_KernelArgumentReady[kernelIdx][argIdx].m_Arg = argVal;
  m_KernelArgumentReady[kernelIdx][argIdx].m_IsReady = true;
  - m_KernelArgumentReady[kernelIdx][argIdx].m_CudaDataManager = ITK_NULLPTR;
  + m_KernelArgumentReady[kernelIdx][argIdx].m_CudaDataManager = (CudaDataManager *)ITK_NULLPTR;
  return true;
  }
  @@ -124,7 +124,7 @@ bool CudaKernelManager::SetKernelArg(int kernelIdx, int argIdx, size_t itkNotUse
  m_KernelArgumentReady[kernelIdx].resize(argIdx+1);
  m_KernelArgumentReady[kernelIdx][argIdx].m_Arg = argVal;
  m_KernelArgumentReady[kernelIdx][argIdx].m_IsReady = true;
  - m_KernelArgumentReady[kernelIdx][argIdx].m_CudaDataManager = ITK_NULLPTR;
  + m_KernelArgumentReady[kernelIdx][argIdx].m_CudaDataManager = (CudaDataManager *)ITK_NULLPTR;
  return true;
  }
  @@ -153,7 +153,7 @@ bool CudaKernelManager::CheckArgumentReady(int kernelIdx)
  if (!(m_KernelArgumentReady[kernelIdx][i].m_IsReady)) return false;
  // automatic synchronization before kernel launch
  - if (m_KernelArgumentReady[kernelIdx][i].m_CudaDataManager != ITK_NULLPTR)
  + if ( m_KernelArgumentReady[kernelIdx][i].m_CudaDataManager.IsNotNull() )
  {
  m_KernelArgumentReady[kernelIdx][i].m_CudaDataManager->SetCPUBufferDirty();
  }
  @@ -175,7 +175,7 @@ void CudaKernelManager::ResetArguments(int kernelIdx)
  for (int i = 0; i < nArg; i++)
  {
  m_KernelArgumentReady[kernelIdx][i].m_IsReady = false;
  - m_KernelArgumentReady[kernelIdx][i].m_CudaDataManager = ITK_NULLPTR;
  + m_KernelArgumentReady[kernelIdx][i].m_CudaDataManager = (CudaDataManager *)ITK_NULLPTR;
  }
  }
  