This repository was archived by the owner on Nov 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +6
-9
lines changed
Expand file tree Collapse file tree 3 files changed +6
-9
lines changed Original file line number Diff line number Diff line change 2121
2222#include < string>
2323
24- namespace DataTransferKit
25- {
26-
2724#include " DTK_Types.h"
2825
2926#define DTK_MARK_REGION ( x ) std::string( " DTK_" ) + x
3027
31- } // namespace DataTransferKit
32-
3328#endif // #ifndef DTK_CONFIGDEFS_HPP
Original file line number Diff line number Diff line change @@ -33,8 +33,7 @@ void initKokkos( Args &&... args )
3333 // Kokkos doesn't have a global is_initialized(). However,
3434 // Kokkos::initialize() always initializes the default execution
3535 // space, so it suffices to check whether that was initialized.
36- const bool kokkosIsInitialized =
37- Kokkos::DefaultExecutionSpace::impl_is_initialized ();
36+ const bool kokkosIsInitialized = Kokkos::is_initialized ();
3837
3938 if ( !kokkosIsInitialized )
4039 {
@@ -45,8 +44,7 @@ void initKokkos( Args &&... args )
4544 }
4645 }
4746
48- const bool kokkosIsInitialized =
49- Kokkos::DefaultExecutionSpace::impl_is_initialized ();
47+ const bool kokkosIsInitialized = Kokkos::is_initialized ();
5048
5149 if ( !kokkosIsInitialized )
5250 throw DataTransferKitException ( " At the end of initKokkos, Kokkos"
Original file line number Diff line number Diff line change 2323#endif
2424#endif
2525
26+ namespace DataTransferKit {
27+
2628// ! Coordinate typedef.
2729typedef double Coordinate;
2830
@@ -32,4 +34,6 @@ typedef int LocalOrdinal;
3234// ! Global ordinal typedef.
3335typedef long long GlobalOrdinal;
3436
37+ }
38+
3539#endif // DTK_TYPES_H
You can’t perform that action at this time.
0 commit comments