Skip to content

Commit 2f93177

Browse files
committed
ATMI as the new heterogeneous tasking layer -- 1st pass
1 parent 4333459 commit 2f93177

File tree

10 files changed

+1550
-2
lines changed

10 files changed

+1550
-2
lines changed

make/tasks/Makefile.atmi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2004-2015 Cray Inc.
2+
# Other additional copyright holders may be indicated within.
3+
#
4+
# The entirety of this work is licensed under the Apache License,
5+
# Version 2.0 (the "License"); you may not use this file except
6+
# in compliance with the License.
7+
#
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
18+
RUNTIME_INCLS += -I$(QTHREAD_INCLUDE_DIR)
19+
CHPL_MAKE_THREADS=none

runtime/Makefile.help

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,4 +165,7 @@ include $(RUNTIME_ROOT)/make/Makefile.runtime.foot
165165
src/tasks/qthreads/Makefile.include:
166166
cd src/tasks/qthreads && $(MAKE) copy_qthread_files
167167

168+
src/tasks/atmi/Makefile.include:
169+
cd src/tasks/atmi && $(MAKE) copy_qthread_files
170+
168171
.NOTPARALLEL:

runtime/etc/Makefile.tasks-atmi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2004-2015 Cray Inc.
2+
# Other additional copyright holders may be indicated within.
3+
#
4+
# The entirety of this work is licensed under the Apache License,
5+
# Version 2.0 (the "License"); you may not use this file except
6+
# in compliance with the License.
7+
#
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
18+
GEN_CFLAGS += -I$(QTHREAD_INCLUDE_DIR)
19+
GEN_LFLAGS += -L$(QTHREAD_LIB_DIR) -Wl,-rpath,$(QTHREAD_LIB_DIR)

0 commit comments

Comments
 (0)