[Bf-cycles] OpenCL & osx

Jens Verwiebe info at jensverwiebe.de
Sat Sep 3 21:16:36 CEST 2011


Hi Brecht

Just a first glance openCL report on OSX Lion ( openCL 1.1 ).
Seems there is a general little problem with prototypes/compiler.

Here the essential ( cuuted down ) report:

OpenCL build failed:
 In file included from <program source>:1:
In file included from /Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/kernel.cl:21:
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/kernel_compat_opencl.h:39:16: error: no previous prototype for function 'kernel_tex_interp_'
__device float kernel_tex_interp_(__global float *data, int width, float x)
               ^
In file included from <program source>:1:
In file included from /Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/kernel.cl:22:
In file included from /Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/kernel_math.h:22:
In file included from /Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_color.h:22:
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:104:23: error: no previous prototype for function 'min4'
__device_inline float min4(float a, float b, float c, float d)
                      ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:109:23: error: no previous prototype for function 'max4'
__device_inline float max4(float a, float b, float c, float d)
                      ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:128:23: error: no previous prototype for function 'signf'
__device_inline float signf(float f)
                      ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:133:23: error: no previous prototype for function 'nonzerof'
__device_inline float nonzerof(float f, float eps)
                      ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:344:22: error: no previous prototype for function 'is_zero'
__device_inline bool is_zero(const float3 a)
                     ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:349:23: error: no previous prototype for function 'average'
__device_inline float average(const float3 a)
                      ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:465:23: error: no previous prototype for function 'len'
__device_inline float len(const float3 a)
                      ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:479:24: error: no previous prototype for function 'normalize_len'
__device_inline float3 normalize_len(const float3 a, float *t)
                       ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:521:24: error: no previous prototype for function 'float4_to_float3'
__device_inline float3 float4_to_float3(const float4 a)
                       ^
/Volumes/Daten1TB/bf-blender/all_builds/blender_cycles/bin/blender.app/Contents/MacOS/2.59/scripts/addons/cycles/kernel/util_math.h:535:24: error: no previous prototype for function 'interp'
__device_inline float3 interp(float3 a, float3 b, float t)
                       ^
Cheers…Jens
_____________________________________

Jens Verwiebe  -  Komposition - Audiotechnik -
Allerskehre 44  -  22309 Hamburg

Tel.: +49 40 68 78 50
mobil: +49 172 400 49 07
mailto: info at jensverwiebe.de
web:  http://www.jensverwiebe.de
_____________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20110903/442bbfc2/attachment.htm 


More information about the Bf-cycles mailing list