Copy report to the repo also (no code changes only comments)

This commit is contained in:
2024-11-21 15:18:39 +02:00
parent 494fdddd04
commit 381a5737db
8 changed files with 221 additions and 5 deletions
+15
View File
@@ -120,6 +120,13 @@ bool get_options(int argc, char* argv[]){
return status;
}
/*!
* Matrix load
*
* \fn void loadMtx(MatrixDst&, MatrixDst&)
* \param Corpus matrix to load to
* \param Query matrix to load to
*/
void loadMtx(MatrixDst& Corpus, MatrixDst& Query) {
if (access(session.outMtxFile.c_str(), F_OK) == 0)
std::remove(session.outMtxFile.c_str());
@@ -132,6 +139,14 @@ void loadMtx(MatrixDst& Corpus, MatrixDst& Query) {
// timer.print_dt("Load hdf5 files");
}
/*!
* Matrix store
*
* \fn void storeMtx(MatrixIdx&, MatrixDst&)
* \param Idx Index part(neighbors) of the matrix to store
* \param Dst Distances part of the matrix to store
*/
void storeMtx(MatrixIdx& Idx, MatrixDst& Dst) {
// timer.start();
Mtx::store<MatrixIdx, IdxHDF5Type>(session.outMtxFile, session.outMtxIdxDataSet, Idx);
+5 -1
View File
@@ -9,7 +9,11 @@
#include "v1.hpp"
/*!
* \fn void init_workers()
*
* Initialize worker settings
*/
void init_workers() {
#if defined CILK
size_t cilk_w = __cilkrts_get_nworkers();