##============================================================================
##  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.
##============================================================================

set(unit_tests
  UnitTestCudaArrayHandle.cu
  UnitTestCudaArrayHandleFancy.cu
  UnitTestCudaArrayHandleMultiplexer.cu
  UnitTestCudaBitField.cu
  UnitTestCudaCellLocatorRectilinearGrid.cu
  UnitTestCudaCellLocatorTwoLevel.cu
  UnitTestCudaCellLocatorUniformGrid.cu
  UnitTestCudaComputeRange.cu
  UnitTestCudaColorTable.cu
  UnitTestCudaDataSetExplicit.cu
  UnitTestCudaDataSetSingleType.cu
  UnitTestCudaDeviceAdapter.cu
  UnitTestCudaImplicitFunction.cu
  UnitTestCudaIterators.cu
  UnitTestCudaMathEdgeCases.cu
  UnitTestCudaShareUserProvidedManagedMemory.cu
  UnitTestCudaPointLocatorSparseGrid.cu
  UnitTestCudaRuntimeDeviceConfiguration.cu
  )

if (NOT VTKm_NO_DEPRECATED_VIRTUAL)
  set(unit_tests ${unit_tests}
    UnitTestCudaVirtualObjectHandle.cu
    )
endif()

vtkm_unit_tests(SOURCES ${unit_tests} LABEL "CUDA" LIBRARIES vtkm_worklet)
