-
- Downloads
Add RuntimeDeviceTracker::CopyState
It is sometimes the case that you want to copy the state of one `RuntimeDeviceTracker` to another. This is particularly the case when creating threads in the control environment. Each thread has its own copy of `RuntimeDeviceTracker`, so when you spawn a thread you probably want to copy the state of the tracker from the calling thread.
parent
bf6d6ca5
Branches
Tags
Showing
- vtkm/cont/RuntimeDeviceTracker.cxx 7 additions, 0 deletionsvtkm/cont/RuntimeDeviceTracker.cxx
- vtkm/cont/RuntimeDeviceTracker.h 9 additions, 2 deletionsvtkm/cont/RuntimeDeviceTracker.h
- vtkm/cont/testing/UnitTestScopedRuntimeDeviceTracker.cxx 20 additions, 4 deletionsvtkm/cont/testing/UnitTestScopedRuntimeDeviceTracker.cxx
Loading