On 09/06/2018 12:24 AM, Cesar Philippidis wrote: >>>>> This is ok (with, as I mentioned above, the SI part split off into a >>>>> separate patch), on the condition that you test libgomp with >>>>> -foffload=-misa=sm_35.
>>> Adding -foffload=misa=sm_35 didn't work because the host gcc doesn't >>> support the -misa flag. >> That doesn't make sense to me. For me this works without any problems. >> Have you tried a clean build? > I was incorrectly setting ALWAYS_CFLAGS to use -foffload=-misa=sm_35. > That didn't work on the host. That's the approach I used, and it worked for me without any problems. Why do you think that approach is incorrect? Thanks, - Tom