[FFmpeg-cvslog] doc/fftools: Remove documentation for old -opencl_bench option

Mark Thompson git at videolan.org
Sun Nov 26 17:40:34 EET 2017


ffmpeg | branch: master | Mark Thompson <sw at jkqxz.net> | Sun Nov 26 10:29:24 2017 +0000| [022ddff0b2c2710a368f100cd481831b3649a15e] | committer: Mark Thompson

doc/fftools: Remove documentation for old -opencl_bench option

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=022ddff0b2c2710a368f100cd481831b3649a15e
---

 doc/fftools-common-opts.texi | 45 --------------------------------------------
 1 file changed, 45 deletions(-)

diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi
index 2eff33a36f..185ec218d5 100644
--- a/doc/fftools-common-opts.texi
+++ b/doc/fftools-common-opts.texi
@@ -315,51 +315,6 @@ Possible flags for this option are:
 @item k8
 @end table
 @end table
-
- at item -opencl_bench
-This option is used to benchmark all available OpenCL devices and print the
-results. This option is only available when FFmpeg has been compiled with
- at code{--enable-opencl}.
-
-When FFmpeg is configured with @code{--enable-opencl}, the options for the
-global OpenCL context are set via @option{-opencl_options}. See the
-"OpenCL Options" section in the ffmpeg-utils manual for the complete list of
-supported options. Amongst others, these options include the ability to select
-a specific platform and device to run the OpenCL code on. By default, FFmpeg
-will run on the first device of the first platform. While the options for the
-global OpenCL context provide flexibility to the user in selecting the OpenCL
-device of their choice, most users would probably want to select the fastest
-OpenCL device for their system.
-
-This option assists the selection of the most efficient configuration by
-identifying the appropriate device for the user's system. The built-in
-benchmark is run on all the OpenCL devices and the performance is measured for
-each device. The devices in the results list are sorted based on their
-performance with the fastest device listed first. The user can subsequently
-invoke @command{ffmpeg} using the device deemed most appropriate via
- at option{-opencl_options} to obtain the best performance for the OpenCL
-accelerated code.
-
-Typical usage to use the fastest OpenCL device involve the following steps.
-
-Run the command:
- at example
-ffmpeg -opencl_bench
- at end example
-Note down the platform ID (@var{pidx}) and device ID (@var{didx}) of the first
-i.e. fastest device in the list.
-Select the platform and device using the command:
- at example
-ffmpeg -opencl_options platform_idx=@var{pidx}:device_idx=@var{didx} ...
- at end example
-
- at item -opencl_options options (@emph{global})
-Set OpenCL environment options. This option is only available when
-FFmpeg has been compiled with @code{--enable-opencl}.
-
- at var{options} must be a list of @var{key}=@var{value} option pairs
-separated by ':'. See the ``OpenCL Options'' section in the
-ffmpeg-utils manual for the list of supported options.
 @end table
 
 @section AVOptions



More information about the ffmpeg-cvslog mailing list