-
Notifications
You must be signed in to change notification settings - Fork 56
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
1 parent
55c0a70
commit baf06ad
Showing
9 changed files
with
842 additions
and
639 deletions.
There are no files selected for viewing
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
3.3.1 | ||
3.3.2 |
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 |
---|---|---|
|
@@ -869,7 +869,7 @@ void ProcessCommandline(int argc, char * argv[]) | |
|
||
int main(int argc, char * argv[]) | ||
{ | ||
fprintf(stdout, "This is bsc, Block Sorting Compressor. Version 3.3.1. 15 February 2023.\n"); | ||
fprintf(stdout, "This is bsc, Block Sorting Compressor. Version 3.3.2. 24 March 2023.\n"); | ||
fprintf(stdout, "Copyright (c) 2009-2023 Ilya Grebnov <[email protected]>.\n\n"); | ||
|
||
#if defined(_OPENMP) && defined(__INTEL_COMPILER) | ||
|
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Changes in 1.5.0 (March 24, 2023) | ||
- Reduced memory usage and improved performance. | ||
|
||
Changes in 1.0.0 (February 10, 2023) | ||
- Initial public release of the libcubwt. | ||
|
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 |
---|---|---|
@@ -1 +1 @@ | ||
1.0.0 | ||
1.5.0 |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/*-- | ||
This file is a part of libcubwt, a library for CUDA accelerated | ||
suffix array and burrows wheeler transform construction. | ||
burrows wheeler transform construction. | ||
Copyright (c) 2022-2023 Ilya Grebnov <[email protected]> | ||
|
@@ -25,9 +25,9 @@ Please see the file LICENSE for full copyright and license details. | |
#define LIBCUBWT_CUH 1 | ||
|
||
#define LIBCUBWT_VERSION_MAJOR 1 | ||
#define LIBCUBWT_VERSION_MINOR 0 | ||
#define LIBCUBWT_VERSION_MINOR 5 | ||
#define LIBCUBWT_VERSION_PATCH 0 | ||
#define LIBCUBWT_VERSION_STRING "1.0.0" | ||
#define LIBCUBWT_VERSION_STRING "1.5.0" | ||
|
||
#define LIBCUBWT_NO_ERROR 0 | ||
#define LIBCUBWT_BAD_PARAMETER -1 | ||
|
@@ -57,37 +57,6 @@ extern "C" { | |
*/ | ||
int64_t libcubwt_free_device_storage(void * device_storage); | ||
|
||
/** | ||
* Constructs the suffix array (SA) of a given string. | ||
* @param device_storage The previously allocated storage on the CUDA device. | ||
* @param T [0..n-1] The input string. | ||
* @param SA [0..n-1] The output array of suffixes. | ||
* @param n The length of the input string. | ||
* @return LIBCUBWT_NO_ERROR if no error occurred, libcubwt error code otherwise. | ||
*/ | ||
int64_t libcubwt_sa(void * device_storage, const uint8_t * T, uint32_t * SA, int64_t n); | ||
|
||
/** | ||
* Constructs the inverse suffix array (ISA) of a given string. | ||
* @param device_storage The previously allocated storage on the CUDA device. | ||
* @param T [0..n-1] The input string. | ||
* @param ISA [0..n-1] The output inverse array of suffixes. | ||
* @param n The length of the input string. | ||
* @return LIBCUBWT_NO_ERROR if no error occurred, libcubwt error code otherwise. | ||
*/ | ||
int64_t libcubwt_isa(void * device_storage, const uint8_t * T, uint32_t * ISA, int64_t n); | ||
|
||
/** | ||
* Constructs the suffix array (SA) and inverse suffix array (ISA) of a given string. | ||
* @param device_storage The previously allocated storage on the CUDA device. | ||
* @param T [0..n-1] The input string. | ||
* @param SA [0..n-1] The output array of suffixes. | ||
* @param ISA [0..n-1] The output inverse array of suffixes. | ||
* @param n The length of the input string. | ||
* @return LIBCUBWT_NO_ERROR if no error occurred, libcubwt error code otherwise. | ||
*/ | ||
int64_t libcubwt_sa_isa(void * device_storage, const uint8_t * T, uint32_t * SA, uint32_t * ISA, int64_t n); | ||
|
||
/** | ||
* Constructs the Burrows-Wheeler Transform (BWT) of a given string. | ||
* @param device_storage The previously allocated storage on the CUDA device. | ||
|
@@ -98,17 +67,6 @@ extern "C" { | |
*/ | ||
int64_t libcubwt_bwt(void * device_storage, const uint8_t * T, uint8_t * L, int64_t n); | ||
|
||
/** | ||
* Constructs the Burrows-Wheeler Transform (BWT) and inverse suffix array (ISA) of a given string. | ||
* @param device_storage The previously allocated storage on the CUDA device. | ||
* @param T [0..n-1] The input string. | ||
* @param L [0..n-1] The output string (can be T). | ||
* @param ISA [0..n-1] The output inverse array of suffixes. | ||
* @param n The length of the input string. | ||
* @return The primary index if no error occurred, libcubwt error code otherwise. | ||
*/ | ||
int64_t libcubwt_bwt_isa(void * device_storage, const uint8_t * T, uint8_t * L, uint32_t * ISA, int64_t n); | ||
|
||
/** | ||
* Constructs the Burrows-Wheeler Transform (BWT) of a given string with auxiliary indexes. | ||
* @param device_storage The previously allocated storage on the CUDA device. | ||
|
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