OpenMP® Forum

Discussion on the OpenMP specification run by the OpenMP ARB. OpenMP and the OpenMP logo are registered trademarks of the OpenMP Architecture Review Board in the United States and other countries. All rights reserved.

I'm studying OpenMP on TI's TMS320C6678 DSP this days.This platform has 8 cores,each core can execute different program.So,there is the problem.We load 4 different program in the first 4 master cores,and the remaining cores are just waiting to support OpenMP's instructions.We just want each core to have one slave core to participate in parallel computing,so we set "omp_set_num_threads(1)" on each program.How could we control which of the remaining cores apply to the specific first 4 master cores,just like core 0-4 work in a group,core 1-5 work in another group,so core 2-6 and core 3-7 ? In the OpenMP v4.0 specification,I just find OMP_PROC_BIND environment variable to use in the situation like me,but I don't think it could solve my problem. I think my situation is instructive and why OpenMP doesn't support instruction to bind the specific core to the specific parallel thread,just like "omp_set_proc_bind(coreNum,threadNum)" ?