search for: opt2

Displaying 20 results from an estimated 50 matches for "opt2".

Did you mean: opt
2004 Mar 18
5
Problem while installing the SAMBA...
Hi ALL... I am new to SAMBA, when i am trying to compile SAMBA by using make, It is just waiting and doing nothing. make Using FLAGS = -O -I./popt -Iinclude -I/opt2/samba/samba-3.0.2a/source/include -I/opt2/samba/samba-3.0.2a/source/ubiqx -I/opt2/samba/samba-3.0.2a/source/smbwrapper -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt2/samba/samba-3.0.2a/source LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl LDSHFLAGS = -G L...
2011 Mar 30
3
optim and optimize are not finding the right parameter
...of my.function - I get a wrong solution: opt1 <- optim(fn=my.function,par=c(b=0.00000001), method="L-BFGS-B", lower=0,upper=1) (opt1) test2<-my.function(opt1$par) # is much larger than the value of "test" above. # And getting the same - wrong - result with optimize: opt2 <- optimize(f=my.function,interval=c(0,0.1)) test3<-my.function(opt2$minimum) What am I doing wrong? Thanks a lot for your recomendations! -- Dimitri Liakhovitski Ninah Consulting www.ninah.com
2016 Jan 24
4
Skip redundant checks in AliasSet::aliasesUnknownInst
...temporary patch can be found attached (for example, ViewedInst can become a second parameter of AliasSetTracker::addUnknown ). It passes the LLVM regression tests and helps to reduce the runtime of 'opt -basicaa -licm out.opt.ll’ from 130ms to 67ms and the runtime of 'opt -basicaa -licm out.opt2.ll’ from 117ms to 62ms (out.opt.ll and out.opt2.ll can be found on the following link https://llvm.org/bugs/show_bug.cgi?id=23077). Thank you for the attention! -- Cheers, Roman Gareev. -------------- next part -------------- A non-text attachment was scrubbed...
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 of options results in the now last option to be ignored. Alternative quoting has not provided a solution. Using R CMD INSTALL --configure-args...
2019 Apr 22
1
Bug/limitation: allowoptions (for label), implicit (for automated)
...by IMPLICIT 0. *Example (default) current* default kernelX OPT # OPT not passed with allowoptions 0 (fully blocked with IMPLICIT 0) default labelX OPT # OPT currently passed regardless of allowoptions *Example (ifcpu) current* label conditionK com32 ifcpu.c32 append 64 -- kernelX OPT1 -- kernelX OPT2 # same as above: OPT not passed with allowoptions 0 (fully blocked with IMPLICIT 0) label conditionL com32 ifcpu.c32 append 64 -- labelX OPT1 -- labelX OPT2 # same as above: OPT currently passed regardless of allowoptions *Example (prompt) current* kernelX OPT # OPT not passed with allowoptions 0...
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
2014 Mar 03
5
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...ASK; return per_cpu_ptr(&mcs_nodes[idx], cpu); } #define _QSPINLOCK_PENDING (1U << _Q_PENDING_OFFSET) #define _QSPINLOCK_MASK (_QSPINLOCK_LOCKED | _QSPINLOCK_PENDING) // PENDING - enables the pending bit logic // OPT - removes one atomic op at the cost of making pending a byte // OPT2 - replaces some cmpxchg loops with unconditional atomic ops // // PENDING looks to be a win, even with 2 atomic ops on Intel, and a loss on AMD // OPT is a full win // OPT2 somehow doesn't seem to make much difference !? // /** * queue_spin_lock_slowpath - acquire the queue spinlock * @lo...
2014 Mar 03
5
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...ASK; return per_cpu_ptr(&mcs_nodes[idx], cpu); } #define _QSPINLOCK_PENDING (1U << _Q_PENDING_OFFSET) #define _QSPINLOCK_MASK (_QSPINLOCK_LOCKED | _QSPINLOCK_PENDING) // PENDING - enables the pending bit logic // OPT - removes one atomic op at the cost of making pending a byte // OPT2 - replaces some cmpxchg loops with unconditional atomic ops // // PENDING looks to be a win, even with 2 atomic ops on Intel, and a loss on AMD // OPT is a full win // OPT2 somehow doesn't seem to make much difference !? // /** * queue_spin_lock_slowpath - acquire the queue spinlock * @lo...
2011 Jun 19
2
[LLVMdev] Phase Interactions
...Compiled the program using 'clang -c O0 -flto program.c' b) opt -optimization program.o -o optprogram.o c) llc optprogram.o d) gcc optprogram.o.s e) Measure the performance of the generated executable. 3. for each optimization pair [opt1, opt2] from the optimization list a) Compiled the program using 'clang -c O0 -flto program.c' b) opt -opt1 -opt2 program.o -o optprogram.o c) llc optprogram.o d) gcc optprogram.o.s e) Measure the performance of the generated executa...
2009 Jun 05
4
[LLVMdev] llvmc for PIC16
...g-cc, -pre-RA-sched=list-burr to llc. $ mcc16 -S -g -I ../include -pre-RA-sched=list-burr foo.c // [clang-cc -I ../include foo.c] -> foo.bc // [llvm-ld -disable-opt foo.bc] -> foo.opt.bc // [llc -pre-RA-sched=list-burr foo.opt.bc] -> foo.s ** -Wo passes options to llvm-ld $ mcc16 -Wo=opt1,opt2 -S -I ../include -pre-RA-sched=list-burr foo.c // [clang-cc -I ../include foo.c] -> foo.bc // [llvm-ld -opt1 -opt2 foo.bc] -> foo.opt.bc // [llc -pre-RA-sched=list-burr foo.opt.bc] -> foo.s ** -Wa passes options to native as. $ mcc16 -c foo.c -Wa=opt1 // [clang-cc foo.c] -> foo.bc // [...
2015 Jul 04
2
Problema con loop
...03/07/15 a las 23:09, Jorge I Velez escribió: > Hola Fernando, > > Podrias considerar las siguientes opciones: > > R2 <- vector("list", x) > for(i in 1:x){ > modelo <- lm(y ~ efectos[, 1:i]) > R2[[i]] <- summary(modelo)$r.squared > } > R2 > > ? opt2 <- sapply(1:x, ?function(i){ > modelo <- lm(y ~ efectos[, 1:i]) > summary(modelo)$r.squared > }) > opt2 > > Para mas información revisa ?sapply, ?lapply y ?lm. En caso de que > necesites otros parámetros del modelo de regresión, te sugiero revisar > el resulta...
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
2015 Jul 04
2
Problema con loop
Buenas a todos, acá estoy yo de nuevo con problemas de loops. Tengo el siguiente problema: un vector de datos (y) y una serie de efectos. El loop lo que intenta es evaluar el R² de modelos incrementando por vuelta una variable efecto. Seria algo así: for(i in 1:x) { modelo=lm(y~efectos[,1:i]) ... codigo para guardar R² y otros por cada vuelta... } apply() puede ir columna a columna pero no
2015 Jul 05
2
Problema con loop
...t; Hola Fernando, >> >> Podrias considerar las siguientes opciones: >> >> R2 <- vector("list", x) >> for(i in 1:x){ >> modelo <- lm(y ~ efectos[, 1:i]) >> R2[[i]] <- summary(modelo)$r.squared >> } >> R2 >> >> ? opt2 <- sapply(1:x, ?function(i){ >> modelo <- lm(y ~ efectos[, 1:i]) >> summary(modelo)$r.squared >> }) >> opt2 >> >> Para mas información revisa ?sapply, ?lapply y ?lm. En caso de que >> necesites otros parámetros del modelo de regresión, te sug...
2011 Jun 19
0
[LLVMdev] Phase Interactions
...using 'clang -c O0 -flto program.c' >             b) opt -optimization program.o -o optprogram.o >             c) llc optprogram.o >             d) gcc optprogram.o.s >             e) Measure the performance of the generated executable. > 3. for each optimization pair [opt1, opt2] from the optimization list >             a) Compiled the program using 'clang -c O0 -flto program.c' >             b) opt -opt1 -opt2 program.o -o optprogram.o >             c) llc optprogram.o >             d) gcc optprogram.o.s >             e) Measure the performance of t...
2016 Jan 27
2
Skip redundant checks in AliasSet::aliasesUnknownInst
...; (for example, ViewedInst can become a second parameter of >> AliasSetTracker::addUnknown ). It >> passes the LLVM regression tests and helps to reduce the runtime of >> 'opt -basicaa -licm out.opt.ll’ from 130ms to 67ms and the runtime of >> 'opt -basicaa -licm out.opt2.ll’ from 117ms to 62ms (out.opt.ll and >> out.opt2.ll can be found on the following link >> https://llvm.org/bugs/show_bug.cgi?id=23077). >> >> Thank you for the attention! >> >> -- >> Cheers, Roman Gareev. >> >&...
2015 Dec 12
2
Objects of MemoryLocation class are created for ‘llvm.memset.*‘ intrinsics
2015-12-11 23:44 GMT+05:00 Hal Finkel <hfinkel at anl.gov>: > Hi Roman, > > The MemoryLocation objects are involved in findAliasSetForUnknownInst, but none are created there for the memset intrinsic. MemoryLocation objects are only involved for the regular memory accesses being compared to the unknown instruction. See AliasSet::aliasesUnknownInst in lib/Analysis/AliasSetTracker.cpp.
2014 Mar 04
1
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...6304 5176 11901 > 8 7736 5955 14551 > I'm just not seeing that; with test-4 modified to take the AMD compute units into account: root at interlagos:~/spinlocks# LOCK=./qspinlock-pending-opt ./test-4.sh ; LOCK=./qspinlock-pending-opt2 ./test-4.sh 4: 50783.509653 8: 146295.875715 16: 332942.964709 4: 51033.341441 8: 146320.656285 16: 332586.355194 And the difference between opt and opt2 is that opt2 replaces 2 cmpxchg loops with unconditional ops (xchg8 and xchg16). And I'd think that 4 CPUs x 4 Nodes would be heavy con...
2014 Mar 04
1
[PATCH v5 3/8] qspinlock, x86: Add x86 specific optimization for 2 contending tasks
...6304 5176 11901 > 8 7736 5955 14551 > I'm just not seeing that; with test-4 modified to take the AMD compute units into account: root at interlagos:~/spinlocks# LOCK=./qspinlock-pending-opt ./test-4.sh ; LOCK=./qspinlock-pending-opt2 ./test-4.sh 4: 50783.509653 8: 146295.875715 16: 332942.964709 4: 51033.341441 8: 146320.656285 16: 332586.355194 And the difference between opt and opt2 is that opt2 replaces 2 cmpxchg loops with unconditional ops (xchg8 and xchg16). And I'd think that 4 CPUs x 4 Nodes would be heavy con...