[Beignet] [PATCH] Make Beignet work with LLVM 3.3
Dag Lem
dag at nimrod.no
Tue Jun 4 04:31:55 PDT 2013
"Zhigang Gong" <zhigang.gong at linux.intel.com> writes:
[...]
> [Gong, Zhigang] In general, I agree to migrate to SPIR from NVPTX. Last
> time, I noticed
> SPIR which is not supported completely in clang/llvm. And there is no
> backend using SPIR.
> It seems the situation become better now? At least, your patch works fine.
As far as I can tell, the LLVM SPIR target is (at least currently) a
drop-in replacement for the NVPTX target - the important difference for
Beignet being that SPIR uses the required OpenCL address space
conventions.
However I have no real knowledge in this field, I simply tried the SPIR
target in frustration over the address space problems I experienced with
NVPTX, and SPIR just happened to work.
--
Best regards,
Dag Lem
More information about the Beignet
mailing list