Displaying 2 results from an estimated 2 matches for "pthread_attr_setaffinity_np".
2014 Feb 27
3
[LLVMdev] Future of the LLVM OpenMP runtime
On 26/02/2014 09:03, David Chisnall wrote:
> On 25 Feb 2014, at 23:13, Alp Toker <alp at nuanti.com> wrote:
>
>> Now that we've kick-started the LLVM OpenMP runtime discussion, I want to make a concrete proposal to get a test suite up and running for the LLVM OpenMP runtime. I don't think the current setup as an LLVM subproject is sustainable going forward without some
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....