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

Fix the Windows pthread_create shim (Assertion failed: rc == 0) #128

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

boolemancer
Copy link
Contributor

@boolemancer boolemancer commented Nov 8, 2022

The current implementation doesn't actually set the out parameter, and it returns 0 on failure instead of on success.

This should fix people hitting the Assertion failed: rc == 0 failure.

I also made a change to fix the compiler flags to enable AVX2 in the MSVC build.

Should address at least some of the problems mentioned in #5.

The current implementation doesn't actually set the out parameter,
and it returns 0 on failure instead of on success.
Copy link
Owner

@ggerganov ggerganov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes!

@ggerganov ggerganov merged commit 0bfe728 into ggerganov:master Nov 8, 2022
mattsta pushed a commit to mattsta/whisper.cpp that referenced this pull request Apr 1, 2023
Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
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

2 participants