Hi Hui --

Questions about Chapel compiler source code are best directed to the chapel-developers mailing list or chatroom to avoid bothering users who don't also do Chapel development. I'm Cc:ing chapel-developers here to shift the conversation there, and ask that any subsequent responses drop the chapel-users list (which I left on for the sake of indicating where the thread went in the archives).

* '_ddata' is essentially the (poorly named) Chapel-level representation
  of a C dynamically-allocated array.  E.g., a ddata(c_int) would be
  equivalent to an int* that pointed to an allocated buffer of ints in C.

* In the implementation, "wide" is generally used to refer to a pointer
  value that may live in a different adderess space.  Such values are
  typically stored as a tuple of <locale ID, local address on that locale>

  So "wide pointer" would refer to a pointer that is potentially stored
  on a differente locale / in a different address space.

  I have to admit that the phrase "wide data class" doesn't inherently
  mean anything to me.  My guess would be that it's a ddata class on a
  remote locale.


Other than the (brief) comment fields in flags_list.h, the best ways to learn about a flag at present are to read the commit logs where it was introduced (or grep the commit log for references to it in chronological order) or to ask on the chapel-developers mailing list or chatroom.

-Brad


On Tue, 2 Dec 2014, Hui Zhang wrote:

Hello,

I have a very specific question in the Chapel compiler source code:  what
are exactly the "data class" (eg. _ddata), "wide pointer", "wide data
class" ? What are the differences between them and the normal classes ?

Alternatively, is there any explanation on all the flags listed in
compiler/include/flags_list.h ?

thanks !

--
Best regards


Hui Zhang
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Chapel-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-users

Reply via email to