Comments (2)
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.
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)
- UPC-IR: parametrize Remote Pointer (RP) HOT 1
- UPC-IR: runtime interface
- Test issue HOT 1
- UPC-IR: disable LLVM UPC lowering pass if IR emit requested HOT 1
- UPC-IR: atomic store operand must be power-of-two byte-sized integer HOT 1
- UPC-IR: struct pointer representation HOT 3
- UPC-IR: disable LLVM IR for 32 bit machines HOT 1
- UPC-IR: Configuring with autoconf tools fails HOT 2
- Build failure on OpenBSD-5.6 HOT 2
- Build failure on NetBSD-6.1.5 HOT 1
- Build failure (bad linker flags) on Solaris-11 HOT 3
- merge of 3.8 broke configure (unresolved conflicts) HOT 3
- Policy "CMP0048" is not known to this version of CMake. HOT 3
- Build failure (unittests) on Solaris HOT 10
- Solaris: wrong gcc install selected HOT 11
- cmake-specific build failure on Solaris HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from llvm-upc.