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

Number of threads in forward_impl.cpp #32

Open
inderpreetsingh01 opened this issue Feb 15, 2022 · 0 comments
Open

Number of threads in forward_impl.cpp #32

inderpreetsingh01 opened this issue Feb 15, 2022 · 0 comments

Comments

@inderpreetsingh01
Copy link
Contributor

Description of the problem

  • using layer->len_ops number of threads may cause an issue for a neural network where the input dimension is high.
  • Threads need not be passed to _rr_scheduler in the present implementation.
    while(layer != NULL)
    {
    unsigned threads = layer->len_ops, i;
    thread* pool[threads];
    op_queue<data_type>* jobs[threads][2];
    _rr_scheduler<data_type>(layer, jobs, threads);

Example of the problem

References/Other comments

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

No branches or pull requests

1 participant