Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
michabirklbauer authored Jul 31, 2023
1 parent ab277c1 commit 52f87e9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
Searching for candidates using sparse matrix + [sparse] vector/matrix multiplication.

Implements the following methods across two DLLs:
- VectorSearch.dll:
- [VectorSearch.dll](https://github.com/hgb-bin-proteomics/CandidateVectorSearch/blob/master/VectorSearch/dllmain.cpp):
- findTopCandidates: sparse matrix - sparse vector multiplication using [Eigen](https://eigen.tuxfamily.org/).
- findTopCandidatesBatched: sparse matrix - sparse matrix multiplication using [Eigen](https://eigen.tuxfamily.org/).
- VectorSearchCUDA.dll:
- [VectorSearchCUDA.dll](https://github.com/hgb-bin-proteomics/CandidateVectorSearch/blob/master/VectorSearchCUDA/dllmain.cpp):
- findTopCandidates: sparse matrix - dense vector multiplication using [CUDA](https://developer.nvidia.com/cuda-toolkit) ([SpMV](https://docs.nvidia.com/cuda/cusparse/index.html#cusparsespmv)).
- findTopCandidatesBatched: sparse matrix - sparse matrix multiplication using [CUDA](https://developer.nvidia.com/cuda-toolkit) ([SpGEMM](https://docs.nvidia.com/cuda/cusparse/index.html#cusparsespgemm)).
- findTopCandidatesBatched2: sparse matrix - dense matrix multiplication using [CUDA](https://developer.nvidia.com/cuda-toolkit) ([SpMM](https://docs.nvidia.com/cuda/cusparse/index.html#cusparsespmm)).
Expand All @@ -15,6 +15,12 @@ VectorSearch.dll implements functions that run on the CPU, while VectorSearchCUD

Which functions should be used depends on the problem size and the available hardware. A recommendation is depicted at the figure at the bottom.

## Documentation

Functions are documented within the source code:
- [VectorSearch.dll](https://github.com/hgb-bin-proteomics/CandidateVectorSearch/blob/master/VectorSearch/dllmain.cpp)
- [VectorSearchCUDA.dll](https://github.com/hgb-bin-proteomics/CandidateVectorSearch/blob/master/VectorSearchCUDA/dllmain.cpp)

## Benchmarks

tbd
Expand Down

0 comments on commit 52f87e9

Please sign in to comment.