discuss-gnuradio
[Top][All Lists]
Advanced

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

[Discuss-gnuradio] How to use gcell gang-scheduling in qa_fft.py (Python


From: matty
Subject: [Discuss-gnuradio] How to use gcell gang-scheduling in qa_fft.py (Python) on Cell BE?
Date: Fri, 23 Jul 2010 11:29:40 +0200

Hi,

when i run benchmark_nop on Cell BE (PS3), i can see the speedup pretty well.
When i take qa_fft.py as testcase i can't see the speedup.
All SPEs run the same code for same time. So when i use 6 SPEs, computing takes the same time
as 1 SPE but it computes six times more.
I think i have to set gang_schedule() to true in gc_job_manager.h.
But how can i use this option in qa_fft.py?

def setUp(self):
        ph = gcell.program_handle_from_filename("../../gcell/lib/spu/gcell_all")
        opts = gcell.jm_options(ph, 1)
        self.mgr = gcell.job_manager(opts)
        gcell.set_singleton(self.mgr)

gcell.jm_options() has only two parameters, in gc_job_manager.h there are 7 options.

Maybe, somebody can help me! I want to achieve, to see the speedup as well with qa_fft.py as testcase.

Best Regards
Matty

reply via email to

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