Displaying 20 results from an estimated 124 matches for "cond1".
Did you mean:
cond
2012 Nov 29
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...=================================================
> ==2738== ERROR: AddressSanitizer: SEGV on unknown address 0x0000ffd27000
> (pc 0x0000ffd27000 sp 0x7fff55e40828 bp 0x7fff55e408f0 T0)
> AddressSanitizer can not provide additional info.
> #0 0xffd26fff (/Users/howarth/asan_eh_bug/./cond1_asan.exe+0xf5f67fff)
> #1 0x7fff8bd827e0 (/usr/lib/system/libdyld.dylib+0x27e0)
> #2 0x0
> Stats: 0M malloced (0M for red zones) by 3 calls
> Stats: 0M realloced by 0 calls
> Stats: 0M freed by 0 calls
> Stats: 0M really freed by 0 calls
> Stats: 1M (384 full pages) mma...
2012 Nov 29
3
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...EGV
=================================================================
==2738== ERROR: AddressSanitizer: SEGV on unknown address 0x0000ffd27000 (pc 0x0000ffd27000 sp 0x7fff55e40828 bp 0x7fff55e408f0 T0)
AddressSanitizer can not provide additional info.
#0 0xffd26fff (/Users/howarth/asan_eh_bug/./cond1_asan.exe+0xf5f67fff)
#1 0x7fff8bd827e0 (/usr/lib/system/libdyld.dylib+0x27e0)
#2 0x0
Stats: 0M malloced (0M for red zones) by 3 calls
Stats: 0M realloced by 0 calls
Stats: 0M freed by 0 calls
Stats: 0M really freed by 0 calls
Stats: 1M (384 full pages) mmaped in 3 calls
mmaps by size cl...
2007 Dec 04
2
Multiple stacked barplots on the same graph?
Dear R-Users,
I would like to know whether it is possible to draw several
stacked barplots (i.e. side by side on the same sheet)...
my data look like :
Cond1 Cond1' Cond2 Cond2'
Compartment 1 11,81 2,05 12,49 0,70
Compartment 2 10,51 1,98 13,56 0,85
Compartment 3 1,95 0,63 2,81 0,22
Compartment 4 2,08 0,17 3,13 0,06
Compartment 5 2,51 0,20 4,58 0,03
ps: Cond1' values...
2017 Apr 13
3
Question on induction variable simplification pass
...= j;
We are mainly interested in the backedge taken count of the inner loop.
Before indvars, the backedge information computed by ScalarEvolution is as follows-
Outer loop-
backedge-taken count is 39
max backedge-taken count is 39
Inner loop-
backedge-taken count is {-2,+,1}<nsw><%for.cond1.preheader>
max backedge-taken count is 37
After indvars, the backedge information computed by ScalarEvolution is as follows-
Outer loop-
backedge-taken count is 39
max backedge-taken count is 39
Inner loop-
backedge-taken count is (-1 + (zext i32 {-1,+,1}<nsw><%for.cond1.preheader&g...
2010 Nov 29
1
cross tabulate variables by subject id
Dear list,
I have data like this:
dat1 <- data.frame(subject=rep(1:10,2),
cond1=rep(c("A","B"),each=5),
cond2=rep(c("C","D"),each=10),
choice=sample(0:1,10,replace=TRUE))
I would like to compare subjects' "choice" for (cond1=="A" &
cond2=="C") vs (cond1=="A...
2012 Mar 19
3
Issue with asin()
...DD <- function(Tmin, Tmax, Tseuil, meanT, method = "DDsin")
### function that calculates the degree-days based on
### minimum and maximum recorded temperatures and the
### minimal threshold temperature (lower growth temperature)
{
### method arcsin
if(method == "DDsin"){
cond1 <- (Tmax <= Tseuil)
cond2 <- (Tmin >= Tseuil)
amp <- ((Tmax - Tmin) / 2)
print((Tseuil-meanT)/amp)
alpha <- asin((Tseuil - meanT) / amp)
DD_ifelse3 <- ((1 / pi) * ((meanT - Tseuil) * ((pi/2) - alpha)) +
amp*cos(alpha))
DD <- ifelse(cond1, 0, ifelse(cond2, (mea...
2013 Nov 08
1
[LLVMdev] loop vectorizer and storing to uniform addresses
...; preds = %for.inc6,
%entry
%2 = load i64* %i, align 8
%3 = load i64* %end.addr, align 8
%cmp = icmp slt i64 %2, %3
br i1 %cmp, label %for.body, label %for.end8
for.body: ; preds = %for.cond
store i64 0, i64* %q, align 8
br label %for.cond1
for.cond1: ; preds = %for.inc,
%for.body
%4 = load i64* %q, align 8
%cmp2 = icmp slt i64 %4, 4
br i1 %cmp2, label %for.body3, label %for.end
for.body3: ; preds = %for.cond1
%5 = load i64* %i, align 8
%mu...
2017 May 22
5
[poison] is select-of-select to logic+select allowed?
Some InstCombine transforms for select-of-select were added here:
https://reviews.llvm.org/rL228409
But Alive says this is more poisonous:
Name: selsel
%s1 = select i1 %cond1, i8 C1, i8 C2
%s2 = select i1 %cond2, i8 %s1, i8 C2
=>
%andcond = and i1 %cond1, %cond2
%s2 = select i1 %andcond, i8 C1, i8 C2
http://rise4fun.com/Alive/JT6
Are those transforms legal?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/p...
2012 Nov 29
0
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
If this is the same test:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/cond1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1,
then it doesn't fail for me on Mac OS 10.8 with ASan (Clang r168632)
Have you tried symbolizing the report?
On Thu, Nov 29, 2012 at 11:07 AM, Alexander Potapenko <glider at google.com> wrote:
> Jack, can you please upload this test somewhere?...
2012 Sep 22
0
[LLVMdev] sign extensions, SCEVs, and wrap flags
...+)
for (int j = 0; j < n; j++) {
A[2*i][4*j] = i;
*B++ = A[8*i][6*j + 1];
}
}*
If I look at the store to A (src) and the load from A (dst), I see the
following:
*src = ((sext i32 {0,+,4}<%for.body3> to i64) +*
* ((zext i32 %n to i64) * (sext i32 {0,+,2}<%for.cond1.preheader> to
i64)))*
*dst = ((sext i32 {1,+,6}<%for.body3> to i64) +*
* ((zext i32 %n to i64) * (sext i32 {0,+,8}<%for.cond1.preheader> to
i64)))*
I speculate that some earlier analysis decided that since n is used as an
array bound, it much be >= 0, and therefore unsigne...
2012 Jan 27
1
Conditional cumulative sum
Dear List,
I'll appreciate your help on this. I'm trying to create a variable as in
"cumsum_y.cond1" below, which should compute the cumulative sum of "y"
conditional on the value of cond==1.
set.seed(1)
d <- data.frame(y= sample(c(0,1), 10, replace= T),
cond= sample(c(0,1), 10, replace= T))
y cond cumsum_y.cond1
1 0 0 0
2 0 0 0
3 1...
2012 Feb 03
0
Nested? Two-way ANOVA with repeated measures
...ed
to both treatments.
Taking the artificial example one could easily do it with car-package:
library(car)
dat <- data.frame(Family = 1:60, # Plant
family name
Pop = rep(c("Pop1","Pop2","Pop3"), each=20), # Population name
Cond1 = rnorm(60, 15, 1), # obtained
values at experimental conditions 1
Cond2 = rnorm(60, 20, 1)) #
experimental conditions 2
# rearrange data
data.wide <- data.frame(Family = 1:20,
subset(dat, dat$Pop == "Pop1")...
2007 Oct 10
1
Deleting for() loop in function
...X <- as.matrix(dta[,-(1:s)])
# allocate result matrix
result <- matrix(0, nrow=n, ncol=1)
# define column names of result as ``eff''
colnames(result) <- "eff"
# If RTS is CRS
if(rts==1){
# make part of lhs constraint matrix
cond1 <- rbind(t(Y), -t(X))
# make inequality matrix
f.dir <- rep(">=", s+m)
# make objective matrix
f.obj <- c(1, rep(0,n))
# solve LP for all DMUs by using for syntax
for(i in 1:n){
# make part of lhs constraint matrix...
2015 Jul 16
3
[LLVMdev] why LoopUnswitch pass does not constant fold conditional branch and merge blocks
...label %loop_body, label %loop_exit" and merge %loop_body into %loop_begin.
My understanding is that later llvm passes (likely -simplifycfg) will cleanup the code properly and doing this in LoopUnswtich pass is duplicated. However, consider the following case:
define i32 @test(i32* %var, i1 %cond1, i1 %cond2) {
br label %loop_begin
loop_begin:
br i1 %cond1, label %continue, label %loop_exit
continue:
%var_val = load i32, i32* %var
br i1 %cond2, label %do_something, label %loop_exit
do_something:
call void @some_func() noreturn nounwind
br label %loop_begin
loop_exit:
re...
2012 Sep 27
2
equivalent of Stata "by construct"
...xploring the switch is the coding flexibility in R (e.g. Stata does not support linear/quadratic programming). I have been going over the R syntax and I had a quick question:
In Stata, one has a very useful construction called "by", e.g.
by month signal: gen xxx = myfunction(yyy zzz) if cond1==cond2
Similarly, in SAS, one can write
by monthn signal;
if cond1=cond2 then xxx = myfunction(yyy zzz);
run;
I looked at a lot of R tutorials, but I haven't come across the equivalent of the Stata or SAS "by" construct in R?
________________________________
This communicati...
2013 Nov 08
3
[LLVMdev] loop vectorizer and storing to uniform addresses
...loat foo( int start , int end , float * A )
{
float sum[4] = {0.,0.,0.,0.};
for (int i = start ; i < end ; ++i ) {
for (int q = 0 ; q < 4 ; ++q )
sum[q] += A[i*4+q];
}
return sum[0]+sum[1]+sum[2]+sum[3];
}
LV: Checking a loop in "foo"
LV: Found a loop: for.cond1
LV: Found an induction variable.
LV: We don't allow storing to uniform addresses
LV: Can't vectorize due to memory conflicts
LV: Not vectorizing.
My interpretation would be that the loop vectorizer does not support
loops which implement a reduction. Is this correct?
Frank
2012 May 04
0
[LLVMdev] Extending GetElementPointer, or Premature Linearization Considered Harmful
...ston Briggs <preston.briggs at gmail.com> wrote:
>
> which produces
>
> %arrayidx24 = getelementptr inbounds [100 x [100 x i64]]* %A, i64
> %arrayidx21.sum, i64 %add1411, i64 %add
> store i64 0, i64* %arrayidx24, align 8
> {{{(5 + ((3 + %n) * %n)),+,(2 * %n * %n)}<%for.cond1.preheader>,+,(4 * %n)}<%for.cond4.preheader>,+,6}<%for.cond7.preheader>
This expression is not straight forward because llvm always fold the
loop invariant in the AddExpr into the AddRecExpr.
If I understand the AddRecExpr correctly, the above SCEV is equivalent to:
(5 + ((3 + %n) *...
2002 Mar 04
2
Plotting a x axis from a vector with rownames
Hi all,
suppose there is a vector y with rownames:
> y
cond1 cond2 cond3 cond4
78.952 87.308 86.490 74.040
how can I easily plot this vector using the rownames? plot(y) gives me a
plot with a x-axis from 1 to 4 in 0.5 steps, also plot(rownames(y), y)
and plot(y ~ rownames(y) don't work. I know I can build a x-axis with
axis(1, ...), but in this cas...
2012 Nov 29
5
[LLVMdev] radr://12777299, "potential pthread/eh bug exposed by libsanitizer"
...=================================
>> ==2738== ERROR: AddressSanitizer: SEGV on unknown address 0x0000ffd27000
>> (pc 0x0000ffd27000 sp 0x7fff55e40828 bp 0x7fff55e408f0 T0)
>> AddressSanitizer can not provide additional info.
>> #0 0xffd26fff (/Users/howarth/asan_eh_bug/./cond1_asan.exe+0xf5f67fff)
>> #1 0x7fff8bd827e0 (/usr/lib/system/libdyld.dylib+0x27e0)
>> #2 0x0
>> Stats: 0M malloced (0M for red zones) by 3 calls
>> Stats: 0M realloced by 0 calls
>> Stats: 0M freed by 0 calls
>> Stats: 0M really freed by 0 calls
>> St...
2017 Jul 24
5
Ifelse statements and combining columns
Hi everyone,
I'm having some trouble with my ifelse statements.
I'm trying to put 12 conditions within 3 groups. Here is the code I have so
far:
dat$cond <- ifelse(test = dat$cond == "cond1" | dat$cond == "cond2" |
dat$cond == "cond3" dat$cond == "cond4"
yes = "Uniform"
no = ifelse(test = dat$cond == "cond5" | dat$cond ==
"cond6") | dat$cond == "cond7" dat$cond == "co...