Hello!
 I try to start darkatble with opencl support, and recieve an error:

leo@leo-305U1A:~$ darktable -d opencl
 [opencl_init] opencl related configuration options:
 [opencl_init] 
 [opencl_init] opencl: 1
 [opencl_init] opencl_library: ''
 [opencl_init] opencl_memory_requirement: 200
 [opencl_init] opencl_memory_headroom: 0
 [opencl_init] opencl_device_priority: '*/!0,*/*/*'
 [opencl_init] opencl_size_roundup: 16
 [opencl_init] opencl_async_pixelpipe: 0
 [opencl_init] opencl_synch_cache: 0
 [opencl_init] opencl_number_event_handles: 25
 [opencl_init] opencl_micro_nap: 1000
 [opencl_init] opencl_avoid_atomics: 0
 [opencl_init] opencl_omit_whitebalance: 0
 [opencl_init] 
 [opencl_init] trying to load opencl library: '<system default>'
 [opencl_init] opencl library 'libOpenCL' found on your system and loaded
 [opencl_init] found 1 platform
 [opencl_init] found 2 devices
 [opencl_init] device 0 `Loveland' supports image sizes of 16384 x 16384
 [opencl_init] device 0 `Loveland' allows GPU memory allocations of up to 128MB
 [opencl_init] device 0: Loveland 
      GLOBAL_MEM_SIZE:            256MB
      MAX_WORK_GROUP_SIZE:       256
      MAX_WORK_ITEM_DIMENSIONS: 3
      MAX_WORK_ITEM_SIZES:       [ 256 256 256 ]
      DRIVER_VERSION:             1113.2
      DEVICE_VERSION:             OpenCL 1.2 AMD-APP (1113.2)
 [opencl_init] compiling program `demosaic_ppg.cl' ..
 [opencl_fopen_stat] could not open file 
`/home/leo/.cache/darktable/cached_kernels_for_Loveland/demosaic_ppg.cl.bin'!
 [opencl_load_program] could not load cached binary program, trying to compile 
source
 [opencl_load_program] successfully loaded program from 
`/usr/share/darktable/kernels/demosaic_ppg.cl'
 [opencl_build_program] could not build program: -11
 [opencl_build_program] BUILD STATUS: -2
 BUILD LOG:
 "/tmp/OCLprt8xv.cl", line 278: error: floating constant is out of range
     float2 p = backtransformf((float2)(x+.5f, y+.5f), r_x, r_y, r_wd, r_ht, 
r_scale);
                                              ^

 "/tmp/OCLprt8xv.cl", line 458: warning: double-precision constant is
            represented as single-precision constant because double is not
            enabled
       float4 px_c   = (float4)0.0;
                                ^

 "/tmp/OCLprt8xv.cl", line 527: error: floating constant is out of range
         color.z = (nt.z + nb.z + 2.0f*color.y - nt.y - nb.y)*.5f;
                                                                    ^

 2 errors detected in the compilation of "/tmp/OCLprt8xv.cl".

 Frontend phase failed compilation.

 [opencl_init] failed to compile program `demosaic_ppg.cl'!
 [opencl_init] FINALLY: opencl is NOT AVAILABLE on this system.
 [opencl_init] initial status of opencl enabled flag is OFF.
leo@leo-305U1A:~$ 




 I change default values to:

 opencl_memory_requirement=200
 opencl_memory_headroom=0

 Is it possible to run darktable with opencl support?
 HW:
 AMD E-450 APU with Radeon(tm) HD Graphics [2 units @ 825MHz] HD6320M
 RAM 2Gb

 Leonid Kurbatov.
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to