Skip to content

Commit

Permalink
add missing anchors
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbaug committed Mar 31, 2024
1 parent dce36a8 commit 803561b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions api/opencl_architecture.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2220,19 +2220,19 @@ This enables versions to be ordered using standard C/C++ operators.
A number of convenience macros are provided by the OpenCL Headers to make
working with version numbers easier.

* {CL_VERSION_MAJOR} extracts the _major_ version from a packed
* {CL_VERSION_MAJOR_anchor} extracts the _major_ version from a packed
{cl_version_TYPE}.
* {CL_VERSION_MINOR} extracts the _minor_ version from a packed
* {CL_VERSION_MINOR_anchor} extracts the _minor_ version from a packed
{cl_version_TYPE}.
* {CL_VERSION_PATCH} extracts the _patch_ version from a packed
* {CL_VERSION_PATCH_anchor} extracts the _patch_ version from a packed
{cl_version_TYPE}.
* {CL_MAKE_VERSION} returns a packed {cl_version_TYPE} from a
* {CL_MAKE_VERSION_anchor} returns a packed {cl_version_TYPE} from a
_major_, _minor_ and _patch_ version.
* {CL_VERSION_MAJOR_BITS_anchor}, {CL_VERSION_MINOR_BITS_anchor}, and
{CL_VERSION_PATCH_BITS_anchor} are the number of bits in the
corresponding field.
* {CL_VERSION_MAJOR_MASK}, {CL_VERSION_MINOR_MASK}, and
{CL_VERSION_PATCH_MASK} are bitmasks used to extract the
* {CL_VERSION_MAJOR_MASK_anchor}, {CL_VERSION_MINOR_MASK_anchor}, and
{CL_VERSION_PATCH_MASK_anchor} are bitmasks used to extract the
corresponding packed fields from the version number.

[source,opencl]
Expand Down

0 comments on commit 803561b

Please sign in to comment.