search for: strucst

Displaying 3 results from an estimated 3 matches for "strucst".

Did you mean: strcst
2012 Sep 12
0
[LLVMdev] SPIR Portability Discussion
...ment of pointers, > but it might use pointers in the usual way (except from using GEP when the pointed type has unknown size - this one is illegal in SPIR and will fail the SPIR verification pass which was written by Khronos members) I don't understand the GEP restriction. Can I use GEP on strucst with pointers or size_t ? This is important if OpenCL 2.0 allows structs with pointers (for implementing linked lists, etc). Also, future OpenCL versions may introduce C++ features to the language. You need to be prepared to supports these features in SPIR. For example, c++ references may requi...
2012 Sep 12
1
[LLVMdev] SPIR Portability Discussion
...ut it might use pointers in the usual way (except from using GEP > when the pointed type has unknown size - this one is illegal in SPIR > and will fail the SPIR verification pass which was written by Khronos > members) > > I don't understand the GEP restriction. Can I use GEP on strucst with > pointers or size_t ? [Villmow, Micah] Yes, pointers inside of structures are well defined. > This is important if OpenCL 2.0 allows structs with pointers (for > implementing linked lists, etc). > > Also, future OpenCL versions may introduce C++ features to the > language....
2012 Sep 12
5
[LLVMdev] SPIR Portability Discussion
Hey All, This is a very big topic in SPIR and probably a very controversial one as well. It includes dealing with 32 vs. 64 bit architectures and OpenCL "C" endianness. We have written down some of the aspects, but of course did not cover everything - let's start a discussion on the portability and see where it takes us. I suggest we start with the 32 vs. 64 bits discussion and then