Refactor RuntimeDeviceTracker
1 unresolved thread
1 unresolved thread
Compare changes
+ 23
− 56
@@ -13,6 +13,7 @@
@@ -28,39 +29,11 @@ namespace detail
@@ -99,7 +72,7 @@ bool RuntimeDeviceTracker::CanRunOn(vtkm::cont::DeviceAdapterId deviceId) const
@@ -109,14 +82,14 @@ bool RuntimeDeviceTracker::CanRunOn(vtkm::cont::DeviceAdapterId deviceId) const
@@ -124,13 +97,13 @@ void RuntimeDeviceTracker::SetDeviceState(vtkm::cont::DeviceAdapterId deviceId,
@@ -163,7 +136,7 @@ void RuntimeDeviceTracker::Reset()
@@ -203,14 +176,14 @@ void RuntimeDeviceTracker::ForceDevice(DeviceAdapterId deviceId)
@@ -247,13 +220,19 @@ void RuntimeDeviceTracker::LogEnabledDevices() const
@@ -273,11 +252,8 @@ ScopedRuntimeDeviceTracker::ScopedRuntimeDeviceTracker(
@@ -292,20 +268,11 @@ ScopedRuntimeDeviceTracker::ScopedRuntimeDeviceTracker(