From 728ca6366f0b164de7ef2f48bed6f9301647d98a Mon Sep 17 00:00:00 2001 From: Kenneth Moreland Date: Sun, 9 Jul 2023 19:52:35 -0400 Subject: [PATCH] Compile CompositeVectors filter with regular compiler The CompositeVectors filter does not run any worklet of its own. It uses precompiled array manipulation and copies for its implementation. It shouldn't matter if a device compiler is used. (It should be a quick compile.) But for some reason the nvcc compiler was choking on an `auto`. Rather than figure out why nvcc is barfing, I just stopped using it for this file. --- vtkm/filter/field_transform/CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vtkm/filter/field_transform/CMakeLists.txt b/vtkm/filter/field_transform/CMakeLists.txt index b079a7c78..ae4dc59ad 100644 --- a/vtkm/filter/field_transform/CMakeLists.txt +++ b/vtkm/filter/field_transform/CMakeLists.txt @@ -8,28 +8,31 @@ ## PURPOSE. See the above copyright notice for more information. ##============================================================================ set(field_transform_headers + CompositeVectors.h CylindricalCoordinateTransform.h FieldToColors.h GenerateIds.h + LogValues.h PointElevation.h PointTransform.h SphericalCoordinateTransform.h WarpScalar.h WarpVector.h - LogValues.h - CompositeVectors.h ) set(field_transform_sources CylindricalCoordinateTransform.cxx FieldToColors.cxx GenerateIds.cxx + LogValues.cxx PointElevation.cxx PointTransform.cxx SphericalCoordinateTransform.cxx WarpScalar.cxx WarpVector.cxx - LogValues.cxx + ) + +set(field_transform_sources_no_device CompositeVectors.cxx ) @@ -37,6 +40,7 @@ vtkm_library( NAME vtkm_filter_field_transform HEADERS ${field_transform_headers} DEVICE_SOURCES ${field_transform_sources} + SOURCES ${field_transform_sources_no_device} USE_VTKM_JOB_POOL )