-
Notifications
You must be signed in to change notification settings - Fork 789
[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
Conversation
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.
LGTM, just few minor comments
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.
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) { |
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.
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( |
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.
Nit: camelCase, as above.
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.
The naming convention for parameters is at least consistent with other get_native and make APIs.
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.
spec changes are OK. (Just an addition of a newline character)
…ke_queue and get_native intel#8871 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
…ke_queue and get_native intel#8871 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
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.