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

Use multiple processors #305

Open
AshleyYakeley opened this issue Aug 11, 2024 · 2 comments
Open

Use multiple processors #305

AshleyYakeley opened this issue Aug 11, 2024 · 2 comments

Comments

@AshleyYakeley
Copy link
Owner

AshleyYakeley commented Aug 11, 2024

Just need to call setNumCapabilities I think.

@AshleyYakeley AshleyYakeley added this to the 0.6 milestone Aug 11, 2024
@AshleyYakeley AshleyYakeley changed the title Not using multiple processors for compute-bound tasks Not using multiple processors for multiple async compute-bound tasks Aug 11, 2024
@AshleyYakeley
Copy link
Owner Author

Switching on SMP actually makes interpretation about 50% slower. So leaving this switched off.

@AshleyYakeley AshleyYakeley changed the title Not using multiple processors for multiple async compute-bound tasks Use multiple processors Aug 12, 2024
@AshleyYakeley
Copy link
Owner Author

May make this a Pinafore library command. In the mean time you can switch on SMP by passing +RTS -N -RTS to pinafore (probably).

@AshleyYakeley AshleyYakeley modified the milestones: 0.6, Speculative Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant