Multi-master simultaneously initiate parallel thread

General OpenMP discussion

Multi-master simultaneously initiate parallel thread

Postby Wei He » Sun Jun 02, 2013 10:47 pm

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)" ?
Wei He
 
Posts: 1
Joined: Sun Jun 02, 2013 9:23 pm

Return to Using OpenMP

Who is online

Users browsing this forum: Google [Bot], Yahoo [Bot] and 10 guests