similar to: [LLVMdev] LLVM multithreading

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] LLVM multithreading"

2014 May 30
3
[LLVMdev] LLVM multithreading
Hi Bruce, thank you for your answer. What I want to know is following: Imagine that I create threads in some way. I want threads to execute the same BC, while using the same memory space. I know that LLVM IR has a nice structure: Context - Module - Execution engine. Is there a way to run several instances of LLVM (using threads for example) with the same memory space? On Fri, May 30, 2014 at
2014 May 30
2
[LLVMdev] LLVM multithreading
On 30 May 2014 11:01, David Chisnall <David.Chisnall at cl.cam.ac.uk> wrote: > I think your question is a result of misunderstanding the nature of LLVM. It is not a virtual machine, it is an abstract machine and a set of tools implementing compilers for that abstract machine. You don't run the bitcode (well, you can interpret it, but you don't usually), you compile the bitcode
2020 May 24
1
doveadm backup : Error: Failed to access mailbox
Hi All, So close and yet so far.? ;-( Have been migrating users from an old Dovecot server to a new one. All of the users have doveadm backup'd perfectly, except for one ! What does the below mean ? $ sudo doveadm -v -o imapc_user=jd at example.org.tld -o imapc_password=secretSquirrel -o imapc_host=old-server.example.com backup -1 -R -u jd at example.org.tld imapc: dsync(jd at
2003 Jan 11
3
Multithreading
Hi. I need to execute a function from within a GUI. This seems to be no problem but this function takes about 4 minutes to finish, which means the application doesn't react at all, while the function is running. Can I execute a function as a separate Thread, while keeping control(e.g. a reference) of it at the same time? If not, how do this with a class containing this function? thanks,
2012 Nov 24
6
IMPORTANT!!!! PLEASE HELP ME
Hi, I want to generate 10000 samples from normal distribution with replacement case and every sample size is 50. What should I do ? -- View this message in context: http://r.789695.n4.nabble.com/IMPORTANT-PLEASE-HELP-ME-tp4650676.html Sent from the R help mailing list archive at Nabble.com.
2018 Mar 23
0
Optimization: Replace functions with thread unsafe variants + detection of multithreading
Hello, My idea is to detect a multithreading and perform some transformations and get new possibilities for optimizations: 1. Check pthread_create and follow CallInstr (goal: to know that we are in new thread), identify functions where fork is used and check all other CallIstr (we are in child) + check Windows variants of fork/ thread create.. 2. Check functions if they do not contain any of
2012 Nov 13
1
[LLVMdev] Inserting pthread_create call into sequential code
Hi, I was working on multithreading a cross iteration loop. I want to insert a pthread_create function call and use other pthread functions into my LLVM IR. Issue is how do i get these functions using module->getOrInsertFunction("pthread_create"), since the function might not be there in IR and then insert function calls to these functions. So, crux is how do i call pthread
2020 Mar 02
1
DP MST with GK107 and lenovo ultra dock
Hi Ilia, thanks for your reply. > DP-MST support was first added to nouveau for precisely these kinds of > setups. It does, generally, work, so that means there's something > extra-special about your setup. Yes... this is what it looks like. Even the proprietary driver, which works after bootup, has its problems with the setup after multiple consecutive VT switches (e.g. after
2015 Apr 11
2
[LLVMdev] How doesn't llvm generate IR for logical negate operation
I see. My CPU is a general Core i7 Ivy bridge CPU. On Fri, Apr 10, 2015 at 6:48 PM, Bruce Hoult <bruce at hoult.org> wrote: > I suppose that depends on your CPU. Do you even have a CPU that supports > operations on <N x i1> as packed bits in vector registers? > > > On Sat, Apr 11, 2015 at 12:43 PM, zhi chen <zchenhn at gmail.com> wrote: > >> Yes, but my
2015 Apr 11
2
[LLVMdev] How doesn't llvm generate IR for logical negate operation
Yes, but my point is that there would be some overhead to do cast the <N x i1> vectortype to an integerNty. Is there any good way to check not all of these N bits in the vectortype are 0s? On Fri, Apr 10, 2015 at 5:37 PM, Bruce Hoult <bruce at hoult.org> wrote: > Sure, if you actually just want an i1 saying whether or not at least one > bit is set to 1, then comparing against 0
2003 Dec 23
4
[LLVMdev] pthread?
hi, I compile a pthread program using llvmgcc, but when i run pthread.ll, it show: ------------------ [yue at RH9 test]$ llvmgcc pthread.c -o pthread.ll [yue at RH9 test]$ ls pthread pthread.c pthread.ll pthread.ll.bc [yue at RH9 test]$ ./pthread.ll Creating thread 0 WARNING: Cannot resolve fn 'pthread_create' using a dummy noop function instead! ERROR; return code from
2018 Jan 25
2
Re: libvirtd hangs
Ján Tomko wrote 2018-01-18 14:27: > On Thu, Jan 18, 2018 at 11:30:16AM +0700, Artem Likhachev wrote: >> # strace -p 5786 >> read(53, "\0\0\0\34", 4) = 4 >> read(53, "keep\0\0\0\1\0\0\0\2\0\0\0\2\0\0\0\0\0\0\0\0", 24) = 24 >> poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=12, >> events=POLLIN}, {fd=13, events=POLLIN},
2014 Apr 18
2
[LLVMdev] multithreaded performance disaster with -fprofile-instr-generate (contention on profile counters)
On Fri, Apr 18, 2014 at 11:13 AM, Dmitry Vyukov <dvyukov at google.com> wrote: > Hi, > > This is long thread, so I will combine several comments into single email. > > > >> - 8-bit per-thread counters, dumping into central counters on overflow. > >The overflow will happen very quickly with 8bit counter. > > Yes, but it reduces contention by 256x (a thread
2014 Sep 03
2
[LLVMdev] C Backend Ressurected
I can't see why you'd want to do this, no. -eric On Tue, Aug 19, 2014 at 8:02 PM, Isaac Dupree < ml at isaac.cedarswampstudios.org> wrote: > Is the C backend at all suitable to be adapted to emit OpenCL code? Or > do the target-dependence, and/or things that C can do but OpenCL can't, > make that hopeless? > -Isaac > > On 08/19/2014 03:08 PM, Carback,
2016 Jul 08
2
Dynamic selection of assembly mnemonic strings
Thanks for the quick answer Bruce. So far as I can tell (from a quick read), this is really for integrated assemblers/disassemblers - but we use an external assembler. When invoking clang we would provide ‘-mcpu=chip_v1’ or ‘-mcpu=chip_v2’, and the mnemonic ‘LD32’ is only valid when compiling for ‘chip_v1’, while ‘LD.32’ is only valid when compiling for ‘chip_v2’. But I will study the
2017 Oct 03
2
Trouble when suppressing a portion of fast-math-transformations
>>> I'd like to emphasise in the latter one: "This option also relaxes the precision of >>> commonly used math functions." >> >> Isn't this the "libm" flag that is proposed in this thread? > > I don't know. I didn't see any definition of it. > > In my case I'm talking about allowing the use of lower precision but
2015 Apr 11
2
[LLVMdev] How doesn't llvm generate IR for logical negate operation
Thanks, Bruce. So, what is the easiest way to check if there is any bit set to 1 in a <N x i1> vector type? I used bitcast instruction to cast it into "iN" first and them compare iN to 0. Do you have a better way to do it? Thanks again. On Fri, Apr 10, 2015 at 5:22 PM, Bruce Hoult <bruce at hoult.org> wrote: > LLVM doesn't have a "logical neg" (or
2014 Jun 18
2
[LLVMdev] [RFC] Add a simple soft-float class
On Jun 18, 2014, at 3:05 PM, Bruce Hoult <bruce at hoult.org> wrote: > On Thu, Jun 19, 2014 at 8:29 AM, Owen Anderson <resistor at mac.com> wrote: > Numerical analysis is hard. Every numerics expert I have ever worked with considers trying to re-invent floating point a cardinal sin of numerical analysis. Just don’t do it. You will miss important considerations, and you will
2018 May 14
1
A Fresh Start with LLVM
On Mon, May 14, 2018 at 5:15 PM, Carsten Mattner via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On 5/14/18, Bruce Hoult <bruce at hoult.org> wrote: > > If you use svn+ssh then hopefully ssh is at least gzipping that for the > > transfer. A .tgz of the src (after moving the .git repo out of the > > directory) is 111 MB. > > I used the https url you wrote
2016 Sep 29
3
LLVM Virtual Machine
On Thu, Sep 29, 2016 at 9:02 PM, Jonas Wagner via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi, > > I am going to use LLVM for my Thesis. Is there any LLVM Virtual Machine to >> download. I have some problem with installing and configuring the LLVM, >> please let me have the virtual machine link to download if there is any. >> > > I don't know of