element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Blog Raspberry Pi now with OpenCL GPU Support (VC4CL VideoCore IV OpenCL)
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
GPIO Pinout
Raspberry Pi Wishlist
Comparison Chart
Quiz
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: cstanton
  • Date Created: 22 Jan 2019 3:53 PM Date Created
  • Views 7994 views
  • Likes 8 likes
  • Comments 6 comments
Related
Recommended
  • raspberry pi opencl
  • videocore iv
  • open cl
  • opencl
  • raspberry pi
  • vc4cl

Raspberry Pi now with OpenCL GPU Support (VC4CL VideoCore IV OpenCL)

cstanton
cstanton
22 Jan 2019

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Next Biggest Breakthrough for Raspberry Pi is here!

 

 

 

Today I successfully compiled OpenCL on raspberry pi 3, Opening the door for numerous GPU possibilities for Raspberry Pi, Love the performance in FFMPEG(1080p rendering) and now looking forward to Deep-Learning applications on this little beast.

 

 

 

VC4CL is a newer effort bringing OpenCL to the Broadcom VideoCore IV GPUs as found in the Raspberry Pi boards. VC4CL implements OpenCL 1.2 for the VideoCore 4 graphics processor albeit the embedded profile standard. This VC4CL implementation does support the OpenCL ICD.

 

 

 

Notable supported features:

 

 

- Performance-wise it beats the results of the pocl implementation for the floating-point benchmark (reaching up to 4GFLOPS!) and has an expected inferior memory-access speed (at up to 120MB/s). More info. here

 

 

- 64-bit data-types (long, double)

 

 

- Active development

 

 

 

More Information on this Project can be found here: https://github.com/doe300/VC4CL

 

 

Kudos to all the project DEVS!!!

 

Source: https://www.reddit.com/r/raspberry_pi/comments/ailmgj/raspberry_piopenclgpu_vc4cl_videocore_iv_opencl

VC4CL Performance Details: https://github.com/doe300/VC4CL/wiki/Performance

VC4CL Github: https://github.com/doe300/VC4CL

  • Sign in to reply
  • cstanton
    cstanton over 6 years ago in reply to zhaod

    zhaod , I recommend you raise an issue on the github repo.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • zhaod
    zhaod over 6 years ago in reply to cstanton

    Thank you very much for your reply.

     

    According to the guide of https://github.com/doe300/VC4CL/wiki/How-to-get, I successfully install VC4C, VC4CL and VC4CLStdLib. But I found the error when calling function clBuildProgram to build kernel, the forllowing is detailed error information.

     

    symbol lookup error: /usr/local/lib/libVC4CL.so: undefined symbol: _ZN4vc4c11Precompiler10precompileERSiRSt10unique_ptrISiSt14default_deleteISiEENS_13ConfigurationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8OptionalISD_EESH_

     

     

    But I also find the symbol in libVC4CC.so and libVC4CL.so, the following is detailed information:

     

    pi@raspberrypi:~ $ nm /usr/local/lib/libVC4CL.so | grep _ZN4vc4c11Precompiler10precompileERSiRSt10unique

             U _ZN4vc4c11Precompiler10precompileERSiRSt10unique_ptrISiSt14default_deleteISiEENS_13ConfigurationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8OptionalISD_EESH_

     

    pi@raspberrypi:~ $ nm /usr/local/lib/libVC4CC.so | grep _ZN4vc4c11Precompiler10precompileERSiRSt10unique

    00842780 T _ZN4vc4c11Precompiler10precompileERSiRSt10unique_ptrISiSt14default_deleteISiEENS_13ConfigurationERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_8OptionalISD_EESJ_

     

     

    Could you give me some suggestion to solve this issue? Thank you. Look forward to your reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cstanton
    cstanton over 6 years ago in reply to zhaod

    https://github.com/doe300/VC4CL/wiki

     

    https://github.com/doe300/VC4CL/wiki/How-to-get

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • zhaod
    zhaod over 6 years ago

    I download VC4C and VC4CL from github( https://github.com/doe300/VC4CL), but the Raspberrypi still can't run OpenCL. When I call function clGetPlatformIDs, the return value is -1001. How do you install VC4C and VC4CL or set which parameters on Raspberrypi. My machine type is Raspberry PI 3 Model B Plus Rev1.3. Could you help me? Thank you very much.

     

    Look forward to your reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • vimarsh_
    vimarsh_ over 6 years ago

    if we use GPU with OpenCL then what will be the benefit in time or resource while doing a little bit of image recognition?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube