Skip to content

Commit a60a755

Browse files
wckzhanga-szegel
andcommitted
accelerator/cuda: Initial Accelerator Cuda implementation
Signed-off-by: William Zhang <wilzhang@amazon.com> Co-authored-by: William Zhang <wilzhang@amazon.com> Co-authored-by: Seth Zegelstein <szegel@amazon.com>
1 parent e082061 commit a60a755

File tree

7 files changed

+1303
-0
lines changed

7 files changed

+1303
-0
lines changed

opal/mca/accelerator/cuda/Makefile.am

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
#
2+
# Copyright (c) 2014 Intel, Inc. All rights reserved.
3+
# Copyright (c) 2017 IBM Corporation. All rights reserved.
4+
# Copyright (c) 2022 Amazon.com, Inc. or its affiliates.
5+
# All Rights reserved.
6+
# $COPYRIGHT$
7+
#
8+
# Additional copyrights may follow
9+
#
10+
# $HEADER$
11+
#
12+
13+
14+
AM_CPPFLAGS = $(common_cuda_CPPFLAGS)
15+
dist_opaldata_DATA = help-accelerator-cuda.txt
16+
sources = \
17+
accelerator_cuda.h \
18+
accelerator_cuda_component.c \
19+
accelerator_cuda.c
20+
21+
# Make the output library in this directory, and name it either
22+
# mca_<type>_<name>.la (for DSO builds) or libmca_<type>_<name>.la
23+
# (for static builds).
24+
25+
if MCA_BUILD_opal_accelerator_cuda_DSO
26+
component_noinst =
27+
component_install = mca_accelerator_cuda.la
28+
else
29+
component_noinst = libmca_accelerator_cuda.la
30+
component_install =
31+
endif
32+
33+
mcacomponentdir = $(opallibdir)
34+
mcacomponent_LTLIBRARIES = $(component_install)
35+
mca_accelerator_cuda_la_SOURCES = $(sources)
36+
mca_accelerator_cuda_la_LDFLAGS = -module -avoid-version
37+
mca_accelerator_cuda_la_LIBADD = $(top_builddir)/opal/lib@OPAL_LIB_NAME@.la
38+
39+
noinst_LTLIBRARIES = $(component_noinst)
40+
libmca_accelerator_cuda_la_SOURCES =$(sources)
41+
libmca_accelerator_cuda_la_LDFLAGS = -module -avoid-version

0 commit comments

Comments
 (0)