discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Choose thread


From: Tom Rondeau
Subject: Re: [Discuss-gnuradio] Choose thread
Date: Sun, 24 May 2015 13:51:43 -0400

On Fri, May 22, 2015 at 1:22 PM, marco Ribero <address@hidden> wrote:
Hi,
I've a question about thread management..I like the fact that scheduler can launch blocks in different threads, but I'd like to execute some blocks inside the same thread(CUDA require to perform all operations from a single thread)..for the moment I'm using GR_SCHEDULED=STS,but it blocks at all multithreading..Is it possible to set a thread affinity?(I've looked https://gnuradio.org/doc/doxygen/page_affinity.html, but it doesn't help)

Thanks,
marco

Don't use the STS scheduler. It is, after all, the Single-Threaded Scheduler. And setting the thread affinity under that condition is a nop. That will only work with the default TPB scheduler.

Tom


reply via email to

[Prev in Thread] Current Thread [Next in Thread]