mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
The file `ArrayRangeCompute.cxx` was taking a long time to compile with some device compilers. This is because it precompiles the range computation for many types of array structures. It thus compiled the same operation many times over. The new implementation compiles just as many cases. However, the compilation is split into many different translation units using the instantiations feature of VTK-m's configuration. Although this rarely reduces the overall CPU time spent during compiling, it prevents parallel compiles from waiting for this one build to complete. It also avoids potential issues with compilers running out of resources as it tries to build a monolithic file. |
||
---|---|---|
.. | ||
patches | ||
testing | ||
doxyfile.in | ||
FindPyexpander.cmake | ||
FindTBB.cmake | ||
InstantiationTemplate.cxx.in | ||
VTKmBuildDocumentation.cmake | ||
VTKmBuildType.cmake | ||
VTKmCheckCopyright.cmake | ||
VTKmCMakeBackports.cmake | ||
VTKmCompilerFlags.cmake | ||
VTKmConfig.cmake.in | ||
VTKmCopyrightStatement.txt | ||
VTKmCPUVectorization.cmake | ||
VTKmDetectCUDAVersion.cu | ||
VTKmDetermineVersion.cmake | ||
VTKmDeviceAdapters.cmake | ||
VTKmDIYUtils.cmake | ||
VTKmExportHeaderTemplate.h.in | ||
VTKmInstallCMakePackage.cmake | ||
VTKmModules.cmake | ||
VTKmRenderingContexts.cmake | ||
VTKmWrappers.cmake |