Skip to content

Commit 007ff70

Browse files
authored
add definition of Valid Object to glossary (#834)
1 parent c444b37 commit 007ff70

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

api/glossary.asciidoc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -799,6 +799,21 @@ Unit of execution ::
799799
host-thread), kernel-instance, host program, work-item or any other
800800
executable agent that advances the work associated with a program.
801801

802+
Valid Object ::
803+
An OpenCL object is considered valid if it meets all of the following
804+
criteria:
805+
+
806+
--
807+
* The object was created by a successful call to an OpenCL API function.
808+
* The object has a strictly positive application-owned reference count.
809+
* The object has not had its backing memory changed outside of normal
810+
usage by the OpenCL implementation (e.g. corrupted by the application, a
811+
library it uses, the implementation itself, or any other agent that can
812+
access the object's backing memory).
813+
814+
An object is only valid in the platform where it was created.
815+
--
816+
802817
Work-group ::
803818
A collection of related _work-items_ that execute on a single _compute
804819
unit_.

0 commit comments

Comments
 (0)