Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugReport #6

Open
RileyYe opened this issue Feb 16, 2022 · 1 comment
Open

BugReport #6

RileyYe opened this issue Feb 16, 2022 · 1 comment

Comments

@RileyYe
Copy link

RileyYe commented Feb 16, 2022

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();
}

.

@WayneDW
Copy link
Owner

WayneDW commented Mar 23, 2022

Hi, Riley, thanks for pointing out this issue. Since this link has not been updated for quite a while, I will leave your suggestion here to let others know.

Thanks a lot again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants