Displaying 20 results from an estimated 700 matches similar to: "Help with Portfolio Optmization"
2009 Jan 14
0
[LLVMdev] LLVM optmization
Hi Manoel,
> Hi, Duncan.
>
> Here an example :
> #include <stdio.h>
> #include <stdlib.h>
> //
> int TESTE ( int parami ,int paraml )
> {
> int varx=0;
> int nI =0;
>
> if( parami > 0 )
> {
> varx = parami;
> }
> else
> {
> varx = 1;
> }
>
> for( nI = 1 ; nI <= paraml;
2018 Mar 31
3
Writing tests with Filecheck without emitting output to stdin
That works. Thanks.
One more followup question though.
Once i run opt on bitcode, there is not useful output/transform on bitcode.
this rpt files are extra.
I am hoping to do something like this,
; RUN: FileCheck --input-file=a.rpt.gold --check-prefix=CHECK-A < a.rpt
; RUN: FileCheck --input-file=b.rpt.gold --check-prefix=CHECK-B < b.rpt
i did not find much examples in tests hence
2011 Jul 14
9
Extension wise dialplan
Hi all,
I have n no. of extensions in my dialer. from 456 to 556 extensions. I was
created 2 other extensions 667 and 668 I need to allow only STD calls to
go from this extensions.
These all extensions are same context . I need to define the STD dialplan
for only this 2 extensions. how I can ?
Best Regards,
Mahesh Katta
*BUZZ**WORKS* Business Services Private Limited
BANGALORE | CHENNAI |
2010 Oct 08
3
How to use Atxfer in AMI
Hi,
I'm trying to make a attended transfer through AMI. I though i could use
Atxfer, and it seems ok, but nothing happens.
And I can't find any how-to or description on how to do this. What more
do I have to do to make this work?
In Asterisk Call Manager:
Action: Atxfer
Channel: SIP/36-xxxxxx
Exten: 33
Priority: 1
Context: Phone
Response: Success
Message: Atxfer successfully queued
2018 Mar 31
4
Writing tests with Filecheck without emitting output to stdin
Hello
I have pass operating on bitcode file which produces more than one
equivalent representation.
opt --my-pass <%s | Filecheck %s
--my-pass generates files a.rpt b.rpt c.rpt . How do i write test without
writing all 3 files to stdin.
I have considered CHECK-LABEL for each. it creates bulky checks.
Thanks
Mahesh
-------------- next part --------------
An HTML attachment was
2010 Nov 16
1
DAHDI / dial in / overlap digits / timeout
Hi,
our Asterisk is connected to an E1 port. So we are using the
DAHDI-Driver. Please , how do I tell the driver/Asterisk to wait for
overlap digits for in-calls? I found the option "overlapdial=yes" but I
did not try yet. Is that "my" option? Is there any option for setting an
timeout?
Thorsten
2017 Oct 03
2
About LLVM Pass dependency
Hello
I am working on pass which has dependency on multiple passes. Say
D1,D2,D3
I used
INITIALIZE_PASS_BEGIN
INITIALIZE_PASS_DEPENDENCY(D1)
INITIALIZE_PASS_DEPENDENCY(D2)
INITIALIZE_PASS_DEPENDENCY(D3)
INITIALIZE_PASS_END.
While running it through opt tool it, I had to specify this D1,D2,D3 pass
names
to get this pass executed before my pass.
Is there way, to let llvm pass manager to know
2017 Oct 03
1
About LLVM Pass dependency
Hi Hongbin
I am not quite familiar with AnalysisUsage, let me correct question a bit.
I have read Writing Pass
<http://llvm.org/docs/WritingAnLLVMPass.html#specifying-interactions-between-passes>,
All examples that i see here are based on collecting information .i.e
Analysis Passes.
I wonder if this applies to Transformation passes also.
e.g.
void MyInliner::getAnalysisUsage(AnalysisUsage
2012 Oct 06
1
Download limit
Hi all,
I am trying to use in RStudio the latest code given in
https://github.com/systematicinvestor/SIT/blob/master/R/bt.test.r,
which seems to work fine but with the following warning for download
limits (one for each of the tickers).
I searched in options() something which could be related to this
setting, w/o success.
Any hint for me in order to raise or remove these limits? Where is this
2006 Sep 04
3
Subsetting vectors based on condition
Hello,
I have a question regarding subsetting of vectors. Here's an example of
what I'm trying to do:
vect.1 <- c(76,195, 290, 380)
vect.2 <- c(63, 95, 133, 170, 215, 253, 285, 299, 325, 375)
I would like to subset vect.2 so that it has the same length as vect.1,
and its numbers are the first corresponging higher value compared to
vect.1.
The output should be:
final.output =
2007 Jan 11
2
Account is not authorized to log in from this station
Hello All,
When I try to connect to the samba installed linux machine from windows
I get the message "Account is not authorized to log in from this
station".
I have made three entries(user name and password) in the smbpasswd file.
But if I log in the windows machine using these user names and passwords
I get the message "Account is not authorized to log in from this
station".
2017 Dec 11
2
target porting : objdump is not giving proper registers.
Hi,
we have seen proper register numbers when we have generated assembly files
through clang but
when we generated dump files from object file then we didn't see expected
register numbers.
Note : all registers are replaced with R0
*Disassembly of section .text:00000000 <main>: 0: 3000ffcc addik
r0, r0, -52 4: f8000000 swi r0, r0, 0 8:
2010 Nov 08
15
Can I use shorewell stuff for my problem
Hi all, Im new to shorewell, can anyone guide me whether I can use
shorewell for my work.
I have a requirement in our work:
Each system shall have two Ethernet card interfaces(system means hardware
devices, servers, clients in other words any device or host used in the
project). The IP address of each interface will be of different networks,
subnets and gateways completely. Bcoz if one of
2011 May 09
3
OUTBOUND CALLER ID
Hi,
THIS IS IN DUBAI.
I am having PRI line with 100 DID's (00-99) and when we call to any landline
or mobile number then it shows us our board number or pilot number (i.e
4663000 means 00).. As i give all the extensions a particular DID, so people
from outside world can call them. The problem is the CALLERID ... When we
call from any of other extension PSTN line carries out our pilot number
2018 Apr 23
2
llc tool followed by g++ : Abnormal behavior while compiling assembly to object file
Hi
I am executing following steps to convert assembly to object code.
llc -march=x86-64 -filetype=asm input.ll -o input.s
g++ -g -c -o input.s --input.o
inshort
ll --> llc --> .s -->g++ -->obj
original source was something like this
{
printf(" **** %s ****",str);
}
input.s turn out to be
movq .str at GOTPCREL(%rip),%rdi
movq .str.1 at GOTPCREL(%rip),%rsi
xorl
2009 Jan 07
3
[LLVMdev] LLVM optmization
The following C test program was compiled using LLVM with -O3 option and MSVC with /O2.
The MSVC one is about 600 times faster than the one compiled with the LLVM.
We can see that the for loop in MSVC assembler is solved in the optimization pass more efficiently than that in LLVM.
Is there an way to get a optimization result in LLVM like that of the MSVC?
Manoel Teixeira
#include
2011 Apr 01
6
Best Scripting Language
Hi,
Can anyone suggest which is the best scripting language for Asterisk or any
telecom device? Thanks in advance.
--
Thank you with regards,
Gopalakrishnan A.N.
VoIP call - sip:saigop at gtalk2voip.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110401/051f68d3/attachment.htm>
2018 Mar 31
0
Writing tests with Filecheck without emitting output to stdin
Hi Mahesh,
On 31 March 2018 at 11:45, Mahesh Attarde via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> opt --my-pass <%s | Filecheck %s
>
> --my-pass generates files a.rpt b.rpt c.rpt . How do i write test without
> writing all 3 files to stdin.
You can run FileCheck over them on separate RUN lines assuming you
know the filename (which I assume you do since you'd be
2004 Sep 29
2
Approximate a f(x,y)
Hi all,
Running simulations, I'm generating market response to 2 factors X&Y..
There is no closed form for the market response.. The results are store in a
matrix Z(X <- seq(.02,.98,.02), Y <- seq(.01,.19,.01))..
For optmization purpose I need to approximate the values for any factor X in
0,02-0,98 and Y in 0,01-0,19
How can I do it ?
For one factor : Xn-1 < x <= Xn
2011 Jun 07
3
Different callerid for different extensions
Hi,
I have small confusion in my configuration which is I had some DID's like
044578900-04457999. I was configured dial plan below mention.
exten => _0XXXXXXXXX,1,NoOp(Int exten:${CALLERID(num)})
exten => _0XXXXXXXXX,2,Set(outgoing_ident=0445789${CALLERID(num):-2})
exten => _0XXXXXXXXX,3,NoOp(Ext ident:${outgoing_ident})
exten =>