Git Product home page Git Product logo

gr-clenabled's People

Contributors

ghostop14 avatar radio-dan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gr-clenabled's Issues

complex taps

If the filter tab in the opencl tap-based filter block is complexed, how should we import it?

Compilation error: cerr is not a member of std

I'm compiling from git and this happens:

[ 26%] Building CXX object lib/CMakeFiles/gnuradio-clenabled.dir/fast_atan2f.cc.o
/home/feanor/Development/gr-clenabled/lib/fft_filter.cc: In member function ‘virtual void gr::clenabled::fft_filter_ccf::compute_sizes(int)’:
/home/feanor/Development/gr-clenabled/lib/fft_filter.cc:79:10: error: ‘cerr’ is not a member of ‘std’
     std::cerr << "fft_filter_ccf: ntaps = " << d_ntaps
          ^~~~
/home/feanor/Development/gr-clenabled/lib/fft_filter.cc:79:10: note: suggested alternative: ‘errc’
     std::cerr << "fft_filter_ccf: ntaps = " << d_ntaps
          ^~~~
          errc
[ 28%] Building CXX object lib/CMakeFiles/gnuradio-clenabled.dir/clFFT_impl.cc.o

Adding #include <iostream> at that offending source code fixes the problem and now the code compiles

Discontinuities using Tap-based Filter

I was testing some filters out and noticed that there appear to be some discontinuities using the OpenCL Tap-based Filter. The discontinuity can be seen here:

image

where my flow graph is:

image
OpenCL_Test-FIR.grc.gz

And I am getting an interesting display on the Frequency sink, where at times (as opposed to the first attached pic), it will look like:

image

Does this seem like an issue? Or am I doing something incorrectly?

I'm using the following configurations:

  • Ubuntu: 18.04 LTS
  • gr-clenabled: maint-3.8 (11b091)
  • gnuradio: v3.8.2.0-102-gcc5a816b

Thanks!

using opencl 2 cl2.hpp

Hello,

First, thanks for your job.
I work for many personal project about gnuradio.

I would try to test your blocks but i can't compile them.
I work on ubuntu 16.04 and open library was version 2 with cl2.hpp.

Do you think it is possible to modify your code for use new opencl library ?

Thanks in advance!

3.10 Mint 21 build problems (boost and iomanip)

I'm trying to build on Mint 21 for gnuradio 3.10, and I'm running into several issues. The first is the need to use updated cl headers, as discussed in the existing issue.

The next issue is with boost. 1.74 is installed, and I get similar issues with undefined references to filesystem classes/operators as what is described in volk issue 242. I propose that we switch to std::filesystem and requires c++17, which if I understood correctly is required for gr 3.10 anyhow.

Lastly, it appears that we need to add a few includes for to resolve some other errors. I don't fully understand why this is necessary when it wasn't before.

I plan to update my fork with what will at least build, but I'm not sure these changes are actually the right answers to the problems so I'm not quite ready to make pull request. Advice/direction is welcome.

GRC: Error in CL FFT block for GNURadio 3.8

Problems in issue #2158 is now existing in GR 3.8. I am observing this in CL-FFT blocks.

Fixes in #1925 is already implemented in GR 3.8. However still the problem exists. Probably some modifications are necessary to this OOT module.

Selection_002

FFT size > 4096

Hello,

Whenever I run openCL_Test-FFT.grc with fftsize > 4096, I receive:

:88:21408: error: invalid digit '9' in octal constant
:88:21481: error: invalid digit '9' in octal constant
:88:21602: error: invalid digit 'f' in decimal constant
:88:21690: error: invalid digit 'f' in decimal constant
:88:21778: error: invalid digit 'f' in decimal constant
:88:21866: error: invalid digit 'f' in decimal constant
:88:21954: error: invalid digit 'f' in decimal constant
:88:22042: error: invalid digit 'f' in decimal constant

Any fixing suggestion?

BR, Josh

GNC Window Crashes When Changing QT GUI Range

I just installed maint-3.7 using cuda 10.2, and started experimenting with the OpenCL Low Pass Filter.
image
It seems to run fine, except when I have a variable for Beta. When I move the slider, the frequency sink screen crashes. The file input is just a 2 second recording of noise that I had made at one time.
image
The output of GNC when it starts up and is running is as follows:

Generating: '/home/jas/flow/test_opencl_lowpass.py'
Executing: /usr/bin/python2 -u /home/jas/flow/test_opencl_lowpass.py

OpenCL INFO: Filter is using kernel code with faster constant memory.

But when it crashes, I get two additional lines before it gets to Done:

Executing: /usr/bin/python2 -u /home/jas/flow/test_opencl_lowpass.py

OpenCL INFO: Filter is using kernel code with faster constant memory.
OpenCL INFO: Filter is using kernel code with faster constant memory.
OpenCL INFO: Filter is using kernel code with faster constant memory.

>>> Done

Any ideas what might be happening?

Note that this does not happen if I simply select bypass for the OpenCL block.

I'm new to CUDA and openCL, but I want to get better... :)
Thanks.

PFB Clock Recovery Block

Could you add the PFB Clock Recovery Block from GNU RADIO. It contains a lot of filters which can be paralellized.

missing Frequency Xlating FIR Filter

Hello ghostop14,
thank you for this great project!

Will the missing channelizers, especially the Frequency Xlating FIR Filter, also added to your project?

This would make me very happy. :-)

Compiling Issues

I'm not an expert in OpenCL, so I'm having some issues compiling it on a Ubuntu 16.04:

┌─[lucas@nblucas] - [/media/ELTN/Works/gr-clenabled/build] - [Qui Set 07, 22:25]
└─[$] <git:(master*)> make  
[  1%] Building CXX object lib/CMakeFiles/clview.dir/clview.cc.o
In file included from /usr/local/cuda-8.0/include/CL/opencl.h:42:0,
                 from /usr/local/cuda-8.0/include/CL/cl.hpp:170,
                 from /media/ELTN/Works/gr-clenabled/lib/clview.cc:14:
/usr/local/cuda-8.0/include/CL/cl.h:183:0: warning: "CL_VERSION_1_2" redefined
 #define CL_VERSION_1_2                              1
 ^
/media/ELTN/Works/gr-clenabled/lib/clview.cc:9:0: note: this is the location of the previous definition
 #define CL_VERSION_1_2
 ^
/media/ELTN/Works/gr-clenabled/lib/clview.cc: In function ‘int main(int, char**)’:
/media/ELTN/Works/gr-clenabled/lib/clview.cc:93:14: error: ‘cl_device_svm_capabilities’ was not declared in this scope
              cl_device_svm_capabilities caps;
              ^
/media/ELTN/Works/gr-clenabled/lib/clview.cc:95:49: error: ‘CL_DEVICE_SVM_CAPABILITIES’ was not declared in this scope
              err = clGetDeviceInfo(devices[j](),CL_DEVICE_SVM_CAPABILITIES,
                                                 ^
/media/ELTN/Works/gr-clenabled/lib/clview.cc:96:56: error: ‘caps’ was not declared in this scope
                    sizeof(cl_device_svm_capabilities),&caps,0);
                                                        ^
/media/ELTN/Works/gr-clenabled/lib/clview.cc:98:69: error: ‘CL_DEVICE_SVM_FINE_GRAIN_BUFFER’ was not declared in this scope
              bool hasSVMFineGrained = (err == CL_SUCCESS && (caps & CL_DEVICE_SVM_FINE_GRAIN_BUFFER));
                                                                     ^
lib/CMakeFiles/clview.dir/build.make:62: recipe for target 'lib/CMakeFiles/clview.dir/clview.cc.o' failed
make[2]: *** [lib/CMakeFiles/clview.dir/clview.cc.o] Error 1
CMakeFiles/Makefile2:145: recipe for target 'lib/CMakeFiles/clview.dir/all' failed
make[1]: *** [lib/CMakeFiles/clview.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.