Copy report to the repo also (no code changes only comments)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user