Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions sycl/doc/UsersManual.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,18 @@ and not recommended to use in production environment.

## Other options

**`-f[no-]offload-fp32-prec-sqrt`**

Copy link
Copy Markdown
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
Copy Markdown
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.


Enable use of correctly rounded `sycl::sqrt` function as defined by IEE754.
Without this flag, the default precision requirement for `sycl::sqrt` is 3
ULP.

**`-f[no-]offload-fp32-prec-div`**

Enable use of correctly rounded divide operation as defined by IEE754.
Without this flag, the default precision requirement for divide in SYCL is
2.5 ULP.

**`-fsycl-device-only`**

Compile only device part of the code and ignore host part.
Expand Down