Skip to content

Fix: use cuda_device_handle in cu_memory_provider_initialize #1044

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

ldorau
Copy link
Contributor

@ldorau ldorau commented Jan 17, 2025

Description

cu_provider->device is not set (equals 0) in this place yet, so we have to use cu_params->cuda_device_handle instead of cu_provider->device here.

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly

@ldorau ldorau requested a review from a team as a code owner January 17, 2025 10:25
cu_provider->device is not set (equals 0) in this place yet,
so we have to use cu_params->cuda_device_handle instead of
cu_provider->device here.

Signed-off-by: Lukasz Dorau <[email protected]>
@ldorau ldorau force-pushed the Fix_use_cuda_device_handle_in_cu_memory_provider_initialize branch from 50c7c0f to 279b6bf Compare January 17, 2025 10:26
@ldorau ldorau requested a review from bratpiorka January 17, 2025 10:27
@bratpiorka bratpiorka requested a review from KFilipek January 17, 2025 10:41
@KFilipek KFilipek merged commit f4b0715 into oneapi-src:main Jan 17, 2025
78 checks passed
@ldorau ldorau deleted the Fix_use_cuda_device_handle_in_cu_memory_provider_initialize branch January 17, 2025 14:52
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.

3 participants