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

OpenMP support #17

Closed
sivetic opened this issue Oct 5, 2011 · 0 comments
Closed

OpenMP support #17

sivetic opened this issue Oct 5, 2011 · 0 comments
Milestone

Comments

@sivetic
Copy link
Contributor

sivetic commented Oct 5, 2011

Visual C++ compiler only supports OpenMP 2.0, which stipulates that the for directive must use an int variable. ContractionCleanup.h (line 174) uses an unsigned, which fails to compile on Visual C++. To stay compatible with Visual C++, the loop variable will need to be changed to an int. Code:

#pragma omp parallel for
        for ( int i = 0; i < _graph.size(); i++ ) {
...
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