Skip to content

Commit 9939613

Browse files
committed
[UR][CUDA] Fix command-buffer handle inheritance
The `ur_exp_command_buffer_handle_t_` definition in the CUDA adapter was missed in intel#17118 in the changes to inherit from a base handle. Discovered by seeing segfaults in the UR CTS tests locally, and git bisecting back to that change.
1 parent b18e39d commit 9939613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/source/adapters/cuda/command_buffer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ struct ur_exp_command_buffer_command_handle_t_ : ur::cuda::handle_base {
128128
command_data_type_t CommandData;
129129
};
130130

131-
struct ur_exp_command_buffer_handle_t_ {
131+
struct ur_exp_command_buffer_handle_t_ : ur::cuda::handle_base {
132132

133133
ur_exp_command_buffer_handle_t_(ur_context_handle_t Context,
134134
ur_device_handle_t Device, bool IsUpdatable);

0 commit comments

Comments
 (0)