Skip to content

Number of threads in forward_impl.cpp #32

Description

@inderpreetsingh01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions