-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document SYCL backend behavior with no selected GPU architecture #620
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -734,6 +734,11 @@ Kokkos will attempt to autodetect the architecture flag at configuration time. | |
Intel GPUs | ||
~~~~~~~~~~ | ||
|
||
If the SYCL backend is enabled and no GPU architecture is specified, | ||
Kokkos will use Just-In-Time (JIT) compilation and select the first visible device for the default execution space instance. | ||
There is no restriction to a particular SYCL device type. | ||
Thus, this is the only option to target a CPU with the SYCL backend (which is experimental, untested, and not optimized for). | ||
Comment on lines
+737
to
+740
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does that imply we define There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No, we can't assume that we are building for an Intel GPU so we don't define enable any extra |
||
|
||
.. list-table:: | ||
:widths: 25 35 40 | ||
:header-rows: 1 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although the discussion about device selection is important, I am not sure it belongs here