Skip to content

BugReport #6

@RileyYe

Description

@RileyYe

Template class SparseMatrix is in namespace SparseMatrix.
So for all SparseMatrix referred in criteo_latency.cpp, they should be revised to SparseMatrix::SparseMatrix, or using namespace SparseMatrix.

Also, the function cnt_time is not available, because of the failure of static type casting.
The error can be eliminated if revise this function to

template <typename T>
double cnt_time(T start, T end) {
    auto diff = end - start;
    return chrono::duration <double, milli>(diff).count();
}

.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions