search for: larrygritz

Displaying 20 results from an estimated 39 matches for "larrygritz".

2013 Dec 09
1
[LLVMdev] PTX generation examples?
...(Tgt) { > // nvptx target is available > } else { > // nvptx target is not available > } > > > More information about the PTX target can be found at: http://llvm.org/docs/NVPTXUsage.html > > > > On Fri, Dec 6, 2013 at 3:43 PM, Larry Gritz <lg at larrygritz.com> wrote: > 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 em...
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: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131206/57cb47ab/attachment.html>
2013 Dec 09
0
[LLVMdev] PTX generation examples?
...tRegistry::lookupTarget("nvptx64", Err); if (Tgt) { // nvptx target is available } else { // nvptx target is not available } More information about the PTX target can be found at: http://llvm.org/docs/NVPTXUsage.html On Fri, Dec 6, 2013 at 3:43 PM, Larry Gritz <lg at larrygritz.com> wrote: > 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 &gt...
2011 Nov 10
3
[LLVMdev] Optimization passes
Is there a succinct way I can get the full list of which optimization passes are applied, and in what order, for standard clang -O1, -O2, -O3? -- Larry Gritz lg at larrygritz.com
2013 Dec 06
2
[LLVMdev] PTX generation examples?
...ut at runtime if the libLLVM I'm linked against can generate PTX, how to change the initialization or JIT commands to request PTX rather than x86, anything I need to know about differences in the IR I should present, etc. Any pointers would be greatly appreciated, thanks. -- Larry Gritz lg at larrygritz.com
2016 Mar 08
2
Deleting function IR after codegen
...be deleted. Those functions will just keep their IR around so no changes there. >> >> With the above issues fixed, I can run make check and pass all the tests. >> >> Comments very welcome. >> >> Cheers, >> Pete > > -- > Larry Gritz > lg at larrygritz.com > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://na01.safelinks.protection.outlook.com/?url=http%3a%2f%2flists.llvm.org%2fcgi-bin%2fmailman%2flistinfo%2fllvm-dev%0a&data=01%7c01%7candya%40microsof...
2010 Aug 20
2
[LLVMdev] Module management questions
...o be the culprit in the memory consumption. If I call ExecutionEngine::removeModule (after JITing a function from the module), does that mean that I can subsequently no longer call the function? Or can I? Can I delete the Module at that point and still use the machine code? -- Larry Gritz lg at larrygritz.com
2014 Jan 21
4
[LLVMdev] MCJIT versus getLazyBitcodeModule?
...> > The two blog entries before that may also be of use to you: http://blog.llvm.org/2013_07_01_archive.html > > I don't where you can find an example of the Module linking I described, but I think llvm::Linker is the class to look at. > > -Andy > -- Larry Gritz lg at larrygritz.com
2016 May 19
2
External function resolution: MCJIT vs ORC JIT
...my_executable_function = (FuncFloatFloat) EE->getFunctionAddress ("myfunc"); > } > > assert (my_executable_function); > printf ("myfunc(42.0f) = %g\n", (*my_executable_function)(42.0f)); > } > > > > -- > Larry Gritz > lg at larrygritz.com <mailto:lg at larrygritz.com> > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev <http://lists.llvm.org...
2014 Jan 21
2
[LLVMdev] MCJIT versus getLazyBitcodeModule?
...arity at which pieces of your pre-compiled code get loaded while also giving you the speed of the cached object file solution. The trade-off is that for this solution you do need to know the target architecture ahead of time. > > Hope this helps. > > -Andy > -- Larry Gritz lg at larrygritz.com
2010 Aug 11
4
[LLVMdev] Optimization pass questions
...generated code, so in contrast to a fully offline compiler, I'm fairly sensitive to achieving a good balance of optimization of the JITed code versus time spent doing the optimizations. In case that changes any of your answers. Thanks, any info would be very appreciated! -- Larry Gritz lg at larrygritz.com
2016 May 20
0
External function resolution: MCJIT vs ORC JIT
...y welcome. In case it's useful too, here's a link to the LLILC JIT file, which uses a simple ORC setup on Windows: https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299 Cheers, Lang. On Thu, May 19, 2016 at 11:57 AM, Larry Gritz <lg at larrygritz.com> wrote: > Thanks so much! This seems to do the trick. I would have spun my wheels > for a long time before discovering all of this, wow. > > Do I even want to know what additional chickens need to be sacrificed to > get this to work on Windows? > > -- lg > > On Ma...
2010 Aug 18
2
[LLVMdev] Module management questions
...JITing, can I still call the JITed code? If not, may I suggest as a future feature either the ability for the client app to take complete ownership of the JIT code, or else to ask the Module/EE to release as many resources and memory as possible except the callable JIT code? -- Larry Gritz lg at larrygritz.com
2010 Aug 20
0
[LLVMdev] Module management questions
On Fri, Aug 20, 2010 at 12:39 PM, Larry Gritz <lg at larrygritz.com> wrote: > On Aug 18, 2010, at 10:24 AM, Reid Kleckner wrote: > >> You can free the machine code yourself by saying >> EE->freeMachineCodeForFunction(F) .  If you destroy the EE, it will >> also free the machine code. > > Thanks, but unfortunately, this is exa...
2013 Dec 06
0
[LLVMdev] PTX generation examples?
On Fri, Dec 6, 2013 at 11:34 AM, Larry Gritz <lg at larrygritz.com> wrote: > 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 (i...
2016 May 22
1
External function resolution: MCJIT vs ORC JIT
...9;s useful too, here's a link to the LLILC JIT file, which uses a simple ORC setup on Windows: https://github.com/dotnet/llilc/blob/dd12743f9cdb5418f1c39b2cd756da1e8396a922/lib/Jit/LLILCJit.cpp#L299 > > Cheers, > Lang. > > On Thu, May 19, 2016 at 11:57 AM, Larry Gritz <lg at larrygritz.com> wrote: > Thanks so much! This seems to do the trick. I would have spun my wheels for a long time before discovering all of this, wow. > > Do I even want to know what additional chickens need to be sacrificed to get this to work on Windows? > > -- lg > >> On May 1...
2016 Mar 08
3
Deleting function IR after codegen
...ose addresses are taken, i.e. jump tables, can’t be deleted. Those functions will just keep their IR around so no changes there. > > With the above issues fixed, I can run make check and pass all the tests. > > Comments very welcome. > > Cheers, > Pete -- Larry Gritz lg at larrygritz.com
2010 Aug 16
3
[LLVMdev] Module management questions
...or EE for every one of these sets of functions that I need to dynamically compile. Second question: what's the best way to proceed? What's the approved way to completely free a Module/EE? And can I do so and still retain the JITed machine code to continue executing? -- Larry Gritz lg at larrygritz.com (a.k.a. lg at imageworks.com)
2010 Aug 12
0
[LLVMdev] Optimization pass questions
...is awesome, BTW), this is production software, meant to be used (now) on production projects. If people on the list can help more than usual, I think this is definitely a worthy project.<br /> <br /> Best, Erich<br /> <br /> On Wed, Aug 11, 2010 at 11:55 PM, Larry Gritz (lg@larrygritz.com) wrote:<br /> > <br /> > I have a whole slew of questions about optimization passes. Answers to any or all would be extremely helpful:<br /> > <br /> > How important are doInitialization/doFinalization? I can't detect any difference if I use them or n...
2014 Sep 03
2
[LLVMdev] Questions on the llvm 'vector' types and resulting SIMD instructions
...machine's SIMD length? If I defined a <3 x float>, would it always generate scalar code, or would it pad to a 4xfloat and generate SSE instructions? Or is it not even allowed? Thanks, and apologies if I've missed the documentation where all this is spelled out. -- Larry Gritz lg at larrygritz.com