Viskores  1.0
KokkosAlloc.h
Go to the documentation of this file.
1 //============================================================================
2 // The contents of this file are covered by the Viskores license. See
3 // LICENSE.txt for details.
4 //
5 // By contributing to this file, all contributors agree to the Developer
6 // Certificate of Origin Version 1.1 (DCO 1.1) as stated in DCO.txt.
7 //============================================================================
8 
9 //============================================================================
10 // Copyright (c) Kitware, Inc.
11 // All rights reserved.
12 // See LICENSE.txt for details.
13 //
14 // This software is distributed WITHOUT ANY WARRANTY; without even
15 // the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16 // PURPOSE. See the above copyright notice for more information.
17 //============================================================================
18 #ifndef viskores_cont_kokkos_internal_KokkosAlloc_h
19 #define viskores_cont_kokkos_internal_KokkosAlloc_h
20 
22 
23 #include <cstddef>
24 
25 namespace viskores
26 {
27 namespace cont
28 {
29 namespace kokkos
30 {
31 namespace internal
32 {
33 
34 VISKORES_CONT_EXPORT void* Allocate(std::size_t size);
35 VISKORES_CONT_EXPORT void Free(void* ptr);
36 VISKORES_CONT_EXPORT void* Reallocate(void* ptr, std::size_t newSize);
37 
38 }
39 }
40 }
41 } // viskores::cont::kokkos::internal
42 
43 #endif // viskores_cont_kokkos_internal_KokkosAlloc_h
viskores
Groups connected points that have the same field value.
Definition: Atomic.h:27
viskores_cont_export.h