similar to: [LLVMdev] JIT, incremental 'linking' and global variables.

Displaying 20 results from an estimated 1200 matches similar to: "[LLVMdev] JIT, incremental 'linking' and global variables."

2001 Jun 30
3
winelib runs but wine ok.... Why??
Hi all, I have a small program (~10k lines) that just uses elementry API (like SendMessage). It compiles under Borland C++ Builder 5.5.1 (for win exe) and under g++ with winlib. The problem is that the Builder EXE runs perfectly with WINE __BUT__ the library built with winlib does not run - spits out a segmentation faul @ line 400 (whatever that means) and some Error 139 with nothing else. All
2005 Jul 22
1
multiplicate 2 functions
Thks for your answer, here is an exemple of what i do with the errors in french... > tmp [1] 200 150 245 125 134 345 320 450 678 > beta18 Erreur : Objet "beta18" not found //NORMAL just to show it > eta [1] 500 > func1<-function(beta18) dweibull(tmp[1],beta18,eta) > func1<-func1(beta18) * function(beta18) dweibull(tmp[2],beta18,eta) Erreur dans dweibull(tmp[1],
2013 Oct 29
1
[LLVMdev] JIT'ing 2 functions with inter-dependencies
I am having problems JIT'ing 2 functions where one of them calls the other. (I am using the old JIT interface). Here is the setup: define void @func1() { entrypoint: call void @func2(void) ret void } define void @func2(void) { entrypoint: ret void } (I omit the arguments and function bodies for simplicity.) It's 'func1' that would be called from host code,
2008 Jun 06
1
calling a C function with a struct
I am trying to call a precompiled C function that uses a struct as one of it's arguments. I could write a wrapper function in C, but I was hoping there is some way to pack fields into an array of type raw that could be passed directly to the function. Here is some more detail. The C struct is simple, but has mixed types: struct STRUCT1 { long type; long nx; double
2015 Apr 19
2
[LLVMdev] LLVM IR for inline functions
Hi, I have a naive question on how to generate LLVM IR for inline functions. I have compiled this C code: *inline void func1()* * {* * int x=3;* * }* * void func2()* * {* * func1();* * int y = 4;* * }* into LLVM IR, using clang -emit-llvm -S -c <filename> But the generated LLVM IR file does *not* have func1() expanded (see below for the relevant parts). *; Function Attrs: nounwind
2009 Sep 14
1
[LLVMdev] How to split module?
Hi, all. My question is about how to split one module into N modules(N >= 2)? For example, given the following code: #src.c# int main() { //......// func1(); func2(); //......// return 0; } void func1() { //......// } void func2() { //......// } func1() has no dependence with func2(), so they can perform parallel execution. And I have to split src.c into src1.c
2003 Jun 09
1
Questions for package ts prediction
Dear helpers, I am trying to write a function to return prediction values using package ts. I have written three different versions since I am not sure what's wrong with my func2. func and func1 return the same results.But func1 and func2 don't. In particular, the only difference between "func1" and "func2" is the function variable name being y and data, respectively.
2000 Sep 06
2
reusing external functions across libs
Hi, I am searching for a way to solve the following problem: I want to use an external function, defined in a dyn.load()ed shared object, in another dyn.load()ed shared object. Currently I have to take the sources (Fortran) from one libraries src/ directory and copy them into the src/ dir of the other library, resulting in two copies of this function. This is bad for maintanance and maybe also
2011 Sep 06
2
Generalizing call to function
Hello guys, I would like to ask for help to understand what is going on in "func2". My plan is to generalize "func1", so that are expected same results in "func2" as in "func1". Executing "func1" returns... 0.25 with absolute error < 8.4e-05 But for "func2" I get... Error in dpois(1, 0.1, 23.3065168689948, 0.000429064542600244,
2011 Nov 30
0
[LLVMdev] -Wunreachable-code and templates
I'm just wondering if anyone's already working on addressing the current shortcomings around -Wunreachable-code in regards to templates. Take the following simple example: $ cat unreachable.cpp int func1(); int func2(); template<bool b> int func() { return !b ? func1() : func2(); } int main() { return func<true>() + func<false>(); } $ clang++ -Wunreachable-code
2008 Mar 12
0
R code for kernel density using kd-tree, looking for speed up
Dear R-help-list, The following is R function I wrote for computing multi-dimensional kernel density. I am seeking R experts who can make the code to run faster, 50 times faster ideally. Specifically, for function kernel.estimate = function(points, bw), the argument points is a d by n matrix as the n points in the d-dimensional space, bw is the bandwidth. The function will compute the kernel
2011 Feb 17
1
Integration with an Indicator Function in R
Hi all, I have some some problem with regard to finding the integral of a function containing an indicator function. please see the code below: func1 <- function(x, mu){ (mu^2)*dnorm(x, mean = mu, sd = 1)*dgamma(x, shape=2)} m1star <- function(x){ integrate(func1, lower = 0, upper = Inf,x)$val} T <- function(x){ 0.3*dnorm(x)/(0.3*dnorm(x)+0.7*m1star(x))} func2 <-
2003 Feb 03
0
extension of generic functions in methods package
How can I extend the signature of a generic function, because the following example is unclear for me. setClass("A",representation(data="numeric")); setGeneric("func",function(obj,...){ res <- standardGeneric("func"); res at cal <- match.arg(); return(res); }); func1.A <- function(obj){ print("A"); return(); }
2007 Jul 24
2
[LLVMdev] clang builds on Sparc/Linux!
Hello everyone, I am running an Enterprise 250 with Dual UltraSparc II's and 2 Gb ram running Aurora Sparc Linux 2.0 (2.6.13 kernel for Aurora is based on Fedora Core 3). GCC version 3.4.2. I built llvm-2.0 (the svn version) by just typing "./configure;make". I then downloaded clang from the svn repository (revision 40382) and changed to it's directory under
2007 Dec 31
1
Help with full and incremental dumps
I have an Overland Arcvault 12 library with a full LTO3 magazine of 400/800 GB tapes. It is connected directly to the fileserver via a SCSI card/cable. The two main directories I want to back up are /var/log, which is on one filesystem, and /home, which is on another. There are _currently_ no databases to worry about, but there may be active users logged in and active jobs running.
2006 Oct 31
0
6416794 zfs panics in dnode_reallocate during incremental zfs restore
Author: maybee Repository: /hg/zfs-crypto/gate Revision: fc64f8534e67547081ada693f0184cc19b89f5c9 Log message: 6416794 zfs panics in dnode_reallocate during incremental zfs restore 6425740 assertion failed: new_state != old_state Files: update: usr/src/uts/common/fs/zfs/arc.c update: usr/src/uts/common/fs/zfs/dnode.c
2012 Jan 01
0
using rsync for incremental raw disk backup?
I use off-site replication (rsync), but having backups on tape is also important The tape backup software offers a very thorough incremental and differential backup solution for UNIX filesystems, but for Windows filesystems that must be recoverable to a bootable state, I feel that only raw filesystem dumps are trustworthy. One strategy that comes to mind: a) rsync the raw device (an LVM2 volume
2003 Aug 14
1
Incremental Backup
Hi folks, What is the purpose of following statements? [ -d $HOME/emptydir ] || mkdir $HOME/emptydir rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/ Expecting reply. Baskar
2011 Jun 24
0
Why can zfs receive an incremental stream?
This is a known bug, CR 7043668. -- This message posted from opensolaris.org
2011 Sep 21
2
Using Dsync for Incremental Sync
Greetings, We have about 26 GB of email which we're trying to sync nightly to a remote server, but what I just read from a post from Timo awhile back is that it's not possible because dsync relies on message GUIDs which aren't available in the IMAP protocol. It seems that this is still the case, is there anything on the horizon for this to change? -- *Asai* Global Change