Skip to content

Commit

Permalink
Fix reviewer's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Rombur committed Mar 6, 2024
1 parent 2d106d5 commit af3ddca
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions algorithms/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ KOKKOS_LIB_INCLUDE_DIRECTORIES(kokkosalgorithms
${CMAKE_CURRENT_SOURCE_DIR}
)



KOKKOS_LINK_TPL(kokkoscontainers PUBLIC ROCTHRUST)
3 changes: 0 additions & 3 deletions containers/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ KOKKOS_LIB_INCLUDE_DIRECTORIES(kokkoscontainers
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
)

KOKKOS_LINK_TPL(kokkoscontainers PUBLIC ROCTHRUST)

KOKKOS_LINK_INTERNAL_LIBRARY(kokkoscontainers kokkoscore)

#-----------------------------------------------------------------------------
7 changes: 7 additions & 0 deletions core/src/HIP/Kokkos_HIP_Instance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,13 @@ void HIPInternal::print_configuration(std::ostream &s) const {
<< '\n';
#endif

s << "macro KOKKOS_ENABLE_ROCTHRUST : "
#if defined(KOKKOS_ENABLE_ROCTHRUST)
<< "defined\n";
#else
<< "undefined\n";
#endif

for (int i : get_visible_devices()) {
hipDeviceProp_t hipProp;
KOKKOS_IMPL_HIP_SAFE_CALL(hipGetDeviceProperties(&hipProp, i));
Expand Down

0 comments on commit af3ddca

Please sign in to comment.