Khronos Public Bugzilla
Bug 366 - Section 6.5.3 apparent contradiction
Summary: Section 6.5.3 apparent contradiction
Status: NEW
Alias: None
Product: OpenCL
Classification: Unclassified
Component: Specification (show other bugs)
Version: 1.1
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Aaftab Munshi
QA Contact: OpenCL Working Group
Depends on:
Reported: 2010-10-18 18:53 PDT by Peter Collingbourne
Modified: 2010-10-18 18:53 PDT (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Collingbourne 2010-10-18 18:53:34 PDT
Section 6.5.3 of the specification (version 1.1, revision 36) states that:

"Variables allocated in the __constant address space can only be defined as program scope variables and are required to be initialized."

Later on in the same section it states:

"Variables inside a function or in program scope can also be declared with the __constant address qualifier."

This seems to contradict the earlier statement that function scope variables are not permitted.