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

data races in smith-waterman code #100

Closed
chunhualiao opened this issue Oct 28, 2020 · 1 comment
Closed

data races in smith-waterman code #100

chunhualiao opened this issue Oct 28, 2020 · 1 comment

Comments

@chunhualiao
Copy link
Collaborator

https://github.com/TheFighters/Smith-Waterman/blob/master/omp_smithW.c

Default size does not trigger tools to report errors.

Data races are reported when 2048x2048 size is given.

    //Updates maximum score to be used as seed on backtrack
    if (max > H[*maxPos]) {
        #pragma omp critical
        *maxPos = index;
    }

Need to add this new pattern.

@peihunglin
Copy link
Collaborator

microbenchmark added.

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