https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100573
--- Comment #17 from Alexander Monakov <amonakov at gcc dot gnu.org> --- Yes, I'd agree normally it's present in the offload table, but ideally if you're trying to stub out the call, it should not be present in the offload table. I think Tobias is saying that on GIMPLE this function does not have 'omp target entrypoint' attribute attached to it? If so, that's causing a problem, because the backend will not synthesize the corresponding PTX .global function. Each function named in the offload table should be 'omp target entrypoint'.