vtk-m/CMake
Kenneth Moreland c16236ce69 Use ArrayRangeCompute without specifying a device
Most uses of ArrayRangeCompute just want to get the range of the data
and probably don't have a particular device in mind. Thus, it is better
to use a TryExecute internally use whatever devices are available.

Note that when using TryExecute, the calling code is expected to be able
to support all devices. That might not always be the case. Thus, I am
experimenting a bit with how we incorporate this in a library. The
advantage of having the code compiled in a library is that you only have
to compile it once and the calling code does not need to worry about
CUDA, etc.

However, because ArrayRangeCompute is templated, we can only pre-compile
some subset of array handle types. The most common are compiled into the
code (matching all the predefined ArrayHandles as well as some special
cases). If the code wants to use some other type, it has to include
ArrayRangeCompute.hxx. The only place where this is necessary is a test
that intentially trys to find the range on an uncommon type.

If array portals were to support virtual methods, then we should be able
to modify this code so that we could precompile for all array handle
types.
2017-03-09 13:18:36 -05:00
..
doxyfile.in Initial support for generating documentation using Doxygen 2015-07-17 15:35:59 -04:00
FindEGL.cmake VTK-m find module better follow recommended best practices. 2017-01-27 10:03:52 -05:00
FindGLEW.cmake VTK-m find module better follow recommended best practices. 2017-01-27 10:03:52 -05:00
FindGLFW.cmake VTK-m find module better follow recommended best practices. 2017-01-27 10:03:52 -05:00
FindMESA.cmake Add missing copyright headers. 2016-03-28 11:16:35 -04:00
FindPyexpander.cmake Directly call python when executing expander.py 2016-06-16 10:36:20 -06:00
FindTBB.cmake Add TBB backend. 2015-06-01 13:57:37 -04:00
FindThrust.cmake VTK-m find module better follow recommended best practices. 2017-01-27 10:03:52 -05:00
TestBuild.cxx.in nvcc doesn't have troubles with boost shared_ptr optimizations 2016-07-19 13:26:23 -04:00
VTKmBuildDocumentation.cmake Initial support for generating documentation using Doxygen 2015-07-17 15:35:59 -04:00
VTKmCheckCopyright.cmake Update VTKmCheckCopyright.cmake to ignore build files. 2016-08-02 13:50:33 -04:00
VTKmCheckPyexpander.cmake Directly call python when executing expander.py 2016-06-16 10:36:20 -06:00
VTKmCheckSourceInBuild.cmake Allow sources to be declared in parent directory 2016-09-07 16:47:54 -06:00
VTKmCompilerExtras.cmake Remove boost CMake logic as VTK-m doesn't require boost now. 2016-10-21 08:41:22 -04:00
VTKmCompilerOptimizations.cmake Fix configuration of vectorization 2016-08-03 16:07:21 -04:00
VTKmConfig.cmake.in Add ability to get VTK-m version from git 2017-01-26 10:02:04 -07:00
VTKmConfigureComponents.cmake Update the CMake components to have the concept of backends. 2017-01-27 10:03:53 -05:00
VTKmCopyrightStatement.txt The Copyright statement now has all the periods in the correct location. 2015-05-21 10:30:11 -04:00
VTKmDetectCUDAVersion.cu Make VTKmDetectCUDAVersion work with C compilers. 2016-09-21 16:00:57 -04:00
VTKmDetermineVersion.cmake Add warning if git version disagrees with version.txt 2017-01-26 10:08:45 -07:00
VTKmExportHeaderTemplate.h.in Redesign our export headers to handle template exports. 2017-01-16 09:17:38 -05:00
VTKmMacros.cmake Use ArrayRangeCompute without specifying a device 2017-03-09 13:18:36 -05:00
VTKmSystemInformation.cmake Add git SHA to information reported in SystemInformation test 2015-07-31 12:10:52 -06:00
WrapCUDASource.cu.in Use TryExecute within the rendeirng library 2016-09-07 16:47:50 -06:00