Skip to content

Commit

Permalink
clarify the minimum value for CL_DEVICE_HALF_FP_CONFIG (#1273)
Browse files Browse the repository at this point in the history
The minimum value for CL_DEVICE_HALF_FP_CONFIG applies to devices
supporting all OpenCL versions, not just for OpenCL 2.0 or newer
devices.
  • Loading branch information
bashbaug authored Oct 22, 2024
1 parent 044deb6 commit 6b3fc1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/opencl_platform_layer.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1929,8 +1929,7 @@ include::{generated}/api/version-notes/CL_DEVICE_HALF_FP_CONFIG.asciidoc[]
addition, subtraction, multiplication) are implemented in software

If half-precision is supported by the device, then the minimum
half-precision floating-point capability for OpenCL 2.0 or newer
devices is:
half-precision floating-point capability is either:

{CL_FP_ROUND_TO_ZERO}

Expand Down

0 comments on commit 6b3fc1d

Please sign in to comment.