Git Product home page Git Product logo

Comments (2)

swatanabe avatar swatanabe commented on August 30, 2024

AMDG

On 10/13/2014 07:11 AM, Nenad Vukicevic wrote:

At the beginning, I think the idea was to convert RP pointer into the UPC pointer before we call the runtime. This way we can have only one interface. But I see that this is not that useful as the interface is very simple and there is no point in generation the code of putting it back to the form fo rthe purpose of the AP only (we do not use phase in the runtime).

However, we can probably do better if instead of having the general get/put interface, we have it based on the type (i8, i16, i32, ....). This will minimize the possible inlined generated code for access routines (at least for the SMP runtime and on node accesses for p4/libfabric).

So, instead of:

upcr_llvm_getn ()

we would have

upcr_llvm_get_i8()
upcr_llvm_get_i16()
upcr_llvm_get_i32()
upcr_llvm_get_i64()
upcr_llvm_get_i128()
...

Right. As far as naming conventions go,
I assume it should be get_float, get_double,
and get_pointer as well? Am I forgetting
anything?

In Christ,
Steven Watanabe

from llvm-upc.

nenadv avatar nenadv commented on August 30, 2024

On 10/15/14 6:17 PM, swatanabe wrote:

Right. As far as naming conventions go,
I assume it should be get_float, get_double,
and get_pointer as well? Am I forgetting
anything?

I think that we should have whatever LLVM types are. Make sense? I do
not recall having pointer type in the clang interface.

from llvm-upc.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.