Hm. I was not thorough enough. Filmic worked on CPU and I didn't care of other modules on GPU.
With respect,
Alexander Rabtchevich
Gesendet: Sonntag, 21. Juni 2020 um 13:17 Uhr
Von: "parafin" <para...@paraf.in>
An: "darktable" <darktable-dev@lists.darktable.org>
Betreff: Re: [darktable-dev] cannot compile OpenCL test program in git master
Von: "parafin" <para...@paraf.in>
An: "darktable" <darktable-dev@lists.darktable.org>
Betreff: Re: [darktable-dev] cannot compile OpenCL test program in git master
Why do you think that OpenCL is disabled?
On Sun, 21 Jun 2020 12:31:24 +0300
Alexander Rabtchevich <alexander.v.rabtchev...@gmx.net> wrote:
> Hello
>
>
> Pascal Obry wrote:
> > Le vendredi 19 juin 2020 à 19:44 +0300, Alexander Rabtchevich a écrit :
> >> Latest git builds make the next output at compilation:
> >>
> >>
> >> -- Found LLVM 6.0.0
> > Too old!
> >
> > I think you need at least version 8 or 9 IIRC.
> >
>
> Does it mean I have to upgrade LLVM in order to use OpenCL in darktable?
> Here is an output of exporting with OpenCL forced (strong GPU).
>
>
> 15,976160 [dev] took 0,130 secs (0,301 CPU) to load the image.
> 16,169524 [export] creating pixelpipe took 0,184 secs (0,199 CPU)
> 16,169577 [pixelpipe_process] [export] using device 0
> 16,169666 [dev_pixelpipe] took 0,000 secs (0,000 CPU) initing base
> buffer [export]
> 16,202823 [dev_pixelpipe] took 0,033 secs (0,000 CPU) processed `raw
> black/white point' on GPU, blended on GPU [export]
> 16,207450 [dev_pixelpipe] took 0,005 secs (0,000 CPU) processed `white
> balance' on GPU, blended on GPU [export]
> 16,211635 [dev_pixelpipe] took 0,004 secs (0,001 CPU) processed
> `highlight reconstruction' on GPU, blended on GPU [export]
> 17,055294 [dev_pixelpipe] took 0,844 secs (3,812 CPU) processed
> `demosaic ' on CPU, blended on CPU [export]
> 17,196472 [dev_pixelpipe] took 0,141 secs (0,000 CPU) processed
> `exposure' on GPU, blended on GPU [export]
> 17,216730 [dev_pixelpipe] took 0,020 secs (0,005 CPU) processed `input
> color profile' on GPU, blended on GPU [export]
> image colorspace transform Lab-->RGB took 0,175 secs (0,860 CPU)
> [filmicrgb ]
> 50,660789 [dev_pixelpipe] took 33,444 secs (179,826 CPU) processed
> `filmic rgb' on CPU, blended on CPU [export]
> image colorspace transform RGB-->Lab took 0,011 secs (0,009 GPU) [colorout ]
> 50,828053 [dev_pixelpipe] took 0,167 secs (0,014 CPU) processed `output
> color profile' on GPU, blended on GPU [export]
> 51,063876 [dev_pixelpipe] took 0,236 secs (0,681 CPU) processed `display
> encoding' on CPU, blended on CPU [export]
> 51,063907 [opencl_profiling] profiling device 0 ('Ellesmere'):
> 51,063914 [opencl_profiling] spent 0,1641 seconds in [Write Image (from
> host to device)]
> 51,063921 [opencl_profiling] spent 0,0057 seconds in rawprepare_1f
> 51,063925 [opencl_profiling] spent 0,0024 seconds in whitebalance_1f
> 51,063931 [opencl_profiling] spent 0,0020 seconds in
> highlights_1f_lch_bayer
> 51,063936 [opencl_profiling] spent 0,1594 seconds in [Read Image (from
> device to host)]
> 51,063938 [opencl_profiling] spent 0,0113 seconds in exposure
> 51,063942 [opencl_profiling] spent 0,0108 seconds in colorin_unbound
> 51,063945 [opencl_profiling] spent 0,0189 seconds in [Copy Image (on
> device)]
> 51,063949 [opencl_profiling] spent 0,0076 seconds in
> colorspaces_transform_rgb_matrix_to_lab
> 51,063952 [opencl_profiling] spent 0,0095 seconds in colorout
> 51,063956 [opencl_profiling] spent 0,3917 seconds totally in command
> queue (with 0 events missing)
> 51,063970 [dev_process_export] pixel pipeline processing took 34,894
> secs (184,339 CPU)
> [export_job] exported to
> `/media/sasha/WD5_4/Photos/2020.06.17_Inna_Minsk_park_birds_flowers/darktable_exported/DSC06264_03.jpg'
>
>
> With respect,
> Alexander Rabtchevich
> ___________________________________________________________________________
> 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
On Sun, 21 Jun 2020 12:31:24 +0300
Alexander Rabtchevich <alexander.v.rabtchev...@gmx.net> wrote:
> Hello
>
>
> Pascal Obry wrote:
> > Le vendredi 19 juin 2020 à 19:44 +0300, Alexander Rabtchevich a écrit :
> >> Latest git builds make the next output at compilation:
> >>
> >>
> >> -- Found LLVM 6.0.0
> > Too old!
> >
> > I think you need at least version 8 or 9 IIRC.
> >
>
> Does it mean I have to upgrade LLVM in order to use OpenCL in darktable?
> Here is an output of exporting with OpenCL forced (strong GPU).
>
>
> 15,976160 [dev] took 0,130 secs (0,301 CPU) to load the image.
> 16,169524 [export] creating pixelpipe took 0,184 secs (0,199 CPU)
> 16,169577 [pixelpipe_process] [export] using device 0
> 16,169666 [dev_pixelpipe] took 0,000 secs (0,000 CPU) initing base
> buffer [export]
> 16,202823 [dev_pixelpipe] took 0,033 secs (0,000 CPU) processed `raw
> black/white point' on GPU, blended on GPU [export]
> 16,207450 [dev_pixelpipe] took 0,005 secs (0,000 CPU) processed `white
> balance' on GPU, blended on GPU [export]
> 16,211635 [dev_pixelpipe] took 0,004 secs (0,001 CPU) processed
> `highlight reconstruction' on GPU, blended on GPU [export]
> 17,055294 [dev_pixelpipe] took 0,844 secs (3,812 CPU) processed
> `demosaic ' on CPU, blended on CPU [export]
> 17,196472 [dev_pixelpipe] took 0,141 secs (0,000 CPU) processed
> `exposure' on GPU, blended on GPU [export]
> 17,216730 [dev_pixelpipe] took 0,020 secs (0,005 CPU) processed `input
> color profile' on GPU, blended on GPU [export]
> image colorspace transform Lab-->RGB took 0,175 secs (0,860 CPU)
> [filmicrgb ]
> 50,660789 [dev_pixelpipe] took 33,444 secs (179,826 CPU) processed
> `filmic rgb' on CPU, blended on CPU [export]
> image colorspace transform RGB-->Lab took 0,011 secs (0,009 GPU) [colorout ]
> 50,828053 [dev_pixelpipe] took 0,167 secs (0,014 CPU) processed `output
> color profile' on GPU, blended on GPU [export]
> 51,063876 [dev_pixelpipe] took 0,236 secs (0,681 CPU) processed `display
> encoding' on CPU, blended on CPU [export]
> 51,063907 [opencl_profiling] profiling device 0 ('Ellesmere'):
> 51,063914 [opencl_profiling] spent 0,1641 seconds in [Write Image (from
> host to device)]
> 51,063921 [opencl_profiling] spent 0,0057 seconds in rawprepare_1f
> 51,063925 [opencl_profiling] spent 0,0024 seconds in whitebalance_1f
> 51,063931 [opencl_profiling] spent 0,0020 seconds in
> highlights_1f_lch_bayer
> 51,063936 [opencl_profiling] spent 0,1594 seconds in [Read Image (from
> device to host)]
> 51,063938 [opencl_profiling] spent 0,0113 seconds in exposure
> 51,063942 [opencl_profiling] spent 0,0108 seconds in colorin_unbound
> 51,063945 [opencl_profiling] spent 0,0189 seconds in [Copy Image (on
> device)]
> 51,063949 [opencl_profiling] spent 0,0076 seconds in
> colorspaces_transform_rgb_matrix_to_lab
> 51,063952 [opencl_profiling] spent 0,0095 seconds in colorout
> 51,063956 [opencl_profiling] spent 0,3917 seconds totally in command
> queue (with 0 events missing)
> 51,063970 [dev_process_export] pixel pipeline processing took 34,894
> secs (184,339 CPU)
> [export_job] exported to
> `/media/sasha/WD5_4/Photos/2020.06.17_Inna_Minsk_park_birds_flowers/darktable_exported/DSC06264_03.jpg'
>
>
> With respect,
> Alexander Rabtchevich
> ___________________________________________________________________________
> 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
___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org