Skip to content

[UR][CUDA] Fix command-buffer handle inheritance #18457

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 1 commit into from
May 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion unified-runtime/source/adapters/cuda/command_buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ur_result_t commandHandleDestroy(

ur_exp_command_buffer_handle_t_::ur_exp_command_buffer_handle_t_(
ur_context_handle_t Context, ur_device_handle_t Device, bool IsUpdatable)
: Context(Context), Device(Device), IsUpdatable(IsUpdatable),
: handle_base(), Context(Context), Device(Device), IsUpdatable(IsUpdatable),
CudaGraph{nullptr}, CudaGraphExec{nullptr}, RefCount{1},
NextSyncPoint{0} {
urContextRetain(Context);
Expand Down
2 changes: 1 addition & 1 deletion unified-runtime/source/adapters/cuda/command_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ struct ur_exp_command_buffer_command_handle_t_ : ur::cuda::handle_base {
command_data_type_t CommandData;
};

struct ur_exp_command_buffer_handle_t_ {
struct ur_exp_command_buffer_handle_t_ : ur::cuda::handle_base {

ur_exp_command_buffer_handle_t_(ur_context_handle_t Context,
ur_device_handle_t Device, bool IsUpdatable);
Expand Down
Loading