commit | 873b1b6e4e088fb518c476d7858f6836954e50b9 | [log] [tgz] |
---|---|---|
author | Jon Leech <devrel@oddhack.org> | Thu Jan 19 01:20:20 2017 -0800 |
committer | GitHub <noreply@github.com> | Thu Jan 19 01:20:20 2017 -0800 |
tree | 691ea836ae1008c7877704cfc94ba592db4684c1 | |
parent | fba218359ccddf5d3de39f34bc9a3e43f848ccd4 [diff] | |
parent | 551b909af2c4313b046edc0bc917f3506636ae54 [diff] |
Merge pull request #4 from Oblomov/rename-imageDescriptor [RFC] Rename imageDescriptor -> cl_image_desc
The OpenCL-Registry repository contains the OpenCL API and Extension Registry, including specifications, reference pages and reference cards, and the enumerant registry. It is also used as a backing store for the web view of the registry at https://www.khronos.org/registry/cl/ ; commits to the master branch of this repository will be reflected there.
In the past, the OpenCL registry was maintained in a public Subversion repository. The history in that repository has not been imported to github, but it is still available at https://cvs.khronos.org/svn/repos/registry/trunk/public/cl/ .
Interesting files in this repository include:
OpenCL enumerants are documented in api/cl.xml . New ranges can be allocated by proposing a pull request to master modifying this file, following the existing examples. Allocate ranges starting at the lowest free values available (search for “Reserved for vendor extensions”). Ranges are not officially allocated until your pull request is accepted into master. At that point you can use values from your assigned range for API extensions.
Extension specification documents can be added by proposing a pull request to master, adding the specification .txt file under extensions//filename.txt . You must also:
Sometimes extension text files contain inappropriate UTF-8 characters. They should be restricted to the ASCII subset of UTF-8 at present. They can be removed using the iconv Linux command-line tool via
iconv -c -f utf-8 -t ascii filename.txt
(see internal Bugzilla issue 16141 for more).
We will be transitioning to an asciidoc-based extension specification format at some point.