Hey Everyone,

Finally got OpenCL working again on v4.4.x, lots of fun "dkms" module
issues, so ripped all those out..

mkbian@beaglebone:/usr/share/ti/examples/opencl/float_compute$ sudo
modprobe cmem
This example computes y[i] = M[i] * x[i] + C on single precision
floating point arrays of size 2097152
- Computation on the ARM is parallelized across the A15s using OpenMP.
- Computation on the DSP is performed by dispatching an OpenCL NDRange
kernel across the compute units (C66x cores) in the compute device.

Running.....

Average across 5 runs:
ARM (2 OpenMP threads)         : 0.008669 secs
DSP (OpenCL NDRange kernel)    : 0.007781 secs
OpenCL-DSP speedup             : 1.114124

For more information on:

This Sunday's lxqt image will have all the fun bits..

For older images do this:

sudo apt-get update
sudo apt-get upgrade

sudo apt-get remove dkms --purge  #get rid of dkms/etc..

cd /opt/scripts/tools/
git pull
sudo ./update_kernel.sh
sudo reboot

cd /usr/share/ti/examples/opencl/float_compute/
sudo make
sudo modprobe cmemk
sudo ./float_compute

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYi822vxGAUR95VUOVriqkGnJ6-LQ60%2Bn86Edq14Y1vHTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to