2014-11-26 17:19:46 +00:00
|
|
|
##============================================================================
|
|
|
|
## Copyright (c) Kitware, Inc.
|
|
|
|
## All rights reserved.
|
|
|
|
## See LICENSE.txt for details.
|
2019-04-15 23:24:21 +00:00
|
|
|
##
|
2014-11-26 17:19:46 +00:00
|
|
|
## 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.
|
|
|
|
##============================================================================
|
|
|
|
|
|
|
|
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)
|
2019-01-24 19:26:40 +00:00
|
|
|
vtkm_declare_headers(${headers})
|
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
|
|
|
|