C Specification

The cl_name_version structure describes a version number and a corresponding entity (e.g. extension or built-in kernel) name:

// Provided by CL_VERSION_3_0
typedef struct cl_name_version {
    cl_version    version;
    char          name[CL_NAME_VERSION_MAX_NAME_SIZE];
} cl_name_version;

Members

  • version is a Version Number.

  • name is an array of CL_NAME_VERSION_MAX_NAME_SIZE characters containing a null-terminated string, whose maximum length is therefore

Description

{CL_NAME_VERSION_MAX_NAME_SIZE} minus one.

See Also

Document Notes

For more information, see the OpenCL Specification

This page is extracted from the OpenCL Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0