Dear gcc, I wanted to pass the address of an array defined in C code to the runtime schedule in libgomp. Basically I want to pass some information from the C code to the scheduler in OpenMp. I don't know how to achieve it. After analyzing the assembly code generated by GCC, I understood there is a GOMP_parallel_loop_maybe_nonmonotonic_runtime function which is called and if I am able to add a function pointer as argument to this function, I can do that. Please give some suggestions and pointers for me to achieve this or any other way if there is a simple solution to send data from c code to the scheduler in libgomp.
Please let me know. Thanks in advance. Regards, Prasoon