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

run taichi using multiple cpus #8396

Open
liuyunpu opened this issue Oct 28, 2023 · 3 comments
Open

run taichi using multiple cpus #8396

liuyunpu opened this issue Oct 28, 2023 · 3 comments
Labels
feature request Suggest an idea on this project

Comments

@liuyunpu
Copy link

Concisely describe the proposed feature
it seems taichi cannot use two cpus(two cpus on one motherboard) when using cpu backend, only one cpu is working, as shown below.
732437599d0efebecedead1457826ffa2ca123ab

Will taichi supports multiple cpus in the future?

@liuyunpu liuyunpu added the feature request Suggest an idea on this project label Oct 28, 2023
@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Oct 28, 2023
@jim19930609
Copy link
Contributor

Hmmm, so far we only support using multi-cores of a single CPU. I think it's a long way to go to support dispatching kernel tasks across different CPUs

@jim19930609 jim19930609 moved this from Untriaged to Backlog in Taichi Lang Nov 29, 2023
@yanang007
Copy link

As a workaround, you may manually divide tasks and use process pool to launch mutilple kernels to utilize multi-cpu, which is how our project works for now.

@liuyunpu
Copy link
Author

As a workaround, you may manually divide tasks and use process pool to launch mutilple kernels to utilize multi-cpu, which is how our project works for now.

thanks, that seems a viable solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Suggest an idea on this project
Projects
Status: Backlog
Development

No branches or pull requests

3 participants