Skip to content

Commit 02547ad

Browse files
committed
remove the halfn vector type from the list of reserved data types
The halfn vector type is a usable data type when the cl_khr_fp16 extension is supported.
1 parent d14c681 commit 02547ad

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

OpenCL_C.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,8 +1189,10 @@ are also reserved.
11891189
| Type | Description
11901190
| `bool__n__`
11911191
| A boolean vector.
1192+
ifndef::cl_khr_fp16[]
11921193
| `half__n__`
11931194
| A 16-bit floating-point vector.
1195+
endif::cl_khr_fp16[]
11941196
| `quad`, `quad__n__`
11951197
| A 128-bit floating-point scalar and vector.
11961198
| `complex half`, `complex half__n__`

0 commit comments

Comments
 (0)