VTK-m  2.0
KokkosAlloc.h
Go to the documentation of this file.
1 //============================================================================
2 // Copyright (c) Kitware, Inc.
3 // All rights reserved.
4 // See LICENSE.txt for details.
5 //
6 // This software is distributed WITHOUT ANY WARRANTY; without even
7 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
8 // PURPOSE. See the above copyright notice for more information.
9 //============================================================================
10 #ifndef vtk_m_cont_kokkos_internal_KokkosAlloc_h
11 #define vtk_m_cont_kokkos_internal_KokkosAlloc_h
12 
13 #include <vtkm/cont/vtkm_cont_export.h>
14 
15 #include <cstddef>
16 
17 namespace vtkm
18 {
19 namespace cont
20 {
21 namespace kokkos
22 {
23 namespace internal
24 {
25 
26 VTKM_CONT_EXPORT void* Allocate(std::size_t size);
27 VTKM_CONT_EXPORT void Free(void* ptr);
28 VTKM_CONT_EXPORT void* Reallocate(void* ptr, std::size_t newSize);
29 
30 }
31 }
32 }
33 } // vtkm::cont::kokkos::internal
34 
35 #endif // vtk_m_cont_kokkos_internal_KokkosAlloc_h
vtkm
Groups connected points that have the same field value.
Definition: Atomic.h:19