From 22dfb4776ee4672f658af4ab615bc6cd4579cdae Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Fri, 9 Oct 2020 10:11:24 -0400 Subject: [PATCH] Remove unused functions from TestingDeviceAdapter --- vtkm/cont/testing/TestingDeviceAdapter.h | 32 ------------------------ 1 file changed, 32 deletions(-) diff --git a/vtkm/cont/testing/TestingDeviceAdapter.h b/vtkm/cont/testing/TestingDeviceAdapter.h index 530c21cdc..96f19919d 100644 --- a/vtkm/cont/testing/TestingDeviceAdapter.h +++ b/vtkm/cont/testing/TestingDeviceAdapter.h @@ -81,25 +81,6 @@ private: public: // Cuda kernels have to be public (in Cuda 4.0). - struct CopyArrayKernel - { - VTKM_CONT - CopyArrayKernel(const IdPortalConstType& input, const IdPortalType& output) - : InputArray(input) - , OutputArray(output) - { - } - - VTKM_EXEC void operator()(vtkm::Id index, const vtkm::exec::internal::ErrorMessageBuffer&) const - { - this->OutputArray.Set(index, this->InputArray.Get(index)); - } - - VTKM_CONT void SetErrorMessageBuffer(const vtkm::exec::internal::ErrorMessageBuffer&) {} - - IdPortalConstType InputArray; - IdPortalType OutputArray; - }; template struct GenericClearArrayKernel @@ -143,19 +124,6 @@ public: using ClearArrayKernel = GenericClearArrayKernel; - struct ClearArrayMapKernel //: public vtkm::exec::WorkletMapField - { - - // using ControlSignature = void(Field(Out)); - // using ExecutionSignature = void(_1); - - template - VTKM_EXEC void operator()(T& value) const - { - value = OFFSET; - } - }; - template struct AddArrayKernel {