Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Upstream PTX backend that uses target independent code generator if possible"
2010 Aug 09
0
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
Che-Liang Chiou <clchiou at gmail.com> writes:
> Hi there,
>
> I have a working prototype of PTX backend, and I would like to
> upstream it if possible. This backend is implemented by LLVM's target
> independent code generator framework; I think this will make it easier
> to maintain.
How does this relate, at all, to the backend here:
2010 Aug 10
4
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
Hi David,
Thanks for asking.
On Mon, Aug 9, 2010 at 3:25 PM, David A. Greene <greened at obbligato.org> wrote:
> Che-Liang Chiou <clchiou at gmail.com> writes:
>
>> Hi there,
>>
>> I have a working prototype of PTX backend, and I would like to
>> upstream it if possible. This backend is implemented by LLVM's target
>> independent code
2010 Aug 10
3
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of David A. Greene
> Sent: Tuesday, August 10, 2010 12:02 PM
> To: Che-Liang Chiou
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Upstream PTX backend that uses target
> independent code generator if possible
>
> Che-Liang Chiou <clchiou
2010 Aug 10
0
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
Che-Liang Chiou <clchiou at gmail.com> writes:
> I surfed their code, and it seems that they didn't use code generator.
> That means there design should be similar to CBackend or CPPBackend.
> So I guess it can't generate some machine instructions like MAD,
> and there are some PTX instruction set features that are hard to exploit
> if not using code generator.
>
2010 Aug 11
0
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
My implementation of predicated instructions is similar to ARM
backend. I traced ARM and PowerPC backend for reference.
If, David, you were saying a implementation of predication in LLVM IR,
I didn't do that. It was partly because I was not (and is still not)
very familiar with LLVM's design; so I didn't know how to do that.
I agree what Micah said; LLVM's code generator has a
2010 Aug 23
2
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
Che-Liang Chiou <clchiou at gmail.com> writes:
> Hi there,
>
> Thank Nick for kindly reviewing the patch. Here is the link to the
> source code of the PTX backend; it would help Nick review the patch.
> http://lime.csie.ntu.edu.tw/~clchiou/llvm-ptx-backend.tar.gz
Great!
> I decided to take the code generator approach (referred to as codegen
> approach) rather than C
2010 Aug 11
2
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
Che-Liang Chiou <clchiou at gmail.com> writes:
> My implementation of predicated instructions is similar to ARM
> backend. I traced ARM and PowerPC backend for reference.
Cool.
> If, David, you were saying a implementation of predication in LLVM IR,
> I didn't do that. It was partly because I was not (and is still not)
> very familiar with LLVM's design; so I
2010 Aug 19
0
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
Hi there,
Thank Nick for kindly reviewing the patch. Here is the link to the
source code of the PTX backend; it would help Nick review the patch.
http://lime.csie.ntu.edu.tw/~clchiou/llvm-ptx-backend.tar.gz
The source code from above link is a working prototype. So it will
not be upstreamed as is; I will refactor and add unimplemented
features while upstreaming it. That said, the source code
2012 Mar 13
2
[LLVMdev] GPU thread/block/grid size contraints in LLVM PTX backend
but does it have default values ?
Thanks
Xin
On Tue, Mar 13, 2012 at 5:19 AM, Che-Liang Chiou <clchiou at gmail.com> wrote:
> You specify shader model, bit size and etc. arch-specified parameters
> though -march, -mattr and -mcpu, but AFAIK, PTX backend does not use
> the GPU thread/block/grid size information in optimization yet.
>
> On Mon, Mar 12, 2012 at 8:17 PM, Xin
2010 Aug 07
0
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
On Fri, Aug 6, 2010 at 6:47 PM, Che-Liang Chiou <clchiou at gmail.com> wrote:
> Hi there,
>
> I have a working prototype of PTX backend, and I would like to
> upstream it if possible. This backend is implemented by LLVM's target
> independent code generator framework; I think this will make it easier
> to maintain.
>
> I have tested this backend to translate a
2012 Mar 15
0
[LLVMdev] GPU thread/block/grid size contraints in LLVM PTX backend
I don't think so, but you should check source code.
On Tue, Mar 13, 2012 at 9:58 PM, Xin Tong <xerox.time.tech at gmail.com> wrote:
> but does it have default values ?
>
> Thanks
>
> Xin
>
> On Tue, Mar 13, 2012 at 5:19 AM, Che-Liang Chiou <clchiou at gmail.com> wrote:
>> You specify shader model, bit size and etc. arch-specified parameters
>>
2010 Aug 26
0
[LLVMdev] Upstream PTX backend that uses target independent code generator if possible
Thanks David for the comments.
Sorry for the late reply.
On Mon, Aug 23, 2010 at 11:52 PM, David A. Greene <greened at obbligato.org> wrote:
> Che-Liang Chiou <clchiou at gmail.com> writes:
>
>> Hi there,
>>
>> Thank Nick for kindly reviewing the patch. Here is the link to the
>> source code of the PTX backend; it would help Nick review the patch.
2011 Mar 10
1
[LLVMdev] [PTX] Should we keep backward-compatibility of PTX?
Hi Justin,
There are some backward incompatible features of PTX; for example,
special registers are redefined as v4i32 (they were v4i16) in PTX 2.0.
And CUDA 4.0 was rolled out last week. I heard that some instructions
are deprecated.
I am not sure how stable (or unstable) PTX specification is. Do you
have a rough assessment of its stability?
If PTX specification is still fast evolving, I would
2010 Oct 07
1
[LLVMdev] Status of PTX Backend
Hi,
The PTX backend we developed (CBackend approach, does not use the target
independent code generator) is already more advanced.
An older version is published here:
http://sourceforge.net/projects/llvmptxbackend/
We recently eliminated a bug which increased the number of required
registers per thread. Surprisingly, without that bug the generated code
is already comparable to code generated
2010 Oct 06
2
[LLVMdev] Status of PTX Backend
I read on the archives that a PTX back-end was discussed around August and I
see that some initial code has been checked into LLVM trunk. What is the
status of this project? Is it being actively worked on?
I am ultimately interested in using LLVM for GPU code
optimization/generation and am very interested in this particular project.
--
Thanks,
Justin Holewinski
-------------- next part
2010 Oct 06
0
[LLVMdev] Status of PTX Backend
Hi Justin,
I am upstreaming the PTX backend.
My plan is to have a working prototype (that mean you may compile
non-trivial code with some workarounds) by the end of this year or by
January 2011.
I hope I could catch up next release of LLVM (version 2.9), so I will
adjust my plan according to the release schedule once it is announced.
Regards,
Che-Liang
On Wed, Oct 6, 2010 at 11:16 PM, Justin
2012 Mar 12
2
[LLVMdev] GPU thread/block/grid size contraints in LLVM PTX backend
I am wondering that how does the LLVM PTX backend find out the
constraints on executing GPU thread/block/grid size ( i.e. a block can
at most have 1024 threads). Can anyone point me to the code ? I need
information in the optimizer, how can I get it ?
Thanks
Xin
2012 Mar 13
0
[LLVMdev] GPU thread/block/grid size contraints in LLVM PTX backend
You specify shader model, bit size and etc. arch-specified parameters
though -march, -mattr and -mcpu, but AFAIK, PTX backend does not use
the GPU thread/block/grid size information in optimization yet.
On Mon, Mar 12, 2012 at 8:17 PM, Xin Tong <xerox.time.tech at gmail.com> wrote:
> I am wondering that how does the LLVM PTX backend find out the
> constraints on executing GPU
2011 May 13
3
[LLVMdev] [ptx] Propose a register class naming convention change
Hi,
Current register class naming has a confusing prefix letter 'R' (it is
my bad), such as the first 'R' of RRegu32 (for unsigned 32-bit
registers).
I propose a 'Reg' + type name naming convention for register classes; such as:
Regu16, Regu32, Regf32, Regf64
With one exception for predicate registers (capitalized first letter of 'pred'):
RegPred
Since
2011 Mar 28
5
[LLVMdev] GSoC: PTX Back-End for LLVM
Hi All,
I am going to submit a GSoC proposal for LLVM this year, and I would like to
first post it here to get constructive feedback before I submit it before
the April 8 deadline. This is the first time I have submitted a GSoC
proposal, so please be brutal with the feedback. :)
Additionally, Che-Liang Chiou (the code owner of the PTX back-end) has
agreed to be my mentor if this is accepted.