search for: csr

Displaying 20 results from an estimated 345 matches for "csr".

Did you mean: cs
2005 Jan 28
2
read.matrix.csr bug (e1071)?
Hello, I would like to read and write sparse matrices using the functions write.matrix.csr() and read.matrix.csr() of the package e1071. Writing is OK but reading back the matrix fails: x <- rnorm(100) m <- matrix(x, 10) m[m < 0.5] <- 0 m.csr <- as.matrix.csr(m) write.matrix.csr(m, "sparse.dat") read.matrix("sparse.dat") Error in initialize(val...
2003 Aug 24
2
setClass question
I would like to add a class to the SparseM package. I have a class "matrix.csr" that describes a matrix in compressed sparse row format, now I would like a class matrix.diag.csr that describes such objects when they happen to be diagonal. The idea is that matrix.diag.csr objects should behave (later in life) exactly like matrix.csr objects, the distinction is only needed...
2014 Jul 10
2
[LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?
...or OpenCL 64-bit version + spir64, // SPIR: standard portable IR for OpenCL 64-bit version + kalimba // Kalimba: generic kalimba }; enum VendorType { UnknownVendor, @@ -89,7 +90,8 @@ Freescale, IBM, ImaginationTechnologies, - NVIDIA + NVIDIA, + CSR }; enum OSType { UnknownOS, Index: lib/Support/Triple.cpp =================================================================== --- lib/Support/Triple.cpp (revision 212686) +++ lib/Support/Triple.cpp (working copy) @@ -50,6 +50,7 @@ case amdil: return "amdil";...
2004 Nov 26
1
Namespaces, coercion and setAs
I'm trying to resolve a small problem that has arisen from introducing a NAMESPACE for the package SparseM. Prior to the namespace I had a class "matrix.diag.csr" that consisted of diagonal sparse matrices. It was defined to have the same attributes as the matrix.csr class and setAs was used to define how to coerce integers and vectors into this form: setClass("matrix.diag.csr","matrix.csr") setAs("numeric","matr...
2014 Jul 09
5
[LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?
...rday I posted a patch request to the llvm-commits list requesting that someone could apply a patch to Triple.h and Triple.cpp for me. I didn't get any response so I wondered whether I should have posted to this list instead. My story is as follows: we are trying to get lldb/llvm support for CSRs range of Kalimba DSPs. Eventually we are planning to hire someone to write an LLVM backend for the core, but currently we/I are making to do with porting lldb to debug Kalimba chips via a bespoke gdbserver implementation. In order to get lldb to recognise Kalimba DSPs I have had to add defin...
2014 Sep 05
4
[LLVMdev] HELP! Recent failure on llvm buildbot
...replicate the build of the last 2 targets listed in the log, I did see this, on my machine: $ ninja LLVMCodeGen [15/15] Linking CXX shared library lib/libLLVMCodeGen.so $ ninja LLVMMipsCodeGen ninja: error: unknown target 'LLVMMipsCodeGen' Can anyone help? thanks Matt Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom More information can be found at www.csr.com. Keep up to date with CSR on our technical blog, www.c...
2007 Oct 01
1
[nls] singular gradient
Hi, I am new to R. I don't have strong background of statistics. I am a student of Geotechnical Engineering. I tried to run a nonlinear regression for a three-variable function, that is N = f(CSR, ev) # N is a function of CSR and ev, and N = CSR/(A +B*CSR), wherer (A,B) are function of ev. N, CSR and ev are observed in the experiments. Following is my R script. rm(list=ls()) library(nlme) # assign data N <- c (30.03,16.62,10.88,36.47,20.24,38.17,36.47,34.80,19.00,32.37,14.40,35.63...
2017 Nov 17
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-17 13:10, Quentin Colombet wrote: >> On Nov 16, 2017, at 2:31 PM, junbuml at codeaurora.org wrote: >> On 2017-11-14 17:22, Quentin Colombet wrote: >> >>> Hi, >>> I think it is kind of artificial to tie the CSRCost with the >>> presence >>> of calls. >>> I think I’ve already mentioned it in one of the review, but I >>> believe it would be better to differentiate when we want to use a >>> CSR >>> to avoid spilling or to avoid splitting. CSR instead of s...
2017 Nov 16
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-14 17:22, Quentin Colombet wrote: > Hi, > > I think it is kind of artificial to tie the CSRCost with the presence > of calls. > I think I’ve already mentioned it in one of the review, but I > believe it would be better to differentiate when we want to use a CSR > to avoid spilling or to avoid splitting. CSR instead of spilling is > good, CSR instead of splitting, not so goo...
2017 Nov 10
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-10 07:47, Nemanja Ivanovic wrote: > One thing I thought about doing a while back and never really wrote a > POC for is the following: > - Make FirstCSRCost a property of the MachineBasicBlock (or create a > map of MBB* -> FirstCSRCost) > > - Implement a pre-RA pass that will populate the map as follows: > > - Identify all blocks with calls > > - Find the nearest common dominator (NCD) to all those blocks (not > st...
2017 Oct 31
2
Less aggressive on the first allocation of CSR if detecting an early exit
...codeaurora.org wrote: >> On 2017-10-27 19:50, Hal Finkel wrote: >>> On 10/27/2017 03:32 PM, Jun Lim via llvm-dev wrote: >>> >>>> When compiling C code below for AArach64, I saw that shrink-wrapping >>>> didn't happen due to the very early uses of CSRs in the entry block. >>>> So CSR spills/reloads are executed even when the early exit block is >>>> taken. >>>> >>>> int getI(int i); >>>> >>>> int foo(int *P, int i) { >>>> >>>> if (i>0) >>&...
2014 Sep 09
2
[LLVMdev] Machine Code for different architectures
...velopers mailing list > > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > > > > > > To report this email as spam click > https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== . Member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom More information can be found at www.csr.com. Keep up to date with CSR on our technical blog, www.c...
2017 Oct 27
2
Less aggressive on the first allocation of CSR if detecting an early exit
When compiling C code below for AArach64, I saw that shrink-wrapping didn't happen due to the very early uses of CSRs in the entry block. So CSR spills/reloads are executed even when the early exit block is taken. int getI(int i); int foo(int *P, int i) { if (i>0) return P[i]; i = getI(i); return P[i]; } It's not that hard to find such cases where RegAllocGreedy aggressive...
2003 May 27
1
setGeneric?
In the last few days I've received couple of messages pointing out that our SparseM package fails to install on the patched version of 1.7.0. Laurent Gaultier kindly suggested that replacing: setGeneric("as.matrix.csr") by setGeneric("as.matrix.csr", function(x, nrow, ncol, eps) standardGeneric("as.matrix.csr")) was sufficient to fix the problem. Unfortunately, the story is a bit more complicated than that. After this substitution and some similar ones for a few other setGeneric() c...
2014 Sep 05
2
[LLVMdev] HELP! Recent failure on llvm buildbot
...and they seem not to be > handled in ARMMCTargetDesc.cpp. If you don’t know how to add these > to ParseARMTriple(), I’d suggest you revert your change until someone > with ARM MC knowledge helps you out. > > Fred > >> On 05 Sep 2014, at 09:43, Matthew Gardiner <mg11 at csr.com >> <mailto:mg11 at csr.com>> wrote: >> >> I'm working on lldb. >> >> I've just submitted a very small change (r217229) to Triple.h/.cpp. >> Soon after I get a mail >> >> subject: buildbot failure in LLVM on lld-x86_64-darwin13 &...
2014 Jul 09
2
[LLVMdev] [PATCH][REQUEST] Could someone submit this CSR Kalimba definitions patch please?
On 7/9/14, 12:33 PM, Eric Christopher wrote: > Any reason why you deleted code that isn't related? > > -eric > >> - enum SubArchType { >> - NoSubArch, >> - >> - ARMSubArch_v8, >> - ARMSubArch_v7, >> - ARMSubArch_v7em, >> - ARMSubArch_v7m, >> - ARMSubArch_v7s, >> - ARMSubArch_v6, >> -
2017 Oct 30
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-10-27 19:50, Hal Finkel wrote: > On 10/27/2017 03:32 PM, Jun Lim via llvm-dev wrote: > >> When compiling C code below for AArach64, I saw that shrink-wrapping >> didn't happen due to the very early uses of CSRs in the entry block. >> So CSR spills/reloads are executed even when the early exit block is >> taken. >> >> int getI(int i); >> >> int foo(int *P, int i) { >> >> if (i>0) >> >> return P[i]; >> >> i = getI(i); >>...
2009 Dec 29
3
OT: What are the 2 openssl commands I need to use?
I looked on the openssl man page but am too dense with commands to understand what I need to do..... Ran into problems generating a key and CSR for SSL, because the web site is on a server with an old Ensim Control Panel. Please someone knowledgeable, give me the openssl commands I need to use, after I ssh into the web site, to generate a 2048 bit key and csr. TIA and Happy New Year! "I believe the issue you are having is due to...
2008 Oct 23
1
write.matrix.csr(e1071) bug
Hello, The write.matrix.csr() function of the e1071 package contains a bug. Try the following: library(e1071) m <- 1 - diag(10) sm <- as.matrix.csr(m) write.matrix.csr(sm) The resulting file (out.dat) contains only the two lines below: 2:1 3:1 4:1 5:1 6:1 7:1 8:1 9:1 10:1 1:1 3:1 4:1 5:1 6:1 7:1 8:1 9:1 10:1...
2014 Sep 09
3
[LLVMdev] Machine Code for different architectures
...ooked > into it at one point, and decided to leave it for another day. > > I am also unsure how hard byte=8bits is backed into Clang. You might > want to ask cfe-dev. > > I hope that helps. > > Johnny > > On Tue, Sep 9, 2014 at 7:41 AM, Matthew Gardiner <mg11 at csr.com> wrote: > > > Hi, > > > > We have some DSP architectures (kalimba) which have 24-bits as their > > "minimum addressable unit". So this means that the sizeof a char > > (and an int and a short for that matter) is 24-bits. > > > > I quick...