Displaying 18 results from an estimated 18 matches for "ptx22".
2011 May 07
2
[LLVMdev] [PATCH ]Add Subtarget ptx23
...uiuc.edu/pipermail/llvmdev/2011-March/038654.html
In my PTX.td patch,
def FeaturePTX23 : SubtargetFeature<"ptx23", "PTXVersion", PTX_VERSION_2_3",
"Use PTX Language Version 2.3",
[FeaturePTX22]>;
I can only guess above statement means PTX23 is fully compatible with
PTX22. Is my guess right? If so, how can one express that FeatureA is
NOT fully compatible with FeatureB in .td?
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia...
2011 May 06
2
[LLVMdev] [PATCH ]Add Subtarget ptx23
...CodeGen/PTX/options.ll (revision 130978)
+++ test/CodeGen/PTX/options.ll (working copy)
@@ -1,6 +1,7 @@
; RUN: llc < %s -march=ptx32 -mattr=ptx20 | grep ".version 2.0"
; RUN: llc < %s -march=ptx32 -mattr=ptx21 | grep ".version 2.1"
; RUN: llc < %s -march=ptx32 -mattr=ptx22 | grep ".version 2.2"
+; RUN: llc < %s -march=ptx32 -mattr=ptx23 | grep ".version 2.3"
; RUN: llc < %s -march=ptx32 -mattr=sm10 | grep ".target sm_10"
; RUN: llc < %s -march=ptx32 -mattr=sm13 | grep ".target sm_13"
; RUN: llc < %s -march=ptx32...
2011 Nov 21
1
[LLVMdev] PTX builtin functions.
...> > This is the testcase that I am using to verify I the max builtin
> > function I am impementing
> > is actually recognised. I took inspiration from the llvm-intrinsic.ll
> test case.
> > The command I am using to compile is:
> >
> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
> >
> > The option -mattr does not seem to have any effect.
> > I tried also with the ptx_device qualifier with the same outcome.
> > I am using llvm from the svn repository.
> >
> > Bye,
> >
> > Alberto
> >
> >>>>
> &g...
2011 May 06
0
[LLVMdev] [PATCH ]Add Subtarget ptx23
On Fri, May 6, 2011 at 5:37 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:
> Hi, Justin
>
> PTX version in CUDA 4.0 has changed from 2.2 to 2.3.
> I add ptx23 subtarget and update a testcase.
>
> Is that O.K.?
>
Looks good. Committed in r130980. Thanks!
In the future, patches should be sent to llvm-commits instead of llvmdev.
>
> Regards,
> chenwj
>
2011 May 08
0
[LLVMdev] [PATCH ]Add Subtarget ptx23
...-March/038654.html
>
> In my PTX.td patch,
>
> def FeaturePTX23 : SubtargetFeature<"ptx23", "PTXVersion",
> PTX_VERSION_2_3",
> "Use PTX Language Version 2.3",
> [FeaturePTX22]>;
>
> I can only guess above statement means PTX23 is fully compatible with
> PTX22. Is my guess right? If so, how can one express that FeatureA is
> NOT fully compatible with FeatureB in .td?
>
Literally, it means any feature supported by PTX 2.2 is also supported by
PTX 2.3....
2011 Nov 21
0
[LLVMdev] PTX builtin functions.
...e that I am using to verify I the max builtin
>> > function I am impementing
>> > is actually recognised. I took inspiration from the llvm-intrinsic.ll
>> > test case.
>> > The command I am using to compile is:
>> >
>> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
>> >
>> > The option -mattr does not seem to have any effect.
>> > I tried also with the ptx_device qualifier with the same outcome.
>> > I am using llvm from the svn repository.
>> >
>> > Bye,
>> >
>> > Alberto
>>...
2011 Nov 21
2
[LLVMdev] PTX builtin functions.
...the max builtin
> >> > function I am impementing
> >> > is actually recognised. I took inspiration from the llvm-intrinsic.ll
> >> > test case.
> >> > The command I am using to compile is:
> >> >
> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
> >> >
> >> > The option -mattr does not seem to have any effect.
> >> > I tried also with the ptx_device qualifier with the same outcome.
> >> > I am using llvm from the svn repository.
> >> >
> >> > Bye,
> >>...
2011 Apr 15
1
[LLVMdev] Confusion over ISelLowering of setcc
...br i1 %3, label %then, label %else
then: ; preds = %entry
ret i32 1
else: ; preds = %entry
ret i32 2
}
Run like this:
llvm-as test.ll -o test.bc
llc -march=ptx -relocation-model=pic -mattr=sm20 -mattr=ptx22
-mattr=64bit -mattr=double test.bc -o test.ptx
My first question would be why does it evaluate the entry basicblock
twice (BB#0, BB#3), is this to do with predicated branching?
If I run this through llc with the -debug=1 flag (or by viewing the
graphs), I get this in the initial selection dag:...
2011 Nov 22
0
[LLVMdev] PTX builtin functions.
...>> > function I am impementing
>> >> > is actually recognised. I took inspiration from the llvm-intrinsic.ll
>> >> > test case.
>> >> > The command I am using to compile is:
>> >> >
>> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
>> >> >
>> >> > The option -mattr does not seem to have any effect.
>> >> > I tried also with the ptx_device qualifier with the same outcome.
>> >> > I am using llvm from the svn repository.
>> >> >
>> >>...
2011 Nov 22
2
[LLVMdev] PTX builtin functions.
...pementing
> >> >> > is actually recognised. I took inspiration from the llvm-
> intrinsic.ll
> >> >> > test case.
> >> >> > The command I am using to compile is:
> >> >> >
> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
> >> >> >
> >> >> > The option -mattr does not seem to have any effect.
> >> >> > I tried also with the ptx_device qualifier with the same
> outcome.
> >> >> > I am using llvm from the svn repository.
> >> &...
2011 Nov 23
2
[LLVMdev] PTX builtin functions.
...ally recognised. I took inspiration from the llvm-
> >> intrinsic.ll
> >> >> >> > test case.
> >> >> >> > The command I am using to compile is:
> >> >> >> >
> >> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
> >> >> >> >
> >> >> >> > The option -mattr does not seem to have any effect.
> >> >> >> > I tried also with the ptx_device qualifier with the same
> >> outcome.
> >> >> >> > I am using...
2011 Nov 16
4
[LLVMdev] PTX builtin functions.
Dear Justin,
I am trying to add the support for some OpenCL builtin functions to
the PTX backend.
The attached file represent the first stub of a patch for the fmax
builtin function.
The test case I am trying is the following:
define ptx_device float @f(float %x, float %y) {
entry:
%z = call float @fmax(float %x, float %y)
ret float %z
}
declare float @fmax(float, float)
But at the moment
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
...gt; >> > is actually recognised. I took inspiration from the llvm-
>> intrinsic.ll
>> >> >> > test case.
>> >> >> > The command I am using to compile is:
>> >> >> >
>> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
>> >> >> >
>> >> >> > The option -mattr does not seem to have any effect.
>> >> >> > I tried also with the ptx_device qualifier with the same
>> outcome.
>> >> >> > I am using llvm from the svn reposit...
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
...nspiration from the llvm-
> > >> intrinsic.ll
> > >> >> >> > test case.
> > >> >> >> > The command I am using to compile is:
> > >> >> >> >
> > >> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
> > >> >> >> >
> > >> >> >> > The option -mattr does not seem to have any effect.
> > >> >> >> > I tried also with the ptx_device qualifier with the same
> > >> outcome.
> > >> >>...
2011 Dec 04
2
[LLVMdev] PTX builtin functions.
...llvm-
>> > >> intrinsic.ll
>> > >> >> >> > test case.
>> > >> >> >> > The command I am using to compile is:
>> > >> >> >> >
>> > >> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
>> > >> >> >> >
>> > >> >> >> > The option -mattr does not seem to have any effect.
>> > >> >> >> > I tried also with the ptx_device qualifier with the same
>> > >> outcome.
>> >...
2011 Dec 08
3
[LLVMdev] PTX builtin functions.
...llvm-
>> > >> intrinsic.ll
>> > >> >> >> > test case.
>> > >> >> >> > The command I am using to compile is:
>> > >> >> >> >
>> > >> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
>> > >> >> >> >
>> > >> >> >> > The option -mattr does not seem to have any effect.
>> > >> >> >> > I tried also with the ptx_device qualifier with the same
>> > >> outcome.
>> >...
2011 Dec 05
0
[LLVMdev] PTX builtin functions.
...>> intrinsic.ll
> >> > >> >> >> > test case.
> >> > >> >> >> > The command I am using to compile is:
> >> > >> >> >> >
> >> > >> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
> >> > >> >> >> >
> >> > >> >> >> > The option -mattr does not seem to have any effect.
> >> > >> >> >> > I tried also with the ptx_device qualifier with the same
> >> > >> o...
2011 Dec 08
0
[LLVMdev] PTX builtin functions.
...>> intrinsic.ll
> >> > >> >> >> > test case.
> >> > >> >> >> > The command I am using to compile is:
> >> > >> >> >> >
> >> > >> >> >> > llc -march=ptx32 -mattr=+ptx22 fmax.ll
> >> > >> >> >> >
> >> > >> >> >> > The option -mattr does not seem to have any effect.
> >> > >> >> >> > I tried also with the ptx_device qualifier with the same
> >> > >> o...