Skip to content

Commit

Permalink
ATMI as the new heterogeneous tasking layer -- 1st pass
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwinma committed Feb 9, 2017
1 parent 0388d95 commit b5a2e5b
Show file tree
Hide file tree
Showing 10 changed files with 1,550 additions and 2 deletions.
19 changes: 19 additions & 0 deletions make/tasks/Makefile.atmi
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2004-2015 Cray Inc.
# Other additional copyright holders may be indicated within.
#
# The entirety of this work is 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.

RUNTIME_INCLS += -I$(QTHREAD_INCLUDE_DIR)
CHPL_MAKE_THREADS=none
3 changes: 3 additions & 0 deletions runtime/Makefile.help
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,7 @@ include $(RUNTIME_ROOT)/make/Makefile.runtime.foot
src/tasks/qthreads/Makefile.include:
cd src/tasks/qthreads && $(MAKE) copy_qthread_files

src/tasks/atmi/Makefile.include:
cd src/tasks/atmi && $(MAKE) copy_qthread_files

.NOTPARALLEL:
19 changes: 19 additions & 0 deletions runtime/etc/Makefile.tasks-atmi
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Copyright 2004-2015 Cray Inc.
# Other additional copyright holders may be indicated within.
#
# The entirety of this work is 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.

GEN_CFLAGS += -I$(QTHREAD_INCLUDE_DIR)
GEN_LFLAGS += -L$(QTHREAD_LIB_DIR) -Wl,-rpath,$(QTHREAD_LIB_DIR)
Loading

0 comments on commit b5a2e5b

Please sign in to comment.