Skip to content

Commit

Permalink
[deprecated code 3] remove KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_* macros
Browse files Browse the repository at this point in the history
  • Loading branch information
dalg24 committed Oct 18, 2023
1 parent dfd0a6d commit 57c0aa6
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions core/src/Kokkos_Macros.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -433,22 +433,6 @@
#define KOKKOS_ENABLE_DEFAULT_DEVICE_TYPE_SERIAL
#endif

//----------------------------------------------------------------------------
// Determine for what space the code is being compiled:
#if defined(KOKKOS_ENABLE_DEPRECATED_CODE_3)

#if defined(__CUDACC__) && defined(__CUDA_ARCH__) && defined(KOKKOS_ENABLE_CUDA)
#define KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_CUDA
#elif defined(__SYCL_DEVICE_ONLY__) && defined(KOKKOS_ENABLE_SYCL)
#define KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_SYCL
#elif defined(__HIPCC__) && defined(__HIP_DEVICE_COMPILE__) && \
defined(KOKKOS_ENABLE_HIP)
#define KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HIP_GPU
#else
#define KOKKOS_ACTIVE_EXECUTION_MEMORY_SPACE_HOST
#endif

#endif
//----------------------------------------------------------------------------

// Remove surrounding parentheses if present
Expand Down

0 comments on commit 57c0aa6

Please sign in to comment.