Merge topic 'renar_warnings'
28ab480a Fix warnings on renar. Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robert.maynard@kitware.com> Merge-request: !937
This commit is contained in:
commit
70f294aeec
@ -83,8 +83,12 @@ public:
|
|||||||
}
|
}
|
||||||
VTKM_CONT ~DeviceAdapterTimerImplementation()
|
VTKM_CONT ~DeviceAdapterTimerImplementation()
|
||||||
{
|
{
|
||||||
VTKM_CUDA_CALL(cudaEventDestroy(this->StartEvent));
|
// These aren't wrapped in VTKM_CUDA_CALL because we can't throw errors
|
||||||
VTKM_CUDA_CALL(cudaEventDestroy(this->EndEvent));
|
// from destructors. We're relying on cudaGetLastError in the
|
||||||
|
// VTKM_CUDA_CHECK_ASYNCHRONOUS_ERROR catching any issues from these calls
|
||||||
|
// later.
|
||||||
|
cudaEventDestroy(this->StartEvent);
|
||||||
|
cudaEventDestroy(this->EndEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
VTKM_CONT void Reset()
|
VTKM_CONT void Reset()
|
||||||
|
Loading…
Reference in New Issue
Block a user