On Thu, Nov 12, 2015 at 08:43:53PM +0300, Ilya Verbin wrote: > > Can you please try to cleanup the liboffloadmic side of this, so that > > a callback instead of hardcoded __gomp_offload_intelmic_async_completed call > > is used? > > Do you mean something like the patch bellow? I'll discuss it with > liboffloadmic > maintainers.
Yeah; though am not 100% sure if a static variable settable by some function is the best way, in case liboffloadmic is used by more than just libgomp itself in the same process. > I'm trying to do it, but it will take some time... > > Unfortunately, target-32.c fails for me using emulation mode: I haven't managed to get it stuck yet (unlike the target-33.c one, see another mail), what OMP_NUM_THREADS you are using and how many cores/threads? Anyway, will try to figure out something from the backtrace you've provided. Jakub