Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning

2015-04-21 Thread Michael Dickens
On Tue, Apr 21, 2015, at 03:12 PM, Marcus Müller wrote: > By the way: This currently *is* getting more interesting: Because you > typically don't want to copy memory needlessly in a > performance-critical application, it's bad that blocks that wrap some > kind of accelerator (GPU, FPGA card, DSP co

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning

2015-04-21 Thread Marcus Müller
erson=its.bldrdoc@gnu.org] on behalf > of Marcus Müller [marcus.muel...@ettus.com] > *Sent:* Tuesday, April 21, 2015 12:33 PM > *To:* discuss-gnuradio@gnu.org > *Subject:* Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning > > Hi Doug, > > ok, you asked for

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning

2015-04-21 Thread Anderson, Douglas J.
From: discuss-gnuradio-bounces+danderson=its.bldrdoc@gnu.org [discuss-gnuradio-bounces+danderson=its.bldrdoc@gnu.org] on behalf of Marcus Müller [marcus.muel...@ettus.com] Sent: Tuesday, April 21, 2015 12:33 PM To: discuss-gnuradio@gnu.org Subject: Re: [Discuss-gnuradio] gr::buffer::all

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning

2015-04-21 Thread Marcus Müller
- > *From:* discuss-gnuradio-bounces+danderson=its.bldrdoc@gnu.org > [discuss-gnuradio-bounces+danderson=its.bldrdoc@gnu.org] on behalf > of Ali Riaz [ariaz.1...@gmail.com] > *Sent:* Monday, April 20, 2015 12:16 PM > *To:* disc

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning

2015-04-21 Thread Anderson, Douglas J.
onday, April 20, 2015 12:16 PM To: discuss-gnuradio@gnu.org Subject: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning Hello everyone, I'm getting the following warnings when running my application, does anyone know what this means? gr::buffer::allocate_buffer: warning: tried to allocate

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning

2015-04-20 Thread Martin Braun
On 20.04.2015 11:16, Ali Riaz wrote: > Hello everyone, > > I'm getting the following warnings when running my application, does > anyone know what this means? > > gr::buffer::allocate_buffer: warning: tried to allocate >41 items of size 1592. Due to alignment requirements >512 were alloca

[Discuss-gnuradio] gr::buffer::allocate_buffer: warning

2015-04-20 Thread Ali Riaz
Hello everyone, I'm getting the following warnings when running my application, does anyone know what this means? gr::buffer::allocate_buffer: warning: tried to allocate 41 items of size 1592. Due to alignment requirements 512 were allocated. If this isn't OK, consider padding your stru

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning:

2013-07-07 Thread Jens Elsner
Hi Manu, Tracie, I wouldn't worry about this for now. I'm assuming this is for your GSoC project? If so, just keep going and make sure you get the math right. You'll want to move this into a C++ block eventually, anyways, and do further optimizations there. We can worry about this problem at tha

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning:

2013-07-07 Thread Manu T S
Tom, Yes, it is for my GSoC project. Till now I have prototyped in python encoder, decoder and construction of LDPC codes from Reed Solomon codes. The encoder and decoder input sizes vary based on the code block length and dimension. I hope to switch gears to C++ soon. Thanks. On Sun, Jul 7, 2

Re: [Discuss-gnuradio] gr::buffer::allocate_buffer: warning:

2013-07-07 Thread Tom Rondeau
On Fri, Jul 5, 2013 at 5:01 AM, Manu T S wrote: > A block that i designed takes a vector of length 408 with numpy.int32 > components. Work function just copies input to output. Work function > definition is given below. >

[Discuss-gnuradio] gr::buffer::allocate_buffer: warning:

2013-07-05 Thread Manu T S
A block that i designed takes a vector of length 408 with numpy.int32 components. Work function just copies input to output. Work function definition is given below. def work(self, input_items,