-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathcore.mk
More file actions
93 lines (88 loc) · 3.55 KB
/
core.mk
File metadata and controls
93 lines (88 loc) · 3.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# Copyright 2021-2022 NVIDIA Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# General source files
GEN_CPU_SRC = core/legate_c.cc \
core/comm/comm.cc \
core/comm/comm_cpu.cc \
core/comm/coll.cc \
core/data/allocator.cc \
core/data/scalar.cc \
core/data/store.cc \
core/data/transform.cc \
core/mapping/base_mapper.cc \
core/mapping/core_mapper.cc \
core/mapping/instance_manager.cc \
core/mapping/mapping.cc \
core/mapping/task.cc \
core/runtime/context.cc \
core/runtime/projection.cc \
core/runtime/runtime.cc \
core/runtime/shard.cc \
core/task/return.cc \
core/task/task.cc \
core/utilities/debug.cc \
core/utilities/deserializer.cc \
core/utilities/machine.cc \
core/utilities/linearize.cc
ifeq ($(strip $(USE_GASNET)),1)
GEN_CPU_SRC += core/comm/alltoall_thread_mpi.cc \
core/comm/alltoallv_thread_mpi.cc \
core/comm/gather_thread_mpi.cc \
core/comm/allgather_thread_mpi.cc \
core/comm/bcast_thread_mpi.cc \
core/comm/p2p_thread_mpi.cc
else
GEN_CPU_SRC += core/comm/alltoall_thread_local.cc \
core/comm/alltoallv_thread_local.cc \
core/comm/allgather_thread_local.cc \
core/comm/p2p_thread_local.cc
endif
# Source files for GPUs
GEN_GPU_SRC = core/comm/comm_nccl.cu \
core/cuda/stream_pool.cu
# Header files that we need to have installed for client legate libraries
INSTALL_HEADERS = legate.h \
legate_defines.h \
legate_preamble.h \
core/legate_c.h \
core/comm/communicator.h \
core/comm/coll.h \
core/cuda/cuda_help.h \
core/cuda/stream_pool.h \
core/data/allocator.h \
core/data/buffer.h \
core/data/scalar.h \
core/data/scalar.inl \
core/data/store.h \
core/data/store.inl \
core/data/transform.h \
core/mapping/base_mapper.h \
core/mapping/mapping.h \
core/mapping/task.h \
core/mapping/task.inl \
core/runtime/context.h \
core/runtime/runtime.h \
core/task/exception.h \
core/task/return.h \
core/task/task.h \
core/utilities/debug.h \
core/utilities/deserializer.h \
core/utilities/deserializer.inl \
core/utilities/dispatch.h \
core/utilities/machine.h \
core/utilities/nvtx_help.h \
core/utilities/span.h \
core/utilities/type_traits.h \
core/utilities/typedefs.h