2014-11-26 17:19:46 +00:00
|
|
|
##============================================================================
|
|
|
|
## 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.
|
|
|
|
##
|
2017-09-20 21:33:44 +00:00
|
|
|
## Copyright 2014 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
|
2014-11-26 17:19:46 +00:00
|
|
|
## Copyright 2014 UT-Battelle, LLC.
|
2015-05-21 12:09:22 +00:00
|
|
|
## Copyright 2014 Los Alamos National Security.
|
2014-11-26 17:19:46 +00:00
|
|
|
##
|
2017-09-20 21:33:44 +00:00
|
|
|
## Under the terms of Contract DE-NA0003525 with NTESS,
|
2014-11-26 17:19:46 +00:00
|
|
|
## 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
|
|
|
|
ChooseCudaDevice.h
|
|
|
|
DeviceAdapterCuda.h
|
2017-01-09 21:15:32 +00:00
|
|
|
ErrorCuda.h
|
2014-11-26 17:19:46 +00:00
|
|
|
)
|
|
|
|
|
2015-09-17 13:23:53 +00:00
|
|
|
#-----------------------------------------------------------------------------
|
2014-11-26 17:19:46 +00:00
|
|
|
add_subdirectory(internal)
|
2015-09-17 13:23:53 +00:00
|
|
|
vtkm_declare_headers(CUDA ${headers} TESTABLE ${VTKm_ENABLE_CUDA})
|
2014-11-26 17:19:46 +00:00
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
2017-12-29 18:16:52 +00:00
|
|
|
if (TARGET vtkm::cuda)
|
2015-09-17 13:23:53 +00:00
|
|
|
add_subdirectory(testing)
|
|
|
|
endif()
|
2014-11-26 17:19:46 +00:00
|
|
|
|