Wednesday, November 6, 2013

Re: [Discuss-gnuradio] [coproc] Domain concept for blocks and ports

begin:vcard
fn:Johnathan Corgan
n:Corgan;Johnathan
org:Corgan Enterprises LLC dba Corgan Labs
adr:;;6081 Meridian Ave. Suite 70-111;San Jose;CA;95120;United States
email;internet:johnathan@corganlabs.com
title:Managing Partner
tel;work:+1 408 463 6614
x-mozilla-html:FALSE
url:http://corganlabs.com
version:2.1
end:vcard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iF4EAREIAAYFAlJ6n/wACgkQRzB3vGcdovemkAD/WJ8uDs3oU05aYjd1gp2AqsaE
kHKXJmrA5Tdo+k0eMi0A/3vmJRv7crA/pvhBq/kX1ac/pRG9Tw+TTQ7oi+Er7BkW
=mTr0
-----END PGP SIGNATURE-----
On 11/06/2013 11:23 AM, Ben Hilburn wrote:

> This goes back to the "ingress" and "egress" blocks that Justin's team
> used in their original design.
>
> I think having these transitions represented with such blocks makes
> sense, from a graphical perspective, but under-the-hood I think we
> should architect these "gresses" as zero-copies. How that relationship /
> responsibility gets controlled & delegated is something we still need to
> figure out, I think.

Sure, the working group is a great place to iterate on this.

>
> Thus, again with minimally invasive changes to the GNU Radio internals,
> this mechanism supports both single accelerator blocks as well as the
> domain crossing sources and sinks.
>
>
> Yeah, this is a big selling point of the design, I think.

I rebased the first commit I did for this right after the conference
onto the current master branch and pushed it here:

https://github.com/jmcorgan/gnuradio/commit/aa6f59aa33a80c3c4b6b9adfc800d97282baf68c

It just adds the buffer flags member variable and provides the modified
io_signature functions to allow setting it, with defaults to make it
compatible with the current API. The next step is to add the gr::block
virtual function signature to be overridden, and then to implement the
parsing logic in the runtime to know when to call that instead of the
built-in memory allocator.

--
Johnathan Corgan, Corgan Labs
SDR Training and Development Services
http://corganlabs.com

No comments:

Post a Comment