This patch adds the documentation for the standard algorithm offload feature being proposed here: https://discourse.llvm.org/t/rfc-adding-c-parallel-algorithm-offload-support-to-clang-llvm/72159/1. It is the parent of a series of patches that make up the implementation.
Diff Detail
Event Timeline
Interesting.
clang/docs/StdParSupport.rst | ||
---|---|---|
350 | ||
355 | ||
361–363 | ||
367–368 | Another way could be to hide somehow a way to select the device in the policy like in https://github.com/KhronosGroup/SyclParallelSTL, which might be something included in your point "4." of "Open Questions / Future Developments". |
clang/docs/StdParSupport.rst | ||
---|---|---|
367–368 | In hindsight, this was needlessly confusing and relied on an implementation detail, therefore the reference was removed. Thank you for pointing that out. |
Updating this to reflect the outcome of the RFC, which is that this shall be a HIP only extension. As such, documentation lives within the HIP Support master document; the other patches in the series will be updated accordingly.
clang/docs/HIPSupport.rst | ||
---|---|---|
216 ↗ | (On Diff #555450) | Since this does not sounds like an official wording and this is not a recommended practice https://isocpp.org/wiki/faq/coding-standards#using-namespace-std, I suggest just adding std:: everywhere since this is an end-user document. |
clang/docs/HIPSupport.rst | ||
---|---|---|
216 ↗ | (On Diff #555450) | Addressed, thanks! |
clang/docs/HIPSupport.rst | ||
---|---|---|
266 ↗ | (On Diff #557057) | Newer long options that don't use the common prefix like -f are preferred to only support --foo, not -foo. |
clang/docs/HIPSupport.rst | ||
---|---|---|
266 ↗ | (On Diff #557057) | Thanks for the review - to answer the question, it was only done for (apparent) symmetry, there's no strong incentive to have the single dash flavour; I will update both this and the driver patch to retain only the double dash flavours. |