Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
idg
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
8
Merge Requests
8
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ResearchAndDevelopment
idg
Commits
6873fe5c
Commit
6873fe5c
authored
Jan 08, 2021
by
Bram Veenboer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add hybrid-cuda-generic-optimized-mp.x
parent
7a7924da
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
54 additions
and
2 deletions
+54
-2
idg-bin/examples/cxx/distributed/CMakeLists.txt
idg-bin/examples/cxx/distributed/CMakeLists.txt
+2
-1
idg-bin/examples/cxx/distributed/CPU/CMakeLists.txt
idg-bin/examples/cxx/distributed/CPU/CMakeLists.txt
+0
-1
idg-bin/examples/cxx/distributed/Hybrid/CMakeLists.txt
idg-bin/examples/cxx/distributed/Hybrid/CMakeLists.txt
+38
-0
idg-bin/examples/cxx/distributed/Hybrid/main.cpp
idg-bin/examples/cxx/distributed/Hybrid/main.cpp
+14
-0
No files found.
idg-bin/examples/cxx/distributed/CMakeLists.txt
View file @
6873fe5c
# 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
idg-bin/examples/cxx/distributed/CPU/CMakeLists.txt
View file @
6873fe5c
...
...
@@ -21,7 +21,6 @@ target_include_directories(
set
(
LINK_LIBRARIES
idg-util
idg-cpu
idg-cuda
${
MPI_mpi_LIBRARY
}
${
MPI_mpi_cxx_LIBRARY
}
)
...
...
idg-bin/examples/cxx/distributed/Hybrid/CMakeLists.txt
0 → 100644
View file @
6873fe5c
# 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
)
idg-bin/examples/cxx/distributed/Hybrid/main.cpp
0 → 100644
View file @
6873fe5c
// 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment