similar to: [LLVMdev] PTX optimizations

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] PTX optimizations"

2011 Aug 29
0
[LLVMdev] PTX target for LLVM!
Hi everyone, I downloaded the latest version of LLVM PTX backend from http://www.prog.uni-saarland.de/projects/anysl and made the required changes to all the files mentioned in the README. But I get the following error when I compile it. llvm[3]: Compiling PTXBackend.cpp for Release build In file included from PTXBackend.h:70:0, from PTXBackend.cpp:36: PTXPasses.h: In constructor
2010 Apr 27
5
[LLVMdev] PTX target for LLVM!
Hey everybody, good news for everyone interested in the PTX backend: We decided to release the current source code under the GPL - you can find the latest tarball here: http://www.prog.uni-saarland.de/projects/anysl You will find the README in the attachment, which should hopefully answer a lot of questions concerning the implementation and the current status. If you have further questions,
2011 Aug 15
2
[LLVMdev] Cuda programs on LLVM
Hello , How to execute a cuda program using llvm? More specifically, nvcc produces some temporary files during its compilation. I want to convert the .cu.cpp to .ll format and optimize it. The .cu.cpp file contains typedefs and enums used by cuda runtime and also the host part of the code and the ptx file contains the kernel definition. How can i run the program after optimization? Will Rhodin
2011 Aug 15
0
[LLVMdev] Cuda programs on LLVM
Hi Adarsh, to my knowledge there is no publicly available CUDA-Frontend for LLVM yet. The work of Helge Rhodin you mentioned is on the backend-side: It allows to generate PTX code from LLVM IR. It is still being maintained, although I think the currently available source code is a little outdated. There is also a PTX backend in the current version of LLVM that makes use of LLVM's
2010 May 06
2
[LLVMdev] Unreachable code executed crash
I was able to solve that but still crashing with the same error saying "Unreachable executed". I have attached the output with this mail. Thanks in advance. On Thu, May 6, 2010 at 2:38 AM, Nick Lewycky <nicholas at mxc.ca> wrote: > Adarsh Yoga wrote: > >> Yes. Intially the pass was crashing when the module when the module >> verifier was running. I was able to
2010 May 06
2
[LLVMdev] Unreachable code executed crash
Yes. Intially the pass was crashing when the module when the module verifier was running. I was able to solve that and now it is crashing when the bit writer pass is running. On Wed, May 5, 2010 at 8:39 PM, Nick Lewycky <nlewycky at google.com> wrote: > On 5 May 2010 17:12, Adarsh Yoga <ayoga at umail.iu.edu> wrote: > >> Hi, >> >> I've written a pass
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 May 06
2
[LLVMdev] Unreachable code executed crash
Hi, I've written a pass that basically does some code transformations to enable parallel execution of loops. After the transformation llvm runs BitCode Writer pass , which is aborting with Unreachable Executed error. I have attached the input llvm code and the output llvm code for reference. I am stuck at this problem for a few days now. Please let me know if you are able to find anything
2010 May 07
1
[LLVMdev] Unreachable code executed crash
Initially, tt was not a problem with the verifier, we were just inserting a wrong instruction in our pass. Also we were able to figure out the error you pointed out and our pass is running as intended!!! Thanks a lot. On Fri, May 7, 2010 at 12:02 AM, Nick Lewycky <nicholas at mxc.ca> wrote: > Adarsh Yoga wrote: > >> I was able to solve that >> > > What was wrong? I
2010 May 07
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote: > I was able to solve that What was wrong? I wasn't able to reproduce it and would still like to teach the verifier whatever it missed. but still crashing with the same error saying > "Unreachable executed". I have attached the output with this mail. This time you've got: %1 = load i32** getelementptr inbounds ({ i32* }* @structobj, i64 0, i32
2010 May 06
0
[LLVMdev] Unreachable code executed crash
Adarsh Yoga wrote: > Yes. Intially the pass was crashing when the module when the module > verifier was running. I was able to solve that and now it is crashing > when the bit writer pass is running. The output is wrong in @thread_pool_init: <stdin>:44:27: error: '%4' defined with type 'i1' %5 = getelementptr i32* %4, i64 %indvar ; <i32*> [#uses=1]
2011 Oct 16
2
[LLVMdev] Is there a separate linker for LLVM in Windows?
On Sat, Oct 15, 2011 at 12:26 PM, Michael Spencer <bigcheesegs at gmail.com> wrote: > On Sat, Oct 15, 2011 at 7:38 AM, Thomson <lilotom at gmail.com> wrote: >> I just found that some samples used link.exe from Visual Studio to generate >> the final image, does LLVM has a replacement for link.exe to generate the >> final binary? I'm not related to the topic
2013 Dec 06
2
[LLVMdev] PTX generation examples?
OK, fine -- an example of MCJIT that sets up for PTX JIT would also be helpful. On Dec 6, 2013, at 12:32 PM, Eli Bendersky <eliben at google.com> wrote: > > You'll have to switch to MCJIT for this purpose. Legacy JIT doesn't emit PTX. > > Eli -- Larry Gritz lg at larrygritz.com -------------- next part -------------- An HTML attachment was scrubbed... URL:
2013 Dec 09
0
[LLVMdev] PTX generation examples?
There is no MCJIT support for PTX at the moment (mainly because PTX does not have a binary format, and is not machine code per se). To generate PTX at run-time, you just set up a standard codegen pass manager like you would like an off-line compiler. The output will be a string buffer that contains the PTX, which you can load into the CUDA runtime. As for determining if PTX support is compiled
2013 Jan 11
4
[LLVMdev] Update PTX section in CodeGenerator.html
Hi Justin, I believe the PTX section in the link below need some love, updating "lib/Target/PTX" to "lib/Target/NVPTX" for example. Would you like to take a look? http://llvm.org/docs/CodeGenerator.html#the-ptx-backend Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
2013 Dec 06
2
[LLVMdev] PTX generation examples?
I have an app that uses LLVM API calls from C++ to generate IR and JIT it for x86 (for subsequent live execution). I'm still using the old JIT, for what it's worth. I want to modify it (for prototype/experimental purposes for now) to JIT PTX (into a big string buffer?). Docs are sketchy. I can wade through it and figure it out by trial and error, but would be so very happy if somebody
2012 Feb 11
2
[LLVMdev] Remove an instruction through Dead Code Elimination pass of llvm
My pass in LLVM generates an IR like this %5 = icmp eq i32 %4, 0 %7 = or i1 %5, %5 ;. . . Since the 'or' instruction is actually not needed(dead code), I replaced all occurences of %7 with %5. Now, the 'or' instruction should get deleted. How can I call Dead Code Elimination pass of LLVM from my pass or is there any method to remove that 'or' instruction? Thank you.
2015 Oct 01
3
Fwd: buildbot failure in LLVM on sanitizer-x86_64-linux-bootstrap
This buildbot seems to have been failing for a while (though it's hard for me to identify the root cause in the logs, as I mentioned in another thread, so it's hard to say if it's the same failure, or if the failure is consistent, etc) - anyone watching it/caring aobut it? ---------- Forwarded message ---------- From: <llvm.buildmaster at lab.llvm.org> Date: Wed, Sep 30, 2015 at
2013 Jan 11
0
[LLVMdev] Update PTX section in CodeGenerator.html
Hi Justin, Is there any progress on new CUDA by llvm PTX? Cheers, Dan On 11 January 2013 07:57, 陳韋任 (Wei-Ren Chen) <chenwj at iis.sinica.edu.tw>wrote: > Hi Justin, > > I believe the PTX section in the link below need some love, > updating "lib/Target/PTX" to "lib/Target/NVPTX" for example. > Would you like to take a look? > >
2011 Dec 07
2
[LLVMdev] Build PTX samples with LLVM/Clang/libclc
Hi Justin, I download llvm-ptx-samples [1] and try to build them. I found it seems lack of a complete document on how to build them with LLVM/Clang/libclc. Do you think it's a good idea to put a complete document/tutorial in _one_ place? Currently, there are your website [2], LLVM [3], Clang and libclc websites [5] over there. I feel people might get lost among those websites. ;-) Here