Announcement

Collapse
No announcement yet.

how to use E-cores and P-cores with equal threads

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to use E-cores and P-cores with equal threads

    I use multi-threading for image processing. Images are processed in horizontal strips. All is good. I use the _SC_PROCESSORS_ONLN value to decide how many threads to launch. For this kind of processing I don't think I should use the E-cores only the P-cores.

    Is there some way to tell the compiler which type of cores to use ? Can the OS just figure it all out ? Once upon a time all threads were equal...

    This is all happening in a C program with GCC and Linux, of course.

  • #2
    I may have found the answer here https://man7.org/linux/man-pages/man...nity_np.3.html

    Comment

    Working...
    X