Editing User talk:Masterzorag
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
'''SPU Problems on Linux > 3.2, OpenCL related | |||
--------------------------------''' | |||
As far as I know, I'm the only coding OpenCL on the Cell here, if someone want to test something be warned that it's stable until 3.2 branch. | |||
This due some spufs changes that ppc-kernel-devs are (maybe) trying to fix, so now latest 3.3/3.4/3.5 branches falls into 'possible circular locking dependency detected' and slowdown runtime. | |||
Even disabling lock debugging it slowdowns without warnings, it happens even with OpenCL samples from IBM. | |||
<br /> | |||
http://permalink.gmane.org/gmane.linux.ports.ppc.embedded/50547 | http://permalink.gmane.org/gmane.linux.ports.ppc.embedded/50547 | ||
Latest tested kernels: | Latest tested kernels: | ||
* 3.2. | * 3.2.28 works fine | ||
<pre> | <pre> | ||
# ./perlin | # ./perlin | ||
Line 15: | Line 16: | ||
OpenCL provided a 56.101182 speedup | OpenCL provided a 56.101182 speedup | ||
</pre> | </pre> | ||
* 3.3.3 | * 3.3.3 falls into 'possible circular locking dependency detected' and slowdown runtime | ||
* 3.4.6 falls into 'possible circular locking dependency detected' and slowdown runtime | |||
* 3.5.3 falls into 'possible circular locking dependency detected' and slowdown runtime | |||
Here the slowdown effect: | Here the slowdown effect: | ||
<pre> | <pre> | ||
Line 26: | Line 29: | ||
When program runs something is going weird, e.g. in my program I'm used to query an OpenCL builtin function to tell me how many available SPEs there are, and its reply 8.<br /> | When program runs something is going weird, e.g. in my program I'm used to query an OpenCL builtin function to tell me how many available SPEs there are, and its reply 8.<br /> | ||
Using spu_base.enum_shared=1 parameter it should reply 7, so seems that the issue is OpenCL related. | Using spu_base.enum_shared=1 parameter it should reply 7, so seems that the issue is OpenCL related. | ||