Skip to content

Commit

Permalink
Fix hip example compilation error (#3865)
Browse files Browse the repository at this point in the history
* Fix hip example compilation error

* Update examples/hello/bpWriteReadHip/CMakeLists.txt

---------

Co-authored-by: Vicente Bolea <vicente.bolea@gmail.com>
  • Loading branch information
spyridon97 and vicentebolea authored Oct 21, 2023
1 parent 432c6ab commit e53a1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hello/bpWriteReadHip/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ endif()
if(ADIOS2_HAVE_Kokkos_HIP OR hip_FOUND)
add_executable(adios2_hello_bpWriteReadHip bpWriteReadHip.cpp)
target_link_libraries(adios2_hello_bpWriteReadHip adios2::cxx11 hip::device)
set_target_properties(adios2_hello_bpWriteReadHip PROPERTIES LANGUAGE "HIP")
set_source_files_properties(bpWriteReadHip.cpp PROPERTIES LANGUAGE HIP)
install(TARGETS adios2_hello_bpWriteReadHip RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endif()

0 comments on commit e53a1bf

Please sign in to comment.