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.
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.
Comment