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

Integrate the CPU based implementation. #5

Open
juwhan-k opened this issue Nov 25, 2023 · 1 comment
Open

Integrate the CPU based implementation. #5

juwhan-k opened this issue Nov 25, 2023 · 1 comment
Assignees

Comments

@juwhan-k
Copy link
Collaborator

There is currently a CPU based implementation, but its speed is not optimal to say the least.

Probably, use the threadpool at https://github.com/juwhankim/another_cpp_thread, and make an equivalent to CUDA-like implementation?

@juwhan-k juwhan-k self-assigned this Nov 25, 2023
@juwhan-k
Copy link
Collaborator Author

juwhan-k commented Dec 7, 2023

Actually, we're experimenting with https://github.com/juwhankim/threadpool, a work stealing queue. It shows about x106 speed boost up, compared to the jitscript-pytorch based implementation of chacha20.

For the time being, the CPU implementation and integration will be the top priority task.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant