KhronosGroup / KhronosGroup/OpenCL-Docs

clarify contraction behavior and -cl-mad-enable

Open
#1,416 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
420
Forks
131
Avg merge
5d 13h
Merged PRs (30d)
11

Description

OpenCL contraction behavior is complicated, especially the interaction between `#pragma OPENCL FP_CONTRACT` and the `-cl-mad-enable` build option, and the subtle difference between an `fma` and a `mad`. We should try to clarify the contraction behavior, perhaps via some informative notes, so it is a little less confusing.

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is identified. Start by locating the documentation for #pragma OPENCL FP_CONTRACT and -cl-mad-enable, then compare how the project currently explains fma versus mad. Done means adding a concrete explanation of their interaction and the resulting contraction behavior.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.