Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sobel OCL test build fails #38

Open
dineiar opened this issue Oct 3, 2020 · 1 comment
Open

Sobel OCL test build fails #38

dineiar opened this issue Oct 3, 2020 · 1 comment

Comments

@dineiar
Copy link

dineiar commented Oct 3, 2020

Whenever I try to build the Sobel test with a make it throws this error:

In file included from ../../../ff/stencilReduceOCL.hpp:47:0,
                 from ffsobel_pipe+mapOCL.cpp:56:
../../../ff/oclnode.hpp: At global scope:
../../../ff/oclnode.hpp:79:13: error: ‘fftype’ does not name a type; did you mean ‘wctype’?
     virtual fftype getFFType() const   { return OCL_WORKER; }
             ^~~~~~
             wctype

I couldn't find the definition of fftype, where should it be defined?

It also shows this error:

ffsobel_pipe+mapOCL.cpp: In lambda function:
ffsobel_pipe+mapOCL.cpp:270:35: error: ‘EOS’ was not declared in this scope
         return static_cast<Task*>(EOS);
                                   ^~~
ffsobel_pipe+mapOCL.cpp:270:35: note: suggested alternative: ‘EOF’
         return static_cast<Task*>(EOS);
                                   ^~~
                                   EOF
ffsobel_pipe+mapOCL.cpp: In lambda function:
ffsobel_pipe+mapOCL.cpp:283:35: error: ‘GO_ON’ was not declared in this scope
         return static_cast<Task*>(GO_ON);
                                   ^~~~~

Environment:
Ubuntu 18.04.4
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
FastFlow's git commit: 9ba56e7, error also happens in v3.0 (ad4dccf).

I just tested v2.2 (b396caa) and the error is gone.

@massimotorquati
Copy link
Member

Thanks for reporting this issue. In FF version 3, both OpenCL and CUDA support (as well as the distributed support) have been left behind, and so almost all tests do not compile or don't work. I need to make an effort to re-align OpenCL and CUDA support as soon as possible. Thanks for your patience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants