-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
120 changed files
with
15,151 additions
and
3,748 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,9 +15,9 @@ | |
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
# | ||
# Contact: | ||
# Lucas Czech <[email protected]> | ||
# Department of Plant Biology, Carnegie Institution For Science | ||
# 260 Panama Street, Stanford, CA 94305, USA | ||
# Lucas Czech <[email protected]> | ||
# University of Copenhagen, Globe Institute, Section for GeoGenetics | ||
# Oster Voldgade 5-7, 1350 Copenhagen K, Denmark | ||
|
||
# -------------------------------------------------------------------------------------------------- | ||
# CMake Init | ||
|
@@ -192,6 +192,7 @@ option (GENESIS_BUILD_TESTS "Build the Genesis test suites." | |
# If available, use external dependencies. | ||
option (GENESIS_USE_ZLIB "Use zlib." ON) | ||
option (GENESIS_USE_OPENMP "Use OpenMP." ON) | ||
option (GENESIS_USE_AVX "Use AVX/AVX2." ON) | ||
|
||
# Additional dependencies: htslib | ||
# We use a locally installed (in the build directory) version of htslib, | ||
|
@@ -352,6 +353,15 @@ IF(GENESIS_USE_OPENMP) | |
include( IncludeOpenMP ) | ||
ENDIF() | ||
|
||
# ---------------------------------------------------------- | ||
# AVX/AVX2 | ||
# ---------------------------------------------------------- | ||
|
||
# IF(GENESIS_USE_AVX) | ||
# # Included from modules dir tools/cmake | ||
# include( IncludeAVX ) | ||
# ENDIF() | ||
|
||
# ---------------------------------------------------------- | ||
# htslib | ||
# ---------------------------------------------------------- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
doc/manual/supplement/acknowledgements/c_07_concurrent_queue.inc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
## Concurrent Queue @anchor supplement_acknowledgements_code_reuse_concurrent_queue | ||
|
||
Genesis contains an implementation of a Concurrent Queue and related classes: | ||
|
||
* @link genesis::utils::ConcurrentQueue ConcurrentQueue@endlink | ||
* @link genesis::utils::BlockingConcurrentQueue BlockingConcurrentQueue@endlink | ||
* @link genesis::utils::LightweightSemaphore LightweightSemaphore@endlink | ||
|
||
This implementation is from the excellent moodycamel::ConcurrentQueue | ||
(https://github.com/cameron314/concurrentqueue), using version v1.0.4, | ||
which was published under a simplified BSD license, and also dual-licensed under the Boost | ||
Software License. The full [original license](https://github.com/cameron314/concurrentqueue/blob/master/LICENSE.md), as of 2024-07-04, is copied below. | ||
|
||
We adapted the original code by (roughly) formatting it to our formatting standard, as well as | ||
renaming the namespace from moodycamel to be contained within our namespace, to keep our | ||
documentation and usage consistent. Other than that, all functionality is kept as-is. | ||
|
||
@htmlonly <details><summary>License</summary> @endhtmlonly | ||
> This license file applies to everything in this repository except that which | ||
> is explicitly annotated as being written by other authors, i.e. the Boost | ||
> queue (included in the benchmarks for comparison), Intel's TBB library (ditto), | ||
> dlib::pipe (ditto), | ||
> the CDSChecker tool (used for verification), the Relacy model checker (ditto), | ||
> and Jeff Preshing's semaphore implementation (used in the blocking queue) which | ||
> has a zlib license (embedded in lightweightsempahore.h). | ||
> | ||
> --- | ||
> | ||
> Simplified BSD License: | ||
> | ||
> Copyright (c) 2013-2016, Cameron Desrochers. | ||
> All rights reserved. | ||
> | ||
> Redistribution and use in source and binary forms, with or without modification, | ||
> are permitted provided that the following conditions are met: | ||
> | ||
> - Redistributions of source code must retain the above copyright notice, this list of | ||
> conditions and the following disclaimer. | ||
> - Redistributions in binary form must reproduce the above copyright notice, this list of | ||
> conditions and the following disclaimer in the documentation and/or other materials | ||
> provided with the distribution. | ||
> | ||
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY | ||
> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
> MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL | ||
> THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
> SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT | ||
> OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
> HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | ||
> TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
> EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
> | ||
> --- | ||
> | ||
> I have also chosen to dual-license under the Boost Software License as an alternative to | ||
> the Simplified BSD license above: | ||
> | ||
> Boost Software License - Version 1.0 - August 17th, 2003 | ||
> | ||
> Permission is hereby granted, free of charge, to any person or organization | ||
> obtaining a copy of the software and accompanying documentation covered by | ||
> this license (the "Software") to use, reproduce, display, distribute, | ||
> execute, and transmit the Software, and to prepare derivative works of the | ||
> Software, and to permit third-parties to whom the Software is furnished to | ||
> do so, all subject to the following: | ||
> | ||
> The copyright notices in the Software and this entire statement, including | ||
> the above license grant, this restriction and the following disclaimer, | ||
> must be included in all copies of the Software, in whole or in part, and | ||
> all derivative works of the Software, unless such copies or derivative | ||
> works are solely in the form of machine-executable object code generated by | ||
> a source language processor. | ||
> | ||
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
> FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT | ||
> SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE | ||
> FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, | ||
> ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
> DEALINGS IN THE SOFTWARE. | ||
@htmlonly </details> @endhtmlonly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,9 @@ | |
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
Contact: | ||
Lucas Czech <[email protected]> | ||
Department of Plant Biology, Carnegie Institution For Science | ||
260 Panama Street, Stanford, CA 94305, USA | ||
Lucas Czech <[email protected]> | ||
University of Copenhagen, Globe Institute, Section for GeoGenetics | ||
Oster Voldgade 5-7, 1350 Copenhagen K, Denmark | ||
*/ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,9 @@ | |
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
Contact: | ||
Lucas Czech <[email protected]> | ||
Department of Plant Biology, Carnegie Institution For Science | ||
260 Panama Street, Stanford, CA 94305, USA | ||
Lucas Czech <[email protected]> | ||
University of Copenhagen, Globe Institute, Section for GeoGenetics | ||
Oster Voldgade 5-7, 1350 Copenhagen K, Denmark | ||
*/ | ||
|
||
/** | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,9 +19,9 @@ | |
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
Contact: | ||
Lucas Czech <[email protected]> | ||
Department of Plant Biology, Carnegie Institution For Science | ||
260 Panama Street, Stanford, CA 94305, USA | ||
Lucas Czech <[email protected]> | ||
University of Copenhagen, Globe Institute, Section for GeoGenetics | ||
Oster Voldgade 5-7, 1350 Copenhagen K, Denmark | ||
*/ | ||
|
||
/** | ||
|
@@ -37,6 +37,7 @@ | |
#include "genesis/population/filter/filter_status.hpp" | ||
#include "genesis/population/filter/sample_counts_filter.hpp" | ||
#include "genesis/population/filter/sample_counts_filter_numerical.hpp" | ||
#include "genesis/population/filter/sample_counts_filter_positional.hpp" | ||
#include "genesis/population/filter/variant_filter.hpp" | ||
#include "genesis/population/filter/variant_filter_numerical.hpp" | ||
#include "genesis/population/filter/variant_filter_positional.hpp" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.