Project

General

Profile

Bug #8844

OpenCL compile error in extended.cl

Added by Gabriel Ebner over 7 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Start date:
07/29/2012
Due date:
% Done:

100%

Estimated time:
Affected Version:
git development version
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Current git head gives this error message (on a Radeon HD 6950):

[opencl_init] compiling program `extended.cl' ..
[opencl_load_program] successfully loaded program from `/home/gebner/.local/share/darktable/kernels/extended.cl'
[opencl_build_program] could not build program: -11
BUILD LOG:
"/tmp/OCL96REet.cl", line 19: warning: global variable declaration is
          corrected by the compiler to have addrSpace constant
  const sampler_t sampleri =  CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_NEAREST;
                  ^

"/tmp/OCL96REet.cl", line 20: warning: global variable declaration is
          corrected by the compiler to have addrSpace constant
  const sampler_t samplerf =  CLK_NORMALIZED_COORDS_FALSE | CLK_ADDRESS_CLAMP_TO_EDGE | CLK_FILTER_LINEAR;
                  ^

"/tmp/OCL96REet.cl", line 314: error: operation requires two vectors of the
          same size
    pixel.xyz = pixel.xyz * scale + offset;
                          ^

1 error detected in the compilation of "/tmp/OCL96REet.cl".

Internal error: clc compiler invocation failed.

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

History

#1 Updated by Gabriel Ebner over 7 years ago

  • % Done changed from 0 to 70
  • Status changed from New to Patch attached

#2 Updated by Ulrich Pegelow over 7 years ago

  • % Done changed from 70 to 100
  • Target version set to Candidate for next patch release
  • Status changed from Patch attached to Fixed
  • Category set to General

Thanks for reporting and fixing.

Also available in: Atom PDF

Go to top