[llvm-dev] [GSoC 2016] [Polly] Implementation of tiling, interchanging and unrolling of specific loops based on the algorithm for the analytical modeling
Hongbin Zheng via llvm-dev
llvm-dev at lists.llvm.org
Tue May 31 11:15:28 PDT 2016
On Tue, May 31, 2016 at 9:57 AM, Roman Gareev <gareevroman at gmail.com> wrote:
> Hi Tobias,
> I think that we could split a patch that contains an implementation of
> tiling, interchanging and unrolling of specific loops into three
> separate patches:
> 1. The first one adds a class that describes a processor model. It
> also adds a new command line parameter that contains all necessary
> parameters of a target architecture, which are used to construct
> objects of the class.
Instead of creating a new class, may be we could enhance some classes in
TargetTransformInfo.h of LLVM to achieve your goal? Or this is done in step
> 2. The second one adds methods to the class to compute parameters for
> instantiations of the matrix-matrix multiplication. It also implements
> tiling, interchanging and unrolling of specific loops.
> 3. The third one replaces manual passing of parameters of a target
> architecture with utilization of information from LLVM.
> What do you think about it?
> P.S.: I’m not sure whether all necessary parameters of a target
> architecture are accessible from LLVM and how it’s better to get them
> in our case. Should we ask these questions on the mailing list now?
> If I’m not mistaken, we’re interested in the following parameters:
> 1. Size of double-precision floating-point number.
> 2. Number of double-precision floating-point numbers that can be hold
> by a vector register.
> 3. Throughput of vector instructions per clock cycle.
> 4. Latency of instructions (i.e., the minimum number of cycles between
> the issuance of two dependent consecutive instructions).
> 5. Paramaters of cache levels (size of cache lines, associativity
> degrees, sizes).
> Cheers, Roman Gareev.
> You received this message because you are subscribed to the Google Groups
> "Polly Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to polly-dev+unsubscribe at googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev