Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
16th September 2015, 23:28 | #1 | Link |
Registered User
Join Date: Aug 2002
Posts: 403
|
x264 OpenCL on OS X?
Has anyone ever been able to use OpenCL on OS X? I get an error during the shader's compilation.
[libx264 @ 0x7fd2b9003200] OpenCL acceleration enabled with NVIDIA GeForce GTX 680MX [libx264 @ 0x7fd2b9003200] Compiling OpenCL kernels... [libx264 @ 0x7fd2b9003200] OpenCL: OpenCL Build Warning : Compiler build log: <program source>:91:5: warning: no previous prototype for function 'parallel_sum' int parallel_sum( int value, int x, volatile local int *array ) ^ (There are more) This is on ffmpeg 2.8 and x264 core:146 r2555. OS X is on the latest updates. I don't know if there is anything else for me to do at this point, so this is mostly a curiosity. |
17th September 2015, 00:19 | #2 | Link |
Registered User
Join Date: Jul 2007
Posts: 555
|
According to stackoverflow answers (and this) it looks like OS X's OpenCL compiler don't like non static (and which are not inlined) functions without previous protypes (dunno why such restriction). You can try to add static keyword for such functions in common\opencl files of x264 to test this.
Last edited by MasterNobody; 17th September 2015 at 00:25. |
Tags |
opencl, os x, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|