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

[fpgrowth] Fix O3 option #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

hellcwang
Copy link

In my computer(linux 5.15 with nvidia 1070), -O3 will make program error. But when I using -O0 will generate the correct result. I found that in void *cst_to_gputree function has no return. When enable some optimization, compiler will generate error code.

Fix it by adding return ; at the end of the fpgrowth.c:1322.

Fix it by add `return` at the end of the fpgrowth:1312...
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

Successfully merging this pull request may close these issues.

None yet

1 participant