Skip to content

Commit

Permalink
added install headers for exe backend
Browse files Browse the repository at this point in the history
  • Loading branch information
cnpetra committed Dec 18, 2022
1 parent 474f05c commit df6136e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
7 changes: 7 additions & 0 deletions src/ExecBackends/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Set headers to be installed as part of the hiop interface
set(hiopExecBackends_INTERFACE_HEADERS
ExecSpace.hpp
ExecPoliciesRajaCudaImpl.hpp
ExecPoliciesRajaHipImpl.hpp
ExecPoliciesRajaOmpImpl.hpp
MemBackendCppImpl.hpp
MemBackendCudaImpl.hpp
MemBackendHipImpl.hpp
MemBackendUmpireImpl.hpp
)

install(FILES ${hiopExecBackends_INTERFACE_HEADERS} DESTINATION include)
10 changes: 4 additions & 6 deletions src/LinAlg/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,11 @@ set(hiopLinAlg_RAJA_SRC

if(HIOP_USE_CUDA)
list(APPEND hiopLinAlg_RAJA_SRC hiopVectorRajaCuda.cpp)
elseif(HIOP_USE_HIP)
list(APPEND hiopLinAlg_RAJA_SRC hiopVectorRajaHip.cpp)
else()
if(HIOP_USE_HIP)
list(APPEND hiopLinAlg_RAJA_SRC hiopVectorRajaHip.cpp)
else()
#raja - omp
list(APPEND hiopLinAlg_RAJA_SRC hiopVectorRajaOmp.cpp)
endif()
#raja - omp
list(APPEND hiopLinAlg_RAJA_SRC hiopVectorRajaOmp.cpp)
endif()


Expand Down

0 comments on commit df6136e

Please sign in to comment.