This really looks fishy. The sampler argument in read_imagef() is missing. Should be "sampleri" as in the other places.

Ulrich


Am 27.12.18 um 15:26 schrieb Holger Klemm:
Hallo,
open cl does not work with the nvidia diver.
Have a look at retouch.cl

> [...]

10.935219 [opencl_init] compiling program `retouch.cl' ..
10.935491 [opencl_fopen_stat] could not open file `/home/klemmh/.cache/
darktable/cached_kernels_for_Quadro2000/retouch.cl.bin'!
10.935515 [opencl_load_program] could not load cached binary program, trying
to compile source
10.935525 [opencl_load_program] successfully loaded program from `/usr/share/
darktable/kernels/retouch.cl'
11.312707 [opencl_build_program] could not build program: -11
11.312732 [opencl_build_program] BUILD STATUS: -2
11.312737 BUILD LOG:
11.312745 :162:16: error: no matching function for call to 'read_imagef'
   float4 pix = read_imagef(buffer_src, (int2)(x, y));
                ^~~~~~~~~~~
<built-in>:17246:25: note: candidate function not viable: requires 3
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image3d_t image, sampler_t sampler, float4
coord);
                         ^
<built-in>:17245:25: note: candidate function not viable: requires 3
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image3d_t image, sampler_t sampler, int4
coord);
                         ^
<built-in>:17244:25: note: candidate function not viable: requires 3
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image2d_t image, sampler_t sampler, float2
coord);
                         ^
<built-in>:17243:25: note: candidate function not viable: requires 3
arguments, but 2 were provided
float4 __OVERLOADABLE__ read_imagef(image2d_t image, sampler_t sampler, int2
coord);
                         ^

11.312759 [opencl_init] failed to compile program `retouch.cl'!
11.312771 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
11.312774 [opencl_init] initial status of opencl enabled flag is OFF.

(darktable:1948): GLib-GObject-CRITICAL **: 15:17:39.350: g_object_set_data:
assertion 'G_IS_OBJECT (object)' failed

(darktable:1948): Gtk-CRITICAL **: 15:17:39.350: gtk_widget_get_has_tooltip:
assertion 'GTK_IS_WIDGET (widget)' failed

(darktable:1948): GLib-GObject-CRITICAL **: 15:17:41.143: g_object_set_data:
assertion 'G_IS_OBJECT (object)' failed

(darktable:1948): Gtk-CRITICAL **: 15:17:41.143: gtk_widget_get_has_tooltip:
assertion 'GTK_IS_WIDGET (widget)' failed



___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org



___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to