This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
products:sbc:common:applications:opencl [2025/02/17 21:06] nick |
products:sbc:common:applications:opencl [2026/09/15 01:50] (current) nick |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| | VIM3L \\ **Mali G31-MP2** - Bifrost 1st gen | 4.9 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | | | VIM3L \\ **Mali G31-MP2** - Bifrost 1st gen | 4.9 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | | ||
| | VIM4 \\ **Mali G52-MP8** - Bifrost 2nd gen | 5.4 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | | | VIM4 \\ **Mali G52-MP8** - Bifrost 2nd gen | 5.4 \\ 5.15 | Ubuntu 22.04 \\ Ubuntu 24.04 | | ||
| + | | VIM 5 \\ **Mali G625-MC1** - Avalon | ||
| | Edge2 \\ **Mali G610-MP4** - Valhall 3rd gen | 5.10 \\ 6.1 | Ubuntu 22.04 \\ Ubuntu 24.04 | | | Edge2 \\ **Mali G610-MP4** - Valhall 3rd gen | 5.10 \\ 6.1 | Ubuntu 22.04 \\ Ubuntu 24.04 | | ||
| Line 23: | Line 24: | ||
| ===== Get source code ====== | ===== Get source code ====== | ||
| - | Clone the examples [[gh>sravansenthiln1/ | + | Clone the examples [[gh>numbqq/ |
| ```shell | ```shell | ||
| - | $ git clone https:// | + | $ git clone https:// |
| $ cd opencl-demos | $ cd opencl-demos | ||
| ``` | ``` | ||
| Line 44: | Line 45: | ||
| <WRAP important> | <WRAP important> | ||
| - | **VIM3** has OpenCL capabilities for both NPU and GPU, and by default the OpenCL lib in /usr/lib is for NPU. | + | **VIM3/3L** has OpenCL capabilities for both NPU and GPU, and by default the OpenCL lib in /usr/lib is for NPU. |
| To use the GPU for proper acceleration follow the below steps to replace the correct library for the GPU. | To use the GPU for proper acceleration follow the below steps to replace the correct library for the GPU. | ||
| ```shell | ```shell | ||
| # Move the NPU OpenCL lib | # Move the NPU OpenCL lib | ||
| $ sudo mv / | $ sudo mv / | ||
| - | |||
| - | # Symlink the right OpenCL lib for Mali GPU | ||
| - | $ sudo ln -s / | ||
| ``` | ``` | ||