From cc6c707ca246808e4177607dda786a1f6c341e31 Mon Sep 17 00:00:00 2001 From: Tushar Athawale Date: Thu, 3 Feb 2022 15:01:59 -0500 Subject: [PATCH] slight modifications to supress ListTagBase warnings --- tutorial/tutorialExamples/CMakeLists.txt | 5 ++++- tutorial/tutorialExamples/tut_mag_grad.cxx | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/tutorial/tutorialExamples/CMakeLists.txt b/tutorial/tutorialExamples/CMakeLists.txt index c9a2807ec..1633bb580 100644 --- a/tutorial/tutorialExamples/CMakeLists.txt +++ b/tutorial/tutorialExamples/CMakeLists.txt @@ -46,14 +46,17 @@ add_executable(tut_extract_edges tut_extract_edges.cxx) target_link_libraries(tut_extract_edges vtkm_cont vtkm_filter vtkm_io) +set(tutorial_targets tut_io tut_contour tut_contour_2fields tut_2filters tut_mag_grad tut_error_handling tut_logging tut_point_to_cell tut_extract_edges) + set(tutorial_sources tut_io.cxx tut_contour.cxx tut_contour_2fields.cxx tut_2filters.cxx tut_mag_grad.cxx tut_error_handling.cxx tut_logging.cxx tut_point_to_cell.cxx tut_extract_edges.cxx) if (VTKm_ENABLE_RENDERING) list(APPEND tutorial_sources tut_rendering.cxx) + list(APPEND tutorial_targets tut_rendering) endif() -vtkm_add_target_information(tut_io tut_contour tut_contour_2fields tut_2filters tut_mag_grad tut_rendering tut_error_handling tut_logging tut_point_to_cell tut_extract_edges +vtkm_add_target_information(${tutorial_targets} DROP_UNUSED_SYMBOLS MODIFY_CUDA_FLAGS DEVICE_SOURCES diff --git a/tutorial/tutorialExamples/tut_mag_grad.cxx b/tutorial/tutorialExamples/tut_mag_grad.cxx index f531060f3..b6a4fd752 100644 --- a/tutorial/tutorialExamples/tut_mag_grad.cxx +++ b/tutorial/tutorialExamples/tut_mag_grad.cxx @@ -35,7 +35,7 @@ struct ComputeMagnitude : vtkm::worklet::WorkletMapField class FieldMagnitude : public vtkm::filter::FilterField { public: - using SupportedTypes = vtkm::ListTagBase; + using SupportedTypes = vtkm::List; template VTKM_CONT vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet& inDataSet,