-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix memory initialisation problems in the clusterizer (again) #114
Fix memory initialisation problems in the clusterizer (again) #114
Conversation
cudaMallocHost(&fedId_h, sizeof(unsigned char)*WSIZE); | ||
// data structures size | ||
constexpr uint32_t vsize = sizeof(GPU::SimpleVector<pixelgpudetails::error_obj>); | ||
constexpr uint32_t esize = sizeof(pixelgpudetails::error_obj); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since these are defined in the implementation file (and so used only there), I think it would be a bit clearer/safer to define them in an anonymous namespace so that they would not "leak" to the namespace.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't disagree.
No description provided.