[cfe-dev] SPIR target enables all CL optional extensions

David Airlie via cfe-dev cfe-dev at lists.llvm.org
Tue Jul 6 21:00:46 PDT 2021


On Wed, Jul 7, 2021 at 1:29 PM David Airlie <airlied at redhat.com> wrote:
>
> Hi,
>
> I'm trying to bring back up the mesa CL 3.0 support at the moment, and
> running into a problem I'm not sure how to solve.

Jesse set me straight on irc.
c->getTargetOpts().OpenCLExtensionsAsWritten.push_back("-__opencl_c_generic_address_space");

sprinkling a bunch of these around gets me going.

Dave.



More information about the cfe-dev mailing list