Skip to content

Commit

Permalink
Update sycl/plugins/unified_runtime/pi2ur.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Kenneth Benzie (Benie) <k.benzie83@gmail.com>
  • Loading branch information
EwanC and kbenzie committed May 2, 2024
1 parent 3ac2e02 commit 356b9ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sycl/plugins/unified_runtime/pi2ur.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4496,8 +4496,8 @@ piextCommandBufferCreate(pi_context Context, pi_device Device,
ur_device_handle_t UrDevice = reinterpret_cast<ur_device_handle_t>(Device);
ur_exp_command_buffer_desc_t UrDesc;
UrDesc.stype = UR_STRUCTURE_TYPE_EXP_COMMAND_BUFFER_DESC;
UrDesc.isInOrder = Desc->is_in_order;
UrDesc.enableProfiling = Desc->enable_profiling;
UrDesc.isInOrder = ur_bool_t(Desc->is_in_order);
UrDesc.enableProfiling = ur_bool_t(Desc->enable_profiling);
UrDesc.isUpdatable = Desc->is_updatable;
ur_exp_command_buffer_handle_t *UrCommandBuffer =
reinterpret_cast<ur_exp_command_buffer_handle_t *>(RetCommandBuffer);
Expand Down

0 comments on commit 356b9ce

Please sign in to comment.