Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/kernel-concurrency'
Browse files Browse the repository at this point in the history
  • Loading branch information
ayresdl committed Apr 19, 2018
2 parents 9a7e36e + 583f02f commit 7fe5ba3
Show file tree
Hide file tree
Showing 41 changed files with 100,358 additions and 1,986 deletions.
1,008 changes: 1,008 additions & 0 deletions app-benchmarks/v3-app-note/Dengue997.nex

Large diffs are not rendered by default.

44,671 changes: 44,671 additions & 0 deletions app-benchmarks/v3-app-note/Dengue997_s3_AMVN_BTL.xml

Large diffs are not rendered by default.

44,620 changes: 44,620 additions & 0 deletions app-benchmarks/v3-app-note/Dengue997_s3_AMVN_MPDLD.xml

Large diffs are not rendered by default.

50 changes: 50 additions & 0 deletions app-benchmarks/v3-app-note/mcmc-dengue.nex
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#NEXUS

begin mrbayes;

set autoclose=yes nowarn=yes seed=1 swapseed=1;

exe Dengue997.nex;



charset capsid = 1-342;
charset glycoprotein = 343-834;
charset envelope = 835-2325;
charset NS1 = 2325-3381;
charset NS2A = 3382-4038;
charset NS2B = 4039-4428;
charset NS3 = 4429-6285;
charset NS4A = 6286-6735;
charset NS4B = 6736-7482;
charset NS5 = 7483-.;

[partition by_codon = 3:1st_pos,2nd_pos,3rd_pos;]
partition by_gene = 10:capsid,glycoprotein,envelope,NS1,NS2A,NS2B,NS3,NS4A,NS4B,NS5;

set partition=by_gene;

lset nst=6 rates=invgamma;

[lset rates=propinv;]

[prset brlenspr=clock:uni;]
[prset applyto=(all) brlenspr=clock:uni;]

prset applyto=(all) ratepr=variable;

unlink shape=(all);
unlink pinvar=(all);
unlink statefreq=(all);
unlink revmat=(all);
unlink ratemultiplier=(all);
[unlink brlens=(all);]
[unlink clockrate=(all);]

set seed=1 swapseed=1;

[mcmc ngen=50000 nruns=1 nchains=1;]
[mcmc ngen=1 nruns=1 nchains=1;]
mcmc ngen=1000 nruns=1 nchains=1 printfreq=1000;

end;
29 changes: 22 additions & 7 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ([2.59])
AC_INIT(libhmsbeagle, 2.1.2, beagle-dev@googlegroups.com)
AC_INIT(libhmsbeagle, 3.0.0, beagle-dev@googlegroups.com)

: ${CXXFLAGS=" -O3"}
: ${CXXFLAGS=" -std=c++11 -O3"}

dnl -----------------------------------------------
dnl Package name and version number (user defined)
Expand All @@ -11,9 +11,9 @@ dnl -----------------------------------------------
GENERIC_LIBRARY_NAME=libhmsbeagle

#release versioning
GENERIC_MAJOR_VERSION=2
GENERIC_MINOR_VERSION=1
GENERIC_MICRO_VERSION=2
GENERIC_MAJOR_VERSION=3
GENERIC_MINOR_VERSION=0
GENERIC_MICRO_VERSION=0

#API version
GENERIC_API_VERSION=1
Expand All @@ -23,7 +23,7 @@ AC_SUBST(GENERIC_API_VERSION)
GENERIC_REVISION_VERSION=$GENERIC_MINOR_VERSION

#shared library versioning
GENERIC_LIBRARY_VERSION=2:$GENERIC_REVISION_VERSION:1
GENERIC_LIBRARY_VERSION=3:$GENERIC_REVISION_VERSION:2
#
# current:revision:age
# | | |
Expand Down Expand Up @@ -126,6 +126,18 @@ dnl OpenMP checker only defines for C when compiling both C and C++
OPENMP_CXXFLAGS=$OPENMP_CFLAGS
AC_SUBST(OPENMP_CXXFLAGS)

# ------------------------------------------------------------------------------
# Setup C++11 threads
# ------------------------------------------------------------------------------
dnl Check for gcc
case $host_os in
*linux*)
if test x$GCC = xyes
then
AM_CXXFLAGS="$AM_CXXFLAGS -pthread"
fi
esac

# ------------------------------------------------------------------------------
# Setup OpenCL
# ------------------------------------------------------------------------------
Expand Down Expand Up @@ -214,13 +226,16 @@ if test x$DEBUG = xtrue
then
NVCCFLAGS="-g"
else
NVCCFLAGS="-O3"
NVCCFLAGS="-O3 -arch compute_32"
fi
if test x$EMULATION = xtrue
then
NVCCFLAGS+=" -deviceemu"
fi

# do not warn about deprecated GPU architectures
NVCCFLAGS+=" -Wno-deprecated-gpu-targets"

# ------------------------------------------------------------------------------
# Setup SSE
# ------------------------------------------------------------------------------
Expand Down
Loading

0 comments on commit 7fe5ba3

Please sign in to comment.