search for: r_n

Displaying 6 results from an estimated 6 matches for "r_n".

Did you mean: r_
2014 Oct 22
2
Using a custom memory allocation function in R
...the result as an argument. So in R I call something like n <- length(Y) res <- numeric(length=1) .Call("R_allocate_using_myalloc", n, res) res <- Y - mean(Y) and in C #include <R.h> #include <Rinternals.h> #include <numa.h> SEXP R_allocate_using_myalloc(SEXP R_n, SEXP R_res){ PROTECT(R_n = coerceVector(R_n, INTSXP)); PROTECT(R_res = coerceVector(R_res, REALSXP)); int *restrict n = INTEGER(R_n); R_allocator_t myAllocator; myAllocator.mem_alloc = numa_alloc_onnode; myAllocator.mem_free = numa_free; myAllocator.res = NULL; myAllocator.data =...
2011 Jun 06
2
[LLVMdev] PBQP & register pairing
...ne in 99% of the cases, but I am stumbling on the following issue. Instruction 'MPQD' takes 3 register operands inputs, with the constraint that operands 0 and 2 must be consecutive registers. Operand 1 has no particular constraint. It has no output register. So we have something like MPQD R_n, R_x, R_n+1. I have derived from PBQPBuilder to add the MPQD constraint. It happens sometimes that the code for register allocation looks like this : ... MPQD %vreg80, %vreg79, %vreg80; GR16:%vreg80,%vreg79 ... Operands 0 & 2 have been coalesced and I can no longer set the constraint....
2011 Jun 06
0
[LLVMdev] PBQP & register pairing
...in 99% of the cases, but I am stumbling on the following issue. > > Instruction ‘MPQD’ takes 3 register operands inputs, with the constraint that operands 0 and 2 must be consecutive registers. Operand 1 has no particular constraint. It has no output register. So we have something like MPQD R_n, R_x, R_n+1. > > I have derived from PBQPBuilder to add the MPQD constraint. > > It happens sometimes that the code for register allocation looks like this : > ... > MPQD %vreg80, %vreg79, %vreg80; GR16:%vreg80,%vreg79 > ... > Operands 0 & 2 have been coalesce...
2011 Jun 06
2
[LLVMdev] PBQP & register pairing
...am stumbling on the following issue. > > Instruction 'MPQD' takes 3 register operands inputs, with the > constraint that operands 0 and 2 must be consecutive registers. > Operand 1 has no particular constraint. It has no output register. > So we have something like MPQD R_n, R_x, R_n+1. > > I have derived from PBQPBuilder to add the MPQD constraint. > > It happens sometimes that the code for register allocation looks > like this : > ... > MPQD %vreg80, %vreg79, %vreg80; GR16:%vreg80,%vreg79 > ... > Operands 0 & 2 have been coale...
2001 Apr 03
3
single-pass algorithm for quantile calculation
Dear R users, I am looking for a reference to an algorithm for estimation of sample quantiles which does not require bringing the whole data into memory (more precisely its memory complexity should be much less than linear, ideally constant). I realize that such an algorithm can only be approximate and actually quite wrong for some samples, but that's fine with me. Thank you, Vadim
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking