Hello,
There is an example(code) part with openmp in the following link (http://processors.wiki.ti.com/index.php/MCSDK_Image_Processing_Demonstration_Guide#Keystone_II)
Could you built a project which includes following openmp code part? and share the project, project file and how to do step by step.
I know i become hard customer but i conflict consist confused and blah blah blah...
The platform of the project is that: TCI6630K2L board CSS6.1 and ubuntu.
Also i am the member of openmp.org and share issues how to overcome, so it is important for members. (also ti devices become popular with easy applications.)
Thx for your patient.
Best Regards
Emrah
the code part is that:
#pragma omp parallel for shared(p_slice, number_of_slices, ret_val) private(i)
for (i = 0; i < number_of_slices; i++ ) {
DEBUG_PRINT(printf("Processing slice # %d\n", i);)
/* Process a slice */
process_rgb (&p_slice[i]);
if (p_slice[i].flag != 0) {
printf("mc_process_bmp: Error in processing slice %d\n", i);
#pragma omp atomic
ret_val = -1;
}
DEBUG_PRINT(printf("Processed slice # %d\n", i);)
}
if (ret_val == -1) {
goto close_n_exit;
}