search for: libdispatch

Displaying 20 results from an estimated 37 matches for "libdispatch".

2009 Sep 15
2
[LLVMdev] Status of blocks runtime in compiler-rt?
Hi folks, So, various folks are in the process of porting Grand Central Dispatch to FreeBSD (c.f. http://libdispatch.macosforge.org and http://lists.macosforge.org/pipermail/libdispatch-dev for mailing list discussion on the topic) and are making good progress, but one of the issues they're running into is support for Blocks in FreeBSD. On the one hand, they could try and back-port the gcc changes fro...
2014 Feb 28
2
[LLVMdev] [Openmp-dev] Future of the LLVM OpenMP runtime
...wrote: > Tangentially related, I have a question: > > I don't know, well, anything about how OpenMP is implemented. But does it make sense to use Grand Central Dispatch on platforms that support it (instead of, I assume, pthreads)? We played with implementing OpenMP 3.x tasks on top of libdispatch and while we got it to work - there was some scalability of the scheduling across a lot of cores which would probably need to be addressed. For systems with 4-8 cores I doubt it would ever cause a significant problem though.
2009 Sep 15
0
[LLVMdev] Status of blocks runtime in compiler-rt?
...wever I would be interested to hear and at least it would be 'on record' here. Cheers, Edward O'Callaghan. 2009/9/15 Jordan K. Hubbard <jkh at apple.com>: > Hi folks, > > So, various folks are in the process of porting Grand Central Dispatch > to FreeBSD (c.f. http://libdispatch.macosforge.org and http://lists.macosforge.org/pipermail/libdispatch-dev >  for mailing list discussion on the topic) and are making good > progress, but one of the issues they're running into is support for > Blocks in FreeBSD. > > On the one hand, they could try and back-port t...
2009 Sep 16
3
[LLVMdev] Status of blocks runtime in compiler-rt?
...at a shared library is probably the right way for it. It should probably be generally portable (it doesn't appear to compiler correctly with llvm-gcc and clang on Linux), and install its headers (doesn't appear to). I can spend some time on this, since I have some familiarity with libdispatch (Apple's APIs that heavily use Blocks for developer convenience). Shantonu Sent from my MacBook On Sep 15, 2009, at 4:42 PM, Edward O'Callaghan wrote: > Good day, > > I been working on the CMake build system (which is nice and portable) > + code clean ups over the whole Co...
2009 Sep 11
0
[LLVMdev] Grand Central Dispatch open sourced, with links to clang/compiler-rt
Hello, The source code for Grand Central Dispatch (libdispatch) in Mac OS X 10.6 Snow Leopard has been released: <http:// libdispatch.macosforge.org/> Prominently noted on the page is a link for a portable C compiler with blocks support (clang) and the blocks runtime (part of compiler-rt)! The libdispatch project consists of the user space impleme...
2013 Jan 30
0
[LLVMdev] Calling dispatch_async() within call to ExecutionEngine::runFunction()
I have used libdispatch (on FreeBSD) from JIT'd code without any issues, so I think your bug is elsewhere. David On 30 Jan 2013, at 07:43, Rick Mann wrote: > My host app calls runFunction() on my JITed code. It, in turn, calls a C function ("decode()") in the host app that then calls dispatch_async()....
2013 Jan 30
3
[LLVMdev] Calling dispatch_async() within call to ExecutionEngine::runFunction()
My host app calls runFunction() on my JITed code. It, in turn, calls a C function ("decode()") in the host app that then calls dispatch_async(). The runFunction() call returns as expected, but the block passed to dispatch_async() never gets called. The async block is supposed to call a function pointer callback that was passed in to decode(). Everything is being called on the main
2012 Oct 09
0
[LLVMdev] "Multithreaded LLVM" in "Writing an LLVM Pass"
...hreads handle one module (Thread : Module = N : 1) For FunctionPasses, yes. Note that this part is in the future work section, meaning that no one has done it yet. FunctionPasses are independent of each other when running on different functions, so it would be fairly simple to use something like libdispatch to optimise every function within a module independently. FunctionPasses are not (in theory) allowed to modify any module state outside of a function, so they should be able to be run concurrently. David
2009 Sep 22
0
[LLVMdev] Status of blocks runtime in compiler-rt?
...obably the right way for it. > > It should probably be generally portable (it doesn't appear to > compiler correctly with llvm-gcc and clang on Linux), and install its > headers (doesn't appear to). > > I can spend some time on this, since I have some familiarity with > libdispatch (Apple's APIs that heavily use Blocks for developer > convenience). > > Shantonu > > Sent from my MacBook > > On Sep 15, 2009, at 4:42 PM, Edward O'Callaghan wrote: > >> Good day, >> >> I been working on the CMake build system (which is nice and por...
2012 Oct 08
4
[LLVMdev] "Multithreaded LLVM" in "Writing an LLVM Pass"
Hello all, I have read the chapter "Writing an LLVM Pass" and noticed that there is a topic "Multithreaded LLVM". However I have no idea about this. I am wondering to know whether the goal of this extension is: 1. Multiple threads handle different modules (Thread : Module = 1 : 1) or 2. Multiple threads handle one module (Thread : Module = N : 1) Thanks a lot --------------
2014 Nov 07
1
Dovecot auth process repeatedly crashes on OS X Server 10.9
...c2b8 vstrconcat + 72 Thread 1: 0 libsystem_kernel.dylib 0x00007fff858f9e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff89901f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff89904fb9 start_wqthread + 13 Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff858fa662 kevent64 + 10 1 libdispatch.dylib 0x00007fff8808f421 _dispatch_mgr_invoke + 239 2 libdispatch.dylib 0x00007fff8808f136 _dispatch_mgr_thread + 52 Thread 3: 0 libsystem_kernel.dylib 0x00007fff858f9e...
2012 Oct 09
3
[LLVMdev] "Multithreaded LLVM" in "Writing an LLVM Pass"
...dule (Thread : Module = N : 1) > > For FunctionPasses, yes. > > Note that this part is in the future work section, meaning that no one has done it yet. FunctionPasses are independent of each other when running on different functions, so it would be fairly simple to use something like libdispatch to optimise every function within a module independently. FunctionPasses are not (in theory) allowed to modify any module state outside of a function, so they should be able to be run concurrently. No one has done it yet? From [1], it seems parallel JIT is workable. Or I just misread the ques...
2014 Feb 27
3
[LLVMdev] Future of the LLVM OpenMP runtime
> What's needed for CPU affinity? We expose his via pthread_attr_setaffinity_np() in <pthread_np.h> - > does the runtime need anything more from the interface, or was this support just not yet a high > priority for you? I'd be happy to help with this support. The Linux code uses the sched_{get,set}affinity calls directly, rather than via the pthread veneer. It can also
2018 Aug 30
4
crash problem when using IndirectBrInst to replace BranchInst
...opyfile.dylib (146.50.5) <3885083D-50D8-3EEC-B481-B2E605180D7F> /usr/lib/system/libcopyfile.dylib 0x7fff508e6000 - 0x7fff5096bfff libcorecrypto.dylib (562.70.1) <5C26364F-2269-31EC-84AF-0FED2C902E38> /usr/lib/system/libcorecrypto.dylib 0x7fff509f3000 - 0x7fff50a2cff7 libdispatch.dylib (913.60.2) <232C69BD-022E-3AB9-8807-79F9FA7CB5EC> /usr/lib/system/libdispatch.dylib 0x7fff50a2d000 - 0x7fff50a4aff7 libdyld.dylib (551.4) <81BF3A82-5719-3B54-ABA9-76C82D932CAC> /usr/lib/system/libdyld.dylib 0x7fff50a4b000 - 0x7fff50a4bffb libkeymgr.dylib (28) &...
2019 Jan 26
2
Status update on the hot/cold splitting pass
...performance impact of enabling splitting in the LLVM test suite appears to be in the noise. We think this is because split code amount to just 0.1% of all the code in the test suite. Across the iOS shared cache we see that 0.9% of code is split, with higher percentages in key frameworks (e.g. 7% in libdispatch). For three internal benchmarks, we see geomean score improvements of 1.58%, 0.56%, and 0.27% respectively. We think these results are promising. I’d like to encourage others to evaluate the pass and share results. Thanks! vedant -------------- next part -------------- An HTML attachment was scru...
2013 Apr 02
1
Rpy2 and Mac OS X 10.8.3
...3dff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib 0x7fff8e33e000 - 0x7fff8e374fff libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib 0x7fff8f1dc000 - 0x7fff8f1f1ff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib 0x7fff8f26b000 - 0x7fff8f26cff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib 0x7fff8f693000 - 0x7fff8f69bfff liblaunch.dylib...
2013 Apr 02
1
Rpy2 and Mac OS X 10.8.3
...3dff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib 0x7fff8e33e000 - 0x7fff8e374fff libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib 0x7fff8f1dc000 - 0x7fff8f1f1ff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib 0x7fff8f26b000 - 0x7fff8f26cff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib 0x7fff8f693000 - 0x7fff8f69bfff liblaunch.dylib...
2018 Aug 31
2
crash problem when using IndirectBrInst to replace BranchInst
...; <3885083D-50D8-3EEC-B481-B2E605180D7F> /usr/lib/system/libcopyfile.dylib > > 0x7fff508e6000 - 0x7fff5096bfff libcorecrypto.dylib (562.70.1) > <5C26364F-2269-31EC-84AF-0FED2C902E38> /usr/lib/system/libcorecrypto.dylib > > 0x7fff509f3000 - 0x7fff50a2cff7 libdispatch.dylib (913.60.2) > <232C69BD-022E-3AB9-8807-79F9FA7CB5EC> /usr/lib/system/libdispatch.dylib > > 0x7fff50a2d000 - 0x7fff50a4aff7 libdyld.dylib (551.4) > <81BF3A82-5719-3B54-ABA9-76C82D932CAC> /usr/lib/system/libdyld.dylib > > 0x7fff50a4b000 - 0x7fff50a4...
2016 Jan 21
2
greendragon build noisy due to mmap_stress.cc
...ibdyld.dylib (353.2.3) <CFBBE540-D503-3AFC-B5D6-644F1E69949B> /usr/lib/system/libdyld.dylib 0x7fff93b58000 - 0x7fff93b61fff libsystem_pthread.dylib (105.40.1) <ACE90967-ECD0-3251-AEEB-461E3C6414F7> /usr/lib/system/libsystem_pthread.dylib 0x7fff93b62000 - 0x7fff93b8cff7 libdispatch.dylib (442.1.4) <502CF32B-669B-3709-8862-08188225E4F0> /usr/lib/system/libdispatch.dylib 0x7fff94527000 - 0x7fff94530ff7 libsystem_notify.dylib (133.1.1) <61147800-F320-3DAA-850C-BADF33855F29> /usr/lib/system/libsystem_notify.dylib 0x7fff94531000 - 0x7fff94531ff7 libla...
2019 Jan 28
2
Status update on the hot/cold splitting pass
...performance impact of enabling splitting in the LLVM test suite appears to be in the noise. We think this is because split code amount to just 0.1% of all the code in the test suite. Across the iOS shared cache we see that 0.9% of code is split, with higher percentages in key frameworks (e.g. 7% in libdispatch). For three internal benchmarks, we see geomean score improvements of 1.58%, 0.56%, and 0.27% respectively. We think these results are promising. I’d like to encourage others to evaluate the pass and share results. > > Thanks! > > vedant > __________________________________________...