<commit_before>libOpenCL(7)
============
<NAME> <<EMAIL>>
:Author Initials: VD
:toc:
:icons:
:numbered:

NAME
----
libOpenCL, libOpenCL.so - OCL-ICD implementation of OpenCL ICD loader

SYNOPSIS
--------
Nothing special

DESCRIPTION
-----------
`libOpenCL.so` is the library linked by OpenCL programs. It does not contains
any OpenCL implementation itself, but merly act as a dispatcher to real OpenCL
implementations provided as OpenCL Installable Client Driver (ICD).
An ICD loader should be able to load ICDs provided by any vendors.

According to OpenCL specifications from Khronos (see [Kronos]), the ICD Loader
looks for files into '`/etc/OpenCL/vendors/`' directory and, for each file
whose name ends with '`.icd`', the ICD Loader loads with **dlopen**(3) the
shared library whose name is on the first line of the '`.icd`' file.

Shared library name in ".icd" files can have its path, or it can be a plain
filename. In the latter case, the ICD shared library will be look for into the
standard dynamic loader paths.

ENVIRONNEMENT
-------------
Some environment variables can be used modify the default behavior of
libOpenCL.

*OCL_ICD_VENDORS*::
This variable allows to change the way ICD are searched on the system.
Several cases are considerated:

a. if *$OCL_ICD_VENDORS* is a directory path, then this path replaces the
  "/etc/OpenCL/vendors" path in the standard behavior: the loader will use the
  '`.icd`' files in this directory;
b. else, if *$OCL_ICD_VENDORS* ends with '`.icd`', libOpenCL.so will only load
  the ICD whose shared library name is wrote into the specified ".icd"
  file;
  +
  If there is no slash into
  *$OCL_ICD_VENDORS*, libOpenCL.so will first try to use<commit_msg>[doc] fix typo found by lintian<commit_after>libOpenCL(7)
============
<NAME> <<EMAIL>>
:Author Initials: VD
:toc:
:icons:
:numbered:

NAME
----
libOpenCL, libOpenCL.so - OCL-ICD implementation of OpenCL ICD loader

SYNOPSIS
--------
Nothing special

DESCRIPTION
-----------
`libOpenCL.so` is the library linked by OpenCL programs. It does not contains
any OpenCL implementation itself, but merly act as a dispatcher to real OpenCL
implementations provided as OpenCL Installable Client Driver (ICD).
An ICD loader should be able to load ICDs provided by any vendors.

According to OpenCL specifications from Khronos (see [Kronos]), the ICD Loader
looks for files into '`/etc/OpenCL/vendors/`' directory and, for each file
whose name ends with '`.icd`', the ICD Loader loads with **dlopen**(3) the
shared library whose name is on the first line of the '`.icd`' file.

Shared library name in ".icd" files can have its path, or it can be a plain
filename. In the latter case, the ICD shared library will be look for into the
standard dynamic loader paths.

ENVIRONNEMENT
-------------
Some environment variables can be used modify the default behavior of
libOpenCL.

*OCL_ICD_VENDORS*::
This variable allows one to change the way ICD are searched on the system.
Several cases are considerated:

a. if *$OCL_ICD_VENDORS* is a directory path, then this path replaces the
  "/etc/OpenCL/vendors" path in the standard behavior: the loader will use the
  '`.icd`' files in this directory;
b. else, if *$OCL_ICD_VENDORS* ends with '`.icd`', libOpenCL.so will only load
  the ICD whose shared library name is wrote into the specified ".icd"
  file;
  +
  If there is no slash into
  *$OCL_ICD_VENDORS*, libOpenCL.so will first try to use
{'fraction_non_alphanumeric': 0.09673659673659674, 'fraction_numerical': 0.0011655011655011655, 'mean_word_length': 4.026354319180088, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2534038', 'n_tokens_mistral': 1072, 'n_tokens_neox': 1024, 'n_words': 495}