Am 30.10.2012 20:22, schrieb R S:
> Is there a possibility to disable bilateral in opencl and just use the
> rest with opencl ?
> Its not charming but for the meantime....
> 

A simple short term remedy would be the following:

1) Go into your installed file bilateral.cl (the one from my earlier
proposal) and open in editor.

2) As the first line of the code add the line

  #if 0

  ^ the hash sign has to be in column 1

3) at the end of the code add the line

  #endif

  ^ the hash sign has to be in column 1

4) save your changes

This way bilateral.cl will compile into empty code, no kernels
available. Darktable's opencl code will fail on these missing kernels
and automatically fall back to cpu code for the affected modules.

Take care when you re-install darktable. Your package manager might
overwrite your changes or refuse to install a new version of
bilateral.cl - problematic if you do not know the status.

Good luck ;)

Ulrich

> thankx
> 
> papa
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Am 30.10.2012, 19:57 Uhr, schrieb Ulrich Pegelow
> <ulrich.pege...@tongareva.de>:
> 
>> Am 30.10.2012 19:42, schrieb R S:
>>> Hi Ulrich,
>>>
>>> it doesn't change anything, still freezing.
>>>
>>>     55      {
>>>     56        float f;
>>>     57        unsigned int i;
>>>     58      }
>>>     59      new_val;
>>>     60    val=val+(get_local_id(0)&0xff000000);
>>>     61      do
>>>     62      {
>>>     63        old_val.f = *val;
>>>     64        new_val.f = old_val.f + delta;
>>>     65      }
>>>
>>>
>>> papa
>>
>> I'm running out of ideas now. Sorry :(
>>
>> Ulrich
>>
>>
> 
> 


-- 
*Ulrich Pegelow* · Benrodestraße 76 · 40597 Düsseldorf

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
darktable-devel mailing list
darktable-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-devel

Reply via email to