Displaying 20 results from an estimated 1100 matches similar to: "[LLVMdev] [Polly] Parallelizing outer loop containing inner reduction loop"
2013 Feb 03
0
[LLVMdev] [Polly]
Dear all,
Yesterday, from the customer's code I observed relatively simple case,
where Polly is unable to detect parallelizable outer loop. Consider two
versions of Fortran routine:
1)
subroutine filter(H, szh, X, szx, Y, szy)
implicit none
integer(kind=IKIND), intent(in) :: szh, szx, szy
real(kind=RKIND), intent(in) :: H(szh), X(szx)
real(kind=RKIND), intent(out) :: Y(szy)
2013 Feb 04
0
[LLVMdev] [Polly] Parallelizing outer loop containing inner reduction loop
Hi Dmitry,
[FORTRAN code]
> The difference between two versions is only in the way how inner
> reduction loop is implemented. In first case it is explicit and in
> second case - uses sum intrinsic, which is lowered to plain code by
> DragonEgg. In first case Polly successfully detects parallel outer
> loop, in second case - it can't.
Thanks for the test
2013 Feb 04
1
[LLVMdev] [Polly] Parallelizing outer loop containing inner reduction loop
Hi Tobi,
Thanks for looking into this!
2013/2/4 Tobias Grosser <tobias at grosser.es>
>
> In any case, you seemed to have in some way convinced Polly to accept this
> code. Would you mind to share what you did?
>
Sure. Aliasing is simply ignored. Instead we have substituted pointers and
sizes for arrays and a special pass that converts memory accesses from
every scop statement
2013 Feb 04
1
[LLVMdev] [Polly] Parallelizing outer loop containing inner reduction loop
---------- Forwarded message ----------
> From: Tobias Grosser <tobias at grosser.es>
> To: Dmitry Mikushin <dmitry at kernelgen.org>
> Cc: polly-dev <polly-dev at googlegroups.com>, LLVM Developers Mailing List <
> llvmdev at cs.uiuc.edu>
> Date: Mon, 04 Feb 2013 17:53:11 +0100
> Subject: Re: [LLVMdev] [Polly] Parallelizing outer loop containing inner
2002 Jun 06
4
Linux and Printing via smbprint
Hi there
Looking at the archives I didn't find a solution to the following problem
we have here:
Printing from our linux-server (wagner) to an intel printserver (PS652D8F)
doesn't work.
Here's the stuff we know/tried:
wagner:~ # smbclient -L //PS652D8F -N
added interface ip=10.0.0.10 bcast=10.0.0.255 nmask=255.255.255.0
Got a positive name query response from 10.0.0.40 ( 10.0.0.40
2009 Aug 07
1
inner joins and outer joins
can anybody guide me on how to create inner joins and left and right
outer joins in RoR as both the tables has "has and belongs to many
relationships" and there is ajoin table as well
2010 Nov 11
3
Battlefield 2 & Battlefield 2142 : startup resolution issue
Hi
I am trying to get Battlefield 2 and Battlefield 2142 to launch under Kubuntu 10.04 & Wine 1.3.6. I'm using an Nvidia 8800 GTX 768Mb GPU with Nvidia blob driver 260.19.12.
Anyway launching BF2142 (retail copy, patched to v1.5) gives me the following error (2x) in the console output streams:
Code:
...
err:x11settings:X11DRV_ChangeDisplaySettingsEx No matching mode found 800x600x32
2009 Jun 30
3
Matrix with random number
Hello!
I have a program in Fortran and would like to build a matrix with random numbers, I have a function in C.
However, I have problems with the use of function in R.
Code to compile: R CMD SHLIB mat.f myrbeta.c -o func.so
Code in C.
#include <R.h>
#include <Rmath.h>
void F77_SUB(fseedi)(void){
GetRNGstate();
}
void F77_SUB(fseedo)(void){
PutRNGstate();
}
void
2006 Mar 23
1
nlme for groupedData with inner and outer factors
Hello,
I am having trouble specifying a suitable nlme model.
My data structure is described by
gd <- groupedData(ppath ~ lcut | exp, outer = ~ bait, inner = ~ weight, data
= d)
i.e. the response (ppath) of several subjects (sub) was measured at levels
of a continuous variable (lcut). Subjects were given either of one level of
a factor (bait), and all subjects were measured at two levels
2004 Jan 19
1
memory limitation with Fortran interface
Hi,
I'm using R 7.0 under Linux as a programming interface to Fortran (g77
v0.5.24).
Basically, what I want to do is to call a fortran subroutine of mine
which performs MCMC computations.
Apparently I'm getting into memory management problems.
To track the problem I wrote the following small Fortran subroutine
(saved as test.f) :
subroutine test(n,p)
implicit none
2018 Mar 22
0
How do I include a factor in a groupedData object? Meaning and use of inner and outer parameters
Dear John
You are only allowed to have the primary covariate on the left hand side
of the vertical bar. Other covariates go in inner or outer.
Michael
On 22/03/2018 12:59, Sorkin, John wrote:
> Windows 10 64-bit, R-Studio, R version 3.4.3
>
>
> Several questions relating to groupedData:
>
> (1) I am trying to create a groupedData object that can be used to run an analysis
2018 Mar 22
3
How do I include a factor in a groupedData object? Meaning and use of inner and outer parameters
Windows 10 64-bit, R-Studio, R version 3.4.3
Several questions relating to groupedData:
(1) I am trying to create a groupedData object that can be used to run an analysis that I have been able to urn using lmer. When I include the interaction terms in the groupedData opbject I get an error message stating that + is not meaningful for factors. How do I include factors in my model? See code and
2012 Jul 31
0
[LLVMdev] [DragonEgg] Mysterious FRAME coming from gimple to LLVM
According to comment in tree-nested.c, these frames should be only
introduced in case of debug or OpenMP lowering:
/* A subroutine of convert_nonlocal_reference_op. Create a local variable
in the nested function with DECL_VALUE_EXPR set to reference the true
variable in the parent function. This is used both for debug info
and in OpenMP lowering. */
However, in this code example we
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
Hello, I'm finding problems with BackEdgeTaken count calculation in
even simple fortran loops with gfortran-4.6 + DragonEgg 3.0.
Even for simple double loops like this one:
program test2
integer i,j,k
dimension k(100,100)
do j=1,100
do i=1,100
k(i,j) = i
enddo
enddo
write(*,*) k(1,30)
end
make the ScalarEvolution
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
Mmm, sorry, the patch I posted crashes if ExitBr is null (which it may
be ...) , this one should be ok (and passess all the ScalarEvolution
tests in LLVM):
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index daf7742..b10fab2 100644
--- a/lib/Analysis/ScalarEvolution.cpp
+++ b/lib/Analysis/ScalarEvolution.cpp
@@ -4293,9 +4293,15 @@
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
Your patch should include a testcase, see test/Analysis/ScalarEvolution for
examples. "BranchInst* " should be "BranchInst *". You should have spaces
after the // in your comments. One of the comment lines isn't indented
properly.
Nick
On 8 February 2012 12:05, Marcello Maggioni <hayarms at gmail.com> wrote:
> Attached
>
> 2012/2/8 Marcello Maggioni
2012 Apr 13
2
Can't read a binary file
Hi, I've read up on readBin() and chapter 6 in the R Data Import/Export manual, but I still can't read a binary file. Here is how the creator of the file described the code that would be needed in Fortran:
"Every record has a return in fortran. The length of each record is nx*ny*4. To read you would use the following:
nlayx = nx*ny*4
do iz=1,nz,4
read(binary file) var(1:nlayx)
2012 Feb 08
2
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
Attached
2012/2/8 Marcello Maggioni <hayarms at gmail.com>:
> Mmm, sorry, the patch I posted crashes if ExitBr is null (which it may
> be ...) , this one should be ok (and passess all the ScalarEvolution
> tests in LLVM):
>
> diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
> index daf7742..b10fab2 100644
> ---
2012 Feb 08
0
[LLVMdev] BackedgeTakenCount calculation for fortran loops and DragonEgg gfortran-4.6
On 8 February 2012 15:50, Marcello Maggioni <hayarms at gmail.com> wrote:
> Well, it wasn't intended as a "real" patch to be included , but more
> as a "proof of concept" for a solution. Do you think it is a valid
> solution and I'm correct in my assumption? If so then I'll clean up
> the patch and attach a testcase for inclusion.
>
I'm
2009 Apr 13
0
[LLVMdev] MemoryDependenceAnalysis
On Apr 13, 2009, at 9:06 AM, Anthony Danalis wrote:
> Hello,
>
> I have a code similar to the following:
Hi Anthony,
Can you please attach the .bc file for this?
-Chris
>
>
> program test
> integer i, j, N
> real B(10)
>
> call bar(N, 8)
> N = N+1
> do i = 1, N
> B(i) =