Mandelbrot/Julia Sets Re: [squeak-dev] Float storage as Double?

Josh Gargus josh at schwa.ca
Sun May 2 06:45:22 UTC 2010


What kind of GPU does your computer have?  Sounds like it might not support OpenCL.

Which 'first' is the problem?  The one after #allPlatforms or #allGPUs?  I'm guessing the latter.

Cheers,
Josh


On May 1, 2010, at 11:28 PM, Lawson English wrote:

> On 5/1/10 11:04 PM, Josh Gargus wrote:
>> All this talk of Mandelbrot sets prompted me to write a Julia Set morph using my OpenCL framework.  Here's how to try it out in a 4.1 image...
>> 
>> First, load the code:
>> 
>> 	Installer squeak
>> 		project: 'FFI';
>> 		install: 'FFI-Pools';
>> 		install: 'FFI-Kernel'.
>> 	Installer ss
>> 		project: 'OpenCL';
>> 		install: 'OpenCL'.
>> 
>> Once the code has loaded, evaluate:
>> 	OpenCLJuliaSetMorph new openInHand
>> 
>>   
> Unfortunately all examples error with subscript is out of bounds:1
> 
> 
> higlighting 'first'.
> 
> device := OpenCLPlatform allPlatforms first allGPUs first.
> 
> 
> Lawson
> 
> MacOS X Pro SnowLeopard x.6.3




More information about the Squeak-dev mailing list