8000 [BUG FIXES] const qualify PFAC_readPatternFromFile() filename, update to __ballot_sync to support newer GPU architectures by Arleee1 · Pull Request #8 · pfac-lib/PFAC · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[BUG FIXES] const qualify PFAC_readPatternFromFile() filename, update to __ballot_sync to support newer GPU architectures #8

New issue 8000

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Arleee1
Copy link
@Arleee1 Arleee1 commented Feb 28, 2025

Const qualify filename parameter of PFAC_readPatternFromFile( PFAC_handle_t handle, const char *filename ). This allows it to take in strings without using strcpy() first.

Replaces all __ballot(predicate) cuda calls with __ballot_sync(__activemask(), predicate) to remove deprecated __ballot calls. __ballot no longer works on SM_70 and higher architectures, while __ballot_sync(__activemask(), predicate) retains the same functionality.

Does not change existing functionality.

@Arleee1 Arleee1 force-pushed the string_const_and_ballot branch from 4d7db15 to 4644033 Compare March 1, 2025 00:27
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.

1 participant
0