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

[Question] Is VC4CL compatible with BOINC GPU jobs ? #104

Open
sviscapi opened this issue Dec 26, 2021 · 5 comments
Open

[Question] Is VC4CL compatible with BOINC GPU jobs ? #104

sviscapi opened this issue Dec 26, 2021 · 5 comments

Comments

@sviscapi
Copy link

Dear @doe300 ,

I found out only recently about your OpenCL implementation. I had a RPI 3 lying idle somewhere so I decided to put it to good use and make it crunch for science with BOINC (Einstein@Home project, to be precise):

https://einsteinathome.org/fr/home

It takes roughly 14 hours for the RPI 3 to complete a single CPU job. So far I haven't been able to contribute much horse power to the project...

Could I use VC4CL to run GPU jobs on my RPI 3 and improve my results ?

Best regards,

Samuel

@doe300
Copy link
Owner

doe300 commented Dec 27, 2021

Although BOINC does support OpenCL to some degree, having a quick look at the Einstein@Home source code, I can't see any use of it.
That said, it might work, although it is likely to not be very fast and/or produce wrong results.

@sviscapi
Copy link
Author

Dear @doe300 ,

Thank you for your quick reply, really appreciated.

According to this page (https://einsteinathome.org/fr/application-source-code-and-license), the application currently running on my RPI 3 (Binary Radio Pulsar Search) is compatible with OpenCL:

You can use the script build.sh to build native binaries for Windows (cross-compiled on Linux using MinGW!), Mac OS X and Linux. This script will download all 3rd-party libraries and build them before building the actual science application. The script will check whether all prerequisites are met and supports checkpointing. For CUDA or OpenCL builds, please make sure PATH as well as CUDA_INSTALL_PATH or AMDAPPSDKROOT respectively are set properly.

There's indeed an OpenCL directory in the source archive: https://einsteinathome.org/brp-src-release.zip.

This is my first foray into GPGPU and I must say this is all very confusing :)

Best regards,

Samuel

@doe300
Copy link
Owner

doe300 commented Dec 28, 2021

From what I can see from the source code, the application requires OpenCL 1.1, which VC4CL implements. It also seems to be able to dynamically use smaller work-group sizes (VC4CL has a limit of 12).

Currently some kernels seem to not compile for VC4CL, so it won't be (fully) usable right now.

@ssb22
Copy link

ssb22 commented Dec 28, 2021

Don't forget VC4CL supports only the Embedded profile (i.e. OpenCL EP), not the full OpenCL

@sviscapi
Copy link
Author

sviscapi commented Jan 8, 2022

Dear @doe300 and @ssb22 ,

I went ahead and posted my question at the Einstein@Home boards:

https://einsteinathome.org/fr/content/opencl-requirements-eh-arm-platform#comment-191610

Looks like I'm out of luck (for now).

Best regards,

Samuel

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

3 participants