POV-Ray : Newsgroups : povray.off-topic : OpenCL : Re: OpenCL Server Time
29 Jul 2024 14:13:15 EDT (-0400)
  Re: OpenCL  
From: Ive
Date: 22 Aug 2011 15:00:37
Message: <4e52a755$1@news.povray.org>
Am 22.08.2011 19:56, schrieb Orchid XP v8:
>>> Mind the recursion.
>>
>> Sure, but every recursion can also be expressed as an iteration ;)
>
> I'm fairly sure that's incorrect, but I can't find a reference...
>

...and I'm fairly sure it is true as long there is proof that the 
iterative calculus is Turing-complete as all Turing-complete calculi are 
idempotent.
But I'm much more interested in the practical aspect and expressing 
recursive raytracing with iterations is trivial in this case as the 
OpenCL kernel-language is close to C99 (just without recursion).

-Ive


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.