Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] opengl es 2"
2013 Jan 26
1
[LLVMdev] lli problem with a simple OpenGL
Hello,
I wrote a very simple openGL application, as below
#include
#include
int main(int argc, char **argv)
{
glutInit(&argc, argv);
glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH);
glutCreateWindow("red 3D lighted cube");
printf("GL_VERSION = %s\n",glGetString(GL_VERSION) );
return 0;
}
Compiling it with Clang and adding -lglut option worked
2010 Oct 21
1
Different time between date() and Sys.date()
Hi,
I got two different times between these functions :
> date()
[1] "Thu Oct 21 12:11:37 2010"
> Sys.time()
[1] "2010-10-21 10:11:40 GMT"
>
I know that its because I did Sys.setenv(TZ="GMT"). Even if my system is set by default at CEST.
I think that the difference between date() and Sys.time() is equal to the difference between CEST and GMT.
I would like
2011 Jan 12
0
flexmix: predictions on new data from flexmix object
Dear R Users, R Core Team,
I currently wonder how to predict the probability of an event with new data resulting from a finite mixture.
I read the documentation of the flexmix package and the examples of applications provided on CRAN but I could not find how to predict (except "manually" but I am looking for a simpler solution) the final probability of the mixture (for each individual)
2013 Oct 09
0
[LLVMdev] Implementing a new feature in LVVM
Hello everyone,
I'm relatively new to LLVM and I would like to implement a feature, so I want your advice on its feasibility and difficulty. I want the code generator to support such code :
%1 = ; <4 x float> vector
%2 = ; <4 x float> vector
%3 = fcmp ogt <4 x float> %1, %2
%4 = bitcast <4 x i1> %3 to i4
%5 = zext i4 %4 to i32
and generate a movmskps instruction
2010 Nov 22
1
RCurl : All connection are used ?
Hi everybody,
I got a problem with the ftpUpload function from the RCurl package. My goal is to Upload a lot of files from a local directory to a web server.
1st try :
for (i in 1:length(file)){
ftpUpload(what=files[i],to=files[i])
}
At i=11 I get : (my server has only 10 available open connections available) :
Erreur dans curlPerform(url = to, upload = TRUE, readfunction =
Data.frames : difference between x$a and x[, "a"] ? - How set new values on x$a with a as variable ?
2010 Sep 10
2
Data.frames : difference between x$a and x[, "a"] ? - How set new values on x$a with a as variable ?
Hi,
I got two questions :
1st Question
a="S"
b=data.frame(S=3)
do.call(`<-`,list(do.call(`$`,list(b,"S")),5))
=> How can I put new values on S column having the column name as a variable ?
2 nd Question
a="S"
b=data.frame(S=3)
b[,"S"]=list(1:10) #Doesnt works
b$S=list(1:10) #Works
=>
2010 Sep 02
1
Using library and lib.loc
Hi,
I didn't find any post on this subject so I ll ask you some advices.
Let's say that I have two library trees.
Number 1 is the default R library tree on path1
Number 2 is another library tree on a server with all packages on path2.
When I set library(aaMI,lib.loc=paths2) it loads the package even if its not on default R library
When I set library(fOptions,lib.loc=paths2) it
2010 Jul 01
0
Cholmod warning when fitting a poisson GLMM
Hi,
I am getting a warning message when I am fitting a generalized mixed model (mod_2) and I don't understand why because when I add just an interaction factor the model works perfectly (mod_1).
Does anyone know what it happpens ?
Thanks,
Aïda
> mod_1<-lmer(sur15~soeviv15_4plus+frviv15_4plus+frat_15death+dad_class_new+soeviv15_4plus:dad_class_new +frviv15_4plus:dad_class_new+
2013 Nov 03
3
[LLVMdev] loop vectorizer issue
Actually what I meant in my original loop, that there is a dependency
between every two consecutive iterations. So, how the loop vectorizer says
'we can vectorize this loop'?
for(int k=20;k<50;k++)
dataY[k] = dataY[k-1];
From: Henrique Santos [mailto:henrique.nazare.santos at gmail.com]
Sent: Sunday, November 03, 2013 4:28 PM
To: Sara Elshobaky
Cc: <llvmdev at
2013 Nov 03
0
[LLVMdev] loop vectorizer issue
Hi Sarah,
the loop vectorizer runs not on the C code but on LLVM IR this c code was lowered to. Before the loop vectorizer runs many other optimization change the shape of this IR.
You can see in the LLVM IR you referenced below, a preceding LLVM IR transformation has change your loop from:
> for(int k=20;k<50;k++)
> dataY[k] = dataY[k-1];
to
> int a = d[19];
>
2013 Nov 03
2
[LLVMdev] loop vectorizer issue
Hello,
I was trying to trace the Loop vectorizer of the LLVM, I wrote a simple loop
with a clear dependency.
But found that the debug shows that 'we can vectorize this loop'
Here you are my loop with dependency:
for(int k=20;k<50;k++)
dataY[k] = dataY[k-1];
And the debug prints:
LV: Checking a loop in "main"
LV: Found a loop: for.body4
LV: Found an
2013 Nov 03
0
[LLVMdev] loop vectorizer issue
Notice that the code you provided, for globals and stack allocations, at
least,
is semantically equivalent to:
int a = d[19];
for(int k = 20; k < 50; k++)
dataY[k] = a;
Like so, the load you see missing was redundant, probably hoisted by
GVN/PRE
and replaced with "%.pre".
H.
On Sun, Nov 3, 2013 at 11:26 AM, Sara Elshobaky <sara.elshobaky at gmail.com>wrote:
>
2013 Oct 07
1
[LLVMdev] llvm jit
So, what is the use of the profile passes in LLVM?
Also, does llvm detect hot blocks of code for recompilation?
On Mon, Oct 7, 2013 at 4:44 PM, Amara Emerson <amara.emerson at arm.com> wrote:
> No, the JIT does not do any profile guided optimizations for any
> architecture. It just uses the static compilation components before loading
> the object into memory and running its own
2014 Sep 01
2
[LLVMdev] Modify a module at runtime in MCJIT
Hello,
I'm using MCJIT to run some loops on my ARM processor.
I was trying to perform some runtime optimizations on some function, and
this requires recompiling the function at runtime.
I know that this feature is not available yet in MCJIT , and to modify a
function I have to create a new module with the newly optimized code.
My questions are:
- The newly created module can be
2013 Oct 04
1
[LLVMdev] Runtime optimizer
Hello,
Please, I need more information on the runtime optimizer used in the LLVM
JIT.
- Where can I find it in the LLVM source code?
- Are those runtime optimizations done on the LLVM representation
code or on the machine code?
Sara
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Jan 26
3
[LLVMdev] Number of instructions executed
Hello,
I'm executing my byte code program by the lli tool using mcjit.
I need a way to find statistics about the number of instructions executed
for my program.
The -stats option does not include this value, are there any other way to
know?
I need this information to compare different versions of my bytecode
program.
Please advice
Thanks in advance
Sara Elsohbaky
--------------
2011 May 16
0
winbind net join password
> Message du 16/05/11 08:19
> De : "sergio.conrad"
> A : sergio.conrad at laposte.net
> Copie ? :
> Objet :
>
> Hello everybody...
>
> I am using winbind for joining Linux machine to Windows Active Directory (version Fedora 14)
> I use authconfig for generating configuration's files
>
> Everything is working perfectly
>
> For joining
2014 Feb 25
2
[LLVMdev] noinline attribute problem
Hello,
I have the following simple C code below. It should return '8' as a result.
But the returned result is false as it returns '1'.
When I remove the line of '__attribute__((noinline))' , the returned results
are correct '8'.
Any idea? Please advice as I need to get the assembly code of the
'getTexSize' function alone.
Note: I compile using the
2012 Aug 24
4
Network with xen 4.2
Hallo Mailinglist:),
i used xen 4.1 with xend xm a while. I compiled the unstable 4.2 today and most thinks run fine :). I have only one big problem, the network for my guestsystems. It don't want to work. Hopefully somebody can help me.
In Xen 4.1 i only wrote the following line in my questconfig:
vif = [ "bridge=eth0,script=vif-bridge" ]
And everything works fine. This does not
2013 Oct 07
1
[LLVMdev] llvm jit
hello,
I have a question about the llvm jit.
Does it use the profile information generated during runtime to enhance the
generated code for arm processor?
according to 'LLVM: A Compilation Framework for Lifelong Program
Analysis **<http://llvm.org/pubs/2004-01-30-CGO-LLVM.html>'
it is available but can't find it in the current source code.
I really appreciate any help.
Thanks in