Skip to content

[SYCL][DOC] Document -foffload-fp32-prec-div/sqrt options#17033

Merged
aelovikov-intel merged 5 commits intointel:syclfrom
MrSidims:document-fp32-opt
Feb 26, 2025
Merged

[SYCL][DOC] Document -foffload-fp32-prec-div/sqrt options#17033
aelovikov-intel merged 5 commits intointel:syclfrom
MrSidims:document-fp32-opt

Conversation

@MrSidims
Copy link
Contributor

No description provided.

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
@MrSidims MrSidims requested a review from a team as a code owner February 17, 2025 11:12

## Other options

**`-f[no-]offload-fp32-prec-sqrt`**
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gmlueck during writing this document I've realized, that there is a similar option already, that works only for CUDA and HIP. I believe, that these options should be merged under sycl-fp32-prec-sqrt name and div option should be renamed to sycl-fp32-prec-div (unless we want to deprecate sycl naming for them, which also might make sense in a certain cases). WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no strong feelings on which option should remain (offload or sycl), but I do agree that we should merge these.

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
@MrSidims MrSidims requested a review from a team as a code owner February 17, 2025 14:03
@MrSidims
Copy link
Contributor Author

@intel/dpcpp-doc-reviewers friendly ping
@gmlueck please take a look

Copy link
Contributor

@AlexeySachkov AlexeySachkov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also vote for the discussed merge of existing options, but pure mechanical change LGTM - I don't have objections against documenting the option if we already have it

@mdtoguchi
Copy link
Contributor

I vote for deprecating -fsycl-fp32-prec-div and keeping the -foffload* syntax. The general spelling of the -foffload* option allows for usage on the OpenMP side.

sarnex pushed a commit that referenced this pull request Feb 25, 2025
Supporting doc: #17033

---------

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Sidorov, Dmitry added 2 commits February 26, 2025 03:06
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
@MrSidims MrSidims requested a review from a team February 26, 2025 11:08
@MrSidims
Copy link
Contributor Author

MrSidims commented Feb 26, 2025

Added DEPRECATED note as for other options in the doc, that are being deprecated. Guess no re-review by @AlexeySachkov is required.

@intel/llvm-gatekeepers please help with the merge.

@aelovikov-intel aelovikov-intel merged commit 2e992dc into intel:sycl Feb 26, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants