packages/CudaUtils/cuda_utils/Hardware.cc
//---------------------------------------------------------------------------//
/*!
 * \brief Ensure asynchronous copies/kernel launches are complete
 *
 * This will raise a profugus::assertion if any Cuda issues are encountered.
 */
\brief Ensure asynchronous copies/kernel launches are complete
This will raise a profugus::assertion if any Cuda issues are encountered.
\ brief Ensure asynchronous copies / kernel launches are complete This will raise a profugus :: assertion if any Cuda issues are encountered .
void Hardware<Device>::synchronize()
{
#ifdef USE_CUDA
    CudaCall(cudaDeviceSynchronize());
#else 
    INSIST(false, "CUDA is disabled in this build.");
#endif 
}
void Hardware < Device > :: synchronize ( ) { #ifdef USE_CUDA CudaCall ( cudaDeviceSynchronize ( ) ) ; #else INSIST ( false , " " ) ; #endif }
\brief Ensure asynchronous copies/kernel launches are complete
 This will raise a profugus::assertion if any Cuda issues are encountered.
\ brief Ensure asynchronous copies / kernel launches are complete This will raise a profugus :: assertion if any Cuda issues are encountered .
// USE_CUDA disabled //USE_CUDA