60a405ef65
Redesigns the TBB and Serial backends and the vtkm::exec::Task concept so that we can re-use the same launching logic for all Worklets, instead of generating per worlet code. To keep the performance the same the TilingTask now is past a range of indices to work on, rather than a single index. Binary size reduction: WorkletTests_SERIAL old - 19MB WorkletTests_SERIAL new - 18MB WorkletTests_TBB old - 39MB WorkletTests_TBB new - 18MB libvtkAcceleratorsVTKm old - 48MB libvtkAcceleratorsVTKm new - 19MB
53 lines
1.6 KiB
CMake
53 lines
1.6 KiB
CMake
##============================================================================
|
|
## Copyright (c) Kitware, Inc.
|
|
## All rights reserved.
|
|
## See LICENSE.txt for details.
|
|
## This software is distributed WITHOUT ANY WARRANTY; without even
|
|
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
## PURPOSE. See the above copyright notice for more information.
|
|
##
|
|
## Copyright 2014 Sandia Corporation.
|
|
## Copyright 2014 UT-Battelle, LLC.
|
|
## Copyright 2014 Los Alamos National Security.
|
|
##
|
|
## Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
|
|
## the U.S. Government retains certain rights in this software.
|
|
##
|
|
## Under the terms of Contract DE-AC52-06NA25396 with Los Alamos National
|
|
## Laboratory (LANL), the U.S. Government retains certain rights in
|
|
## this software.
|
|
##============================================================================
|
|
|
|
set(headers
|
|
AtomicArray.h
|
|
CellDerivative.h
|
|
CellEdge.h
|
|
CellFace.h
|
|
CellInterpolate.h
|
|
ConnectivityExplicit.h
|
|
ConnectivityPermuted.h
|
|
ConnectivityStructured.h
|
|
ExecutionObjectBase.h
|
|
ExecutionWholeArray.h
|
|
FunctorBase.h
|
|
ImplicitFunction.h
|
|
Jacobian.h
|
|
ParametricCoordinates.h
|
|
TaskBase.h
|
|
)
|
|
|
|
#-----------------------------------------------------------------------------
|
|
add_subdirectory(internal)
|
|
add_subdirectory(arg)
|
|
|
|
vtkm_declare_headers(${impl_headers} ${headers})
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
add_subdirectory(serial)
|
|
add_subdirectory(tbb)
|
|
add_subdirectory(cuda)
|
|
|
|
#-----------------------------------------------------------------------------
|
|
add_subdirectory(testing)
|