Displaying 20 results from an estimated 200 matches similar to: "apply"
2011 Mar 30
3
optim and optimize are not finding the right parameter
Dear all,
I have a function that predicts DV based on one predictor pred:
pred<-c(0,3000000,7800000,15600000,23400000,131200000)
DV<-c(0,500,1000,1400,1700,1900)
## I define Function 1 that computes the predicted value based on pred
values and parameters a and b:
calc_DV_pred <- function(a,b) {
DV_pred <- rep(0,(length(pred)))
for(i in 1:length(DV_pred)){
DV_pred[i] <- a *
2009 Jun 04
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv,
Sanjiv Gupta <sanjiv.gupta <at> microchip.com> writes:
>
> PIC16 now has clang and llc based system to generate native assembly. We
> then use our native assembler (gpasm) and the native linker (mplink) to
> generate the final executable. How can I integrate these things with
> the driver llvmc to have gcc like user experience? Note that we also
>
2009 Jun 03
2
[LLVMdev] llvmc for PIC16
PIC16 now has clang and llc based system to generate native assembly. We
then use our native assembler (gpasm) and the native linker (mplink) to
generate the final executable. How can I integrate these things with
the driver llvmc to have gcc like user experience? Note that we also
want to run llvm-ld in order to perform the LTOs in case of multiple files.
- Sanjiv
2008 May 30
3
v1.1.rc6 released won't compile
I got a compile error with rc6, rc5 works fine.
amd64:dovecot-1.1.rc6# uname -a
FreeBSD amd64.objtech.com 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #3: Fri
Apr 18 02:18:13 EDT 2008
./configure \
--prefix=/opt1/dovecot \
--localstatedir=/var \
--without-shadow \
--without-cyrus-sasl2 \
--without-pop3d \
--without-gssapi \
--disable-ipv6 \
--disable-debug \
--with-ioloop=kqueue \
--with-ssl=openssl
2018 Aug 17
2
Replication -O3 optimizations manually
Hi Zide,
I think I found the right way to reach my goal.
I used the following command:
clang -O3 -Xclang -disable-llvm-optzns main.c -S -emit-llvm -o main.ll
to generate an IR file enriched by all the metadata that otherwise wouldn't be generated with -O0. Moreover, -disable-llvm-optzns flag ensures that none of the optimization passes has been applied yet to the IR.
In this way, I can
2011 Mar 07
1
More appropriate optimization routine?
Hello!
I have 2 variables - predictor "pred" and response variable "DV":
pred<-c(439635.053, 222925.718, 668434.755, 194242.330, 5786.321, 115537.344,
100835.368, 7133.206, 159058.286, 4079991.629, 3380078.060, 2661279.136,
2698324.478, 1245213.965, 1901815.503, 1517019.451, 1396857.736, 1034030.988,
432249.574, 342329.325, 1831335.792, 2209578.859, 1641709.754,
2008 Jul 21
6
form_for and select ( => f.select)
Hi All
I''m trying to combine the from_for and select helpers
Right now I have
form_for :service, :url => ...... do |f|
select("abc", "xyz_id", @my_arr.collect {|item| [ item, "bla" ] },
{:prompt => "opt1"} )
....
end
What I want to do is something like
....
f.select("abc", "xyz_id", @my_arr.collect {|item|
2007 Jan 04
1
problem with function 'optimise' (PR#9438)
Full_Name: Karsten Krug
Version: 2.4.0
OS: Open Suse 10.0, Windows XP
Submission from: (NULL) (88.134.13.50)
I found a problem in the 'optimise' function for one dimensional optimisation.
Example 1:
Try to find a maximum of the function below with the use of 'optimise' in the
interval [0,0.5]. The function follows a parabola and has two local maxima
located at the margins of
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
2009 Jun 05
4
[LLVMdev] llvmc for PIC16
> I'll be happy to answer any further questions you may have, feel free to e-mail
> me directly (though right now our mail server is down)
>
The salient features that we want to have in the driver are:
1. llvm-ld will be used as "The Optimizer".
2. If the user has specified to generate the final executable, then
llvm-ld should run on all the .bc files generated by clang
2019 Apr 22
1
Bug/limitation: allowoptions (for label), implicit (for automated)
Hello,
At the boot prompt ALLOWOPTIONS 0 is only applied to implicit kernels and not to labels. For configuration which want to allow selection, but prevent customization of the kernel command line, this behaviour is bad.
Also the IMPLICIT 0 is applied to both the boot prompt and configuration setting (like DEFAULT); but one could argue that only the command supplied at the prompt make sense to
2006 Aug 16
2
[LLVMdev] Weird behavior of llvm-ld
Hi,
I'm using LLVM 1.8 with the GCC4-frontend on a Slackware 10.2 box (GCC
3.3.6). When issuing the following command (line 14 in a script called
manual.sh):
llvm-ld -O1 *.trans -L${SOME_LIB_DIR} -L${SOME_OTHER_LIB_DIR}
-L${LLVM_FRONT}/lib -lSOME_LIB -lSOME_OTHER_LIB
-load=${MY_LIB_DIR}/opt1.so -load=${MY_LIB_DIR}/opt2.so
-debug-pass=Details -debug -o test
... I get the following
2009 Mar 03
1
R 2.9.0 devel: package installation with configure-args option
Hi,
trying
to install a package containing C code and requiring non-default configure argument
settings the incantation (this has worked for R <= 2.8.1 on the same architectures)
R CMD INSTALL --configure-args="--with-opt1 --with-opt2" packname
does always result in a warning
Warning: unknown option '--with-opt2'
and consequently the option is ignored. Reverting the order
2009 Jun 07
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv,
Sanjiv Gupta <sanjiv.gupta <at> microchip.com> writes:
> The salient features that we want to have in the driver are:
> [...]
As promised, I've implemented a basic compiler driver for the
PIC16 toolchain. It's under tools/llvmc/examples/mcc16.
Some examples illustrating the features you requested:
> 2. If the user has specified to generate the final
2011 Apr 12
1
2-parameter MLE problems
Hi all,
Sorry for the re-post, I sent my previous e-mail before it was complete. I
am trying to model seroprevalence using the differential equation: dP/dt =
beta*seronegative*.001*(seropositive)-0.35*(0.999)*(seropositive)-r*seropositive.
I would like to estimate my two parameters, beta and r, using maximum
likelihood methods. I have included my code below:
2011 Jun 19
0
[LLVMdev] Phase Interactions
On 19 June 2011 14:44, Suresh Purini <suresh.purini at gmail.com> wrote:
> 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
>
2006 Jun 17
1
1.0 beta 9 problems
Two problems with this new beta not found in beta 8.
1. mbox_from_create error
This is the configure string I use, and I paste the make error message
below. I have to use "--with-storages=maildir,mbox" to get around the error.
./configure \
--prefix=/opt1/dovecot \
--localstatedir=/var \
--without-shadow \
--without-cyrus-sasl2 \
--without-pop3d \
--without-gssapi \
--disable-ipv6 \
2008 Jun 18
1
Maximum Likelihood Estimation
Using R, I would like to calculate algorithms to estimate coefficients á and â within the gamma function: f(costij)=((costij)^á)*exp(â*costij). I have its logarithmic diminishing line data (Logarithmic Diminishing Line Data Table) and have installed R¢s Maximum Likelihood Estimation package; however, I am unsure which method to apply in order to calculate the algorisms (i.e., Newton-Raphson
2003 Feb 06
2
Can't boot NT floppy
Hi,
Thanks a lot for your exceptional work.... I guess many people dealing with
bootable CD's just could'nt do anything without isolinux...
However I've got a small problem.
In fact the problem is maybe due to my BIOS (Phoenix on an HP Vectra VL800),
and maybe due to isolinux / memdisk, I don't know.
Generally speaking, take any floppy, format it under Win2K, copy from your
hard
2007 Mar 31
2
[LLVMdev] native libraries
In a previous post (included at the end of the message), Reid stated
that in August 2006, llvm-ld did not support native libraries. I have a
few questions about that. Is it still true that llvm does not support
native libraries? Furthermore, what exactly is meant by that?
In particular, I have bytecode that I want to turn into a native
executable and it needs to be linked against a dynamic