Skip to content

[SYCL] [L0] Remove unneeded backwards compatibility of 2023.2 make_queue and get_native. #8871

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

Merged
merged 16 commits into from
May 17, 2023

Conversation

rdeodhar
Copy link
Contributor

@rdeodhar rdeodhar commented Mar 30, 2023

The 2023.2 compiler release changed the implementation of get_native(queue) and make_queue to allow use of immediate command lists while maintaining binary compatibility with earlier compiler releases. In 2024.0 we no longer need backwards compatibility and this change removes it.

@rdeodhar rdeodhar temporarily deployed to aws March 30, 2023 04:29 — with GitHub Actions Inactive
@rdeodhar rdeodhar changed the title [SYCL] [L0] New make_queue and get_native. [SYCL] [L0] Remove unneeded backwards compatibility of 2023.2 make_queue and get_native. May 5, 2023
@rdeodhar rdeodhar temporarily deployed to aws May 6, 2023 16:18 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 6, 2023 20:30 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 6, 2023 21:46 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 8, 2023 02:40 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 8, 2023 03:17 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 8, 2023 03:43 — with GitHub Actions Inactive
@rdeodhar rdeodhar marked this pull request as ready for review May 8, 2023 17:23
@rdeodhar rdeodhar requested review from a team as code owners May 8, 2023 17:23
@rdeodhar rdeodhar requested a review from steffenlarsen May 8, 2023 17:23
Copy link
Contributor

@smaslov-intel smaslov-intel left a comment

Choose a reason for hiding this comment

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

LGTM, just few minor comments

@rdeodhar rdeodhar temporarily deployed to aws May 9, 2023 03:29 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 9, 2023 16:12 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 10, 2023 21:07 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 10, 2023 22:14 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 16, 2023 01:57 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 16, 2023 02:36 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 16, 2023 03:21 — with GitHub Actions Inactive
@rdeodhar rdeodhar temporarily deployed to aws May 16, 2023 04:09 — with GitHub Actions Inactive
Copy link
Contributor

@jchlanda jchlanda left a comment

Choose a reason for hiding this comment

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

CUDA and HIP 👍

/// \param[out] nativeHandle Set to the native handle of the PI queue object.
///
/// \return PI_SUCCESS
pi_result cuda_piextQueueGetNativeHandle(pi_queue queue,
pi_native_handle *nativeHandle) {
pi_native_handle *nativeHandle,
int32_t *NativeHandleDesc) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: variable names seem to be following camelCase starting with small char (same for pi_hip).

pi_device device,
bool ownNativeHandle,
pi_queue *queue) {
pi_result cuda_piextQueueCreateWithNativeHandle(
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: camelCase, as above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The naming convention for parameters is at least consistent with other get_native and make APIs.

Copy link
Contributor

@gmlueck gmlueck left a comment

Choose a reason for hiding this comment

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

spec changes are OK. (Just an addition of a newline character)

@againull againull merged commit c5f150a into intel:sycl May 17, 2023
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 23, 2023
…ke_queue and get_native

intel#8871

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
jandres742 pushed a commit to jandres742/llvm that referenced this pull request May 26, 2023
…ke_queue and get_native

intel#8871

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
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.

7 participants