We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://gist.github.com/lhog/fd82bf5e36cea94ef50b1701a2c7ba53
causes error:
error C4146: unary minus operator applied to unsigned type, result still unsigned ..... taskflow\algorithm\sort.hpp 42
Basically it dislikes -cacheline_size in https://github.com/taskflow/taskflow/blob/v3.6.0/taskflow/algorithm/sort.hpp#L42
-cacheline_size
I believe it can be replaced with: ip = (ip + cacheline_size - 1) & ~(cacheline_size - 1);
ip = (ip + cacheline_size - 1) & ~(cacheline_size - 1);
But I'm not entirely sure.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://gist.github.com/lhog/fd82bf5e36cea94ef50b1701a2c7ba53
causes error:
Basically it dislikes
-cacheline_size
in https://github.com/taskflow/taskflow/blob/v3.6.0/taskflow/algorithm/sort.hpp#L42I believe it can be replaced with:
ip = (ip + cacheline_size - 1) & ~(cacheline_size - 1);
But I'm not entirely sure.
The text was updated successfully, but these errors were encountered: