mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
remove unused headers, restore device compiler for worklet example
This commit is contained in:
parent
0ecfdcb2fa
commit
ce6cf2498a
@ -9,19 +9,13 @@
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
#include <fstream>
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
#include <vtkm/Math.h>
|
#include <vtkm/Math.h>
|
||||||
#include <vtkm/cont/ArrayHandle.h>
|
#include <vtkm/cont/ArrayHandle.h>
|
||||||
#include <vtkm/cont/DataSetBuilderUniform.h>
|
#include <vtkm/cont/DataSetBuilderUniform.h>
|
||||||
#include <vtkm/cont/Initialize.h>
|
#include <vtkm/cont/Initialize.h>
|
||||||
|
|
||||||
#include <vtkm/filter/FilterDataSet.h>
|
|
||||||
|
|
||||||
#include <vtkm/cont/TryExecute.h>
|
|
||||||
|
|
||||||
#include <vtkm/source/Oscillator.h>
|
#include <vtkm/source/Oscillator.h>
|
||||||
|
|
||||||
#if !defined(_WIN32) || defined(__CYGWIN__)
|
#if !defined(_WIN32) || defined(__CYGWIN__)
|
||||||
|
@ -14,4 +14,7 @@ find_package(VTKm REQUIRED QUIET)
|
|||||||
if (VTKm_ENABLE_RENDERING)
|
if (VTKm_ENABLE_RENDERING)
|
||||||
add_executable(PolyLineArchimedeanHelix PolyLineArchimedeanHelix.cxx)
|
add_executable(PolyLineArchimedeanHelix PolyLineArchimedeanHelix.cxx)
|
||||||
target_link_libraries(PolyLineArchimedeanHelix PRIVATE vtkm_filter vtkm_rendering)
|
target_link_libraries(PolyLineArchimedeanHelix PRIVATE vtkm_filter vtkm_rendering)
|
||||||
|
vtkm_add_target_information(PolyLineArchimedeanHelix
|
||||||
|
DROP_UNUSED_SYMBOLS MODIFY_CUDA_FLAGS
|
||||||
|
DEVICE_SOURCES PolyLineArchimedeanHelix.cxx)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user