Commit 6873fe5c authored by Bram Veenboer's avatar Bram Veenboer

Add hybrid-cuda-generic-optimized-mp.x

parent 7a7924da
# Copyright (C) 2021 ASTRON (Netherlands Institute for Radio Astronomy)
# SPDX-License-Identifier: GPL-3.0-or-later
add_subdirectory(CPU)
\ No newline at end of file
add_subdirectory(CPU)
add_subdirectory(Hybrid)
\ No newline at end of file
......@@ -21,7 +21,6 @@ target_include_directories(
set(LINK_LIBRARIES
idg-util
idg-cpu
idg-cuda
${MPI_mpi_LIBRARY}
${MPI_mpi_cxx_LIBRARY}
)
......
# Copyright (C) 2021 ASTRON (Netherlands Institute for Radio Astronomy)
# SPDX-License-Identifier: GPL-3.0-or-later
project(hybrid-cuda-generic-optimized-mp.x)
# Set sources
set (${PROJECT_NAME}_sources
main.cpp
)
# Set build target
add_executable (${PROJECT_NAME} ${${PROJECT_NAME}_sources})
# Set include directories
target_include_directories(
${PROJECT_NAME} PRIVATE
${MPI_C_COMPILER_INCLUDE_DIRS}
)
# Set link libaries
set(LINK_LIBRARIES
idg-util
idg-hybrid-cuda
${MPI_mpi_LIBRARY}
${MPI_mpi_cxx_LIBRARY}
)
target_link_libraries (
${PROJECT_NAME}
${LINK_LIBRARIES}
)
# install
install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin/examples/cxx
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib/static
)
// Copyright (C) 2021 ASTRON (Netherlands Institute for Radio Astronomy)
// SPDX-License-Identifier: GPL-3.0-or-later
#include "idg-hybrid-cuda.h"
using ProxyType = idg::proxy::hybrid::GenericOptimized;
#include "../common.h"
int main(int argc, char *argv[]) {
run();
return 0;
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment