Displaying 20 results from an estimated 77 matches for "optimzing".
Did you mean:
optimizing
2011 Apr 12
2
Optimzing a nested function
...tax?? Thank
you.
test1 <- function(x,y)
{
sum <- x + y
return(sum)
}
test2 <- function(x,y)
{
sum <- test1(x,y)
sumSq <- sum*sum
return(sumSq)
}
nlminb(start = c(1,1), test2,lower = c(0,0), upper = c(5,5))
--
View this message in context: http://r.789695.n4.nabble.com/Optimzing-a-nested-function-tp3443825p3443825.html
Sent from the R help mailing list archive at Nabble.com.
2012 Jul 17
1
Need Help in a Combinatorial Optimzation Problem
Dear Community,
I have a problem I am trying to code in R.
Suppose there are 7 products and each have a ROI value attached to it.
There are 400 representatives who calls 150,000 customers with these
product detailing and achieve sales through the calls.
There is a cost per call and revenue earned from the call.
Constraint is revenue should be greater than the cost.
Now there can be at most 7
2009 Aug 16
0
[LLVMdev] Throwing function being marked nounwind under optimzation?
It would help if you post the -O0 and -O1bitcode files.
Does it reproduce with opt -O1? If so, use -debug-pass= to figure out
when things started going wrong.
Does it make sense to compare the bitcode against code generated for
x86 target?
Evan
On Aug 16, 2009, at 11:46 AM, Jim Grosbach wrote:
> All,
>
> The following relatively simple function is behaving oddly under SJLJ
>
2009 Aug 16
2
[LLVMdev] Throwing function being marked nounwind under optimzation?
All,
The following relatively simple function is behaving oddly under SJLJ
exception handling. Specifically, it's being diagnosed by the
optimizer as being a nounwind function, which is obviously incorrect.
From what I can tell so far, something is going wrong analyzing the
call to __cxa_end_catch()
invoke arm_apcscc void @__cxa_end_catch()
to label %Unwind unwind label
2020 Apr 07
3
opt optimization
Is there any way to find if a optimization pass has passed in opt?
In clang -fsave-optimzization-record would tell if particular
optimization pass has applied or failed.
Is there similar functionality in opt?
Regards,
Nethish.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2008 Jun 30
2
kernel-smp for CentOS 5
Hello All,
I recently installed CentOS 5 and was trying to locate the kernel-smp packages but without success. Have these packages been removed from the distro or renamed? Does anyone know how many processors the default kernel will handle and if it's optimzed for it?
Thanks,
james
2009 Apr 10
3
Local disk rsync
I've done quite a bit of looking, but I haven't found an answer that
answers this question.
Environment:
cygwin on Windows
rsync 3.0.4
I know that rsync isn't optimzed for speed on local copies - that's
clear in my testing. I'm attemting to sync a large volume of files.
(In this case, I'm syncing a rdiff-backup set...)
An initial sync will be about one fourth as fast a
2015 Jan 27
5
[LLVMdev] [cfe-dev][llvmdev] Clang 3.6 and trunk, high RSS usage compared to GCC (12.5GB vs. 0.5GB)
Hi,
I found that after moving to Clang pre-3.6 (git
65d8b4c4998b3a0c20934ea72ede72ef4838a004) and trunk (git
718825a8666acd9ceaab70fc7868332f20e2758f) our internal build machines started
going offline in Jenkins. Clang after 3.5 release is consuming extreme amounts
of memory in some cases.
I have uploaded [1] one of affected files.
$ g++ -std=c++11 -c -O1 -fPIC vpp_generated.ii -o
2011 Jun 19
2
[LLVMdev] Phase Interactions
Dear all,
I am doing few experiments to do understand optimization phase
interactions. Here is a brief description of my experiements.
1. I picked the list of machine independent optimizations acting on
llvm IR (those that are enabled at O3).
2. for each optimzation in the optimization-list
a) Compiled the program using 'clang -c O0 -flto program.c'
b) opt
2013 Oct 09
2
[LLVMdev] Backend vs JIT : GPU
Hi guys,
I am understanding OpenCL compilation flow on GPU in order to develop
OpenCL runtime for a new hardware.
I understood that OpenCL compiler is part of a vendor's runtime library
which is the heart of OpenCL. Since OpenCL kernel is compiled at runtime,
hence at high level its compilation takes place in two steps:
i. source code is first converted to intermediate code.
ii.
2012 Feb 21
2
Flac HiRes decoding problems
Hi folks.
My first post over here.
While working on a music server optimzation (which ususally goes hand in
hand with running pretty low buffers on realtime
streams)
I figured that certain HiRez flacs were causing XRUNS/hickups on my Linux
server platform.
The interesting thing is to run into XRUNS even though the stream gets
send to a Squeezebox Touch which got
a 20s buffer on its receiving
2007 Mar 22
1
CentOS 5 Beta Feels Snappier
Hi,
Is it me or is CentOS 5 faster than FC6? I just switched and it seems
that CentOS 5 loads faster and overall feels snappier. Could Red Hat
have optimzed EL more than Fedora?. Just curious.
I really like what I see with CentOS 5. The devs have done a great job
making a profesisonal looking distro. An of course kudos to Red Hat
for all the engineering and for making the SRPMS available.
Paul
2009 Mar 29
4
Constrined dependent optimization.
I have an optimization question that I was hoping to get some suggestions on how best to go about sovling it. I would think there is probably a package that addresses this problem.
This is an ordering optimzation problem. Best to describe it with a simple example. Say I have 100 "bins" each with a ball in it numbered from 1 to 100. Each bin can only hold one ball. This optimization is
2011 Sep 12
3
[LLVMdev] Alias Analysis: zero terminated strings
Hello,
I'm developing a programming language that is optimized for strings. A first
hello world program shows me that llvm needs a lot more work on zero
terminated strings.
In the following example, I have an auto generated hello world example
optimized with -O3. The problem is, that the constant string is copied into
a malloced mem area, then puts is called and then the memory is freed.
2007 Jul 14
1
[LLVMdev] not to break 'for' statement into basic blocks
Hello, Seung J. Lee
> LLVM optimization and other tools are really fantastic.
> However I don't want LLVM breaks my 'for' statement in C code into
> basic blocks during compiling.
> I'm sure this sounds really strange but there is a reason for me.
LLVM is 'low-level'. It doesn't contain any special instruction for
loops at all.
> Furthermore, this
2004 Oct 25
2
Intro to R: lecture presentation
Hi All:
A couple of weeks back, I asked a question on the list that I was invited to provide an introductory lecture on R to a group of academicians in Kolkata. I thank all of you who had generously guided me in providing me web links and words to the wise.
Time to give back. I did the presentation on introduction to R and uploaded the presentation files at the following site:
2016 Mar 03
2
[RFC qemu 2/4] virtio-balloon: Add a new feature to balloon device
Extend the virtio balloon device to support a new feature, this
new feature can help to get guest's free pages information, which
can be used for live migration optimzation.
Signed-off-by: Liang Li <liang.z.li at intel.com>
---
balloon.c | 30 ++++++++-
hw/virtio/virtio-balloon.c | 81 ++++++++++++++++++++++++-
2000 Aug 11
2
Vorbis optimizations...
I was wondering about what the near and longer term future
directions for optimization of Vorbis decompression are.
I am interested in using it as a replacement for MP3. But it
seems at this point (not certain about this) that Vorbis doesn't
really have much optimization implemented yet. By this I
mean, for example, implementing something like MMX x86
optimzations in order to speed up the
2014 Dec 15
1
R build failure under gcc 4.9's link time optimization
R fails to build with visibility on and gcc 4.9's link time optimzation, because
of its practice of building part of it as archive first. Specifically
it builds some bundled libraries as archive first, the symbols of which
are then entirely invisible in gcc 4.9.
The Matrix package also does this awful practice, with CHOLMOD.a COLAMD.a AMD.a SuiteSparse_config.a .
One way of fixing R is:
2009 Jan 06
2
[LLVMdev] LLVM Optmizer
The following C code :
#include <stdio.h>
#include <stdlib.h>
int TESTE2( int parami , int paraml ,double paramd )
{
int varx=0,vary;
int nI =0;
//varx= parami;
if( parami > 0 )
{
varx = parami;
vary = varx + 1;
}
else
{
varx = vary + 1;
vary = paraml;
}
varx = varx + parami + paraml;
for( nI = 1 ; nI <= paraml; nI++)
{
varx =