Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
lumurillo committed Nov 19, 2024
1 parent 4b81b70 commit 5b6a6de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cpp/open3d/t/geometry/RaycastingScene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,8 @@ struct RaycastingScene::SYCLImpl : public RaycastingScene::Impl {

queue_.memset(intersections, 0, sizeof(int) * num_rays).wait();

ci_previous_geom_prim_ID_tfar = sycl::malloc_device<callbacks::GeomPrimID>(num_rays, queue_);
ci_previous_geom_prim_ID_tfar =
sycl::malloc_device<callbacks::GeomPrimID>(num_rays, queue_);

// Check if allocation was successful
if (!ci_previous_geom_prim_ID_tfar) {
Expand Down Expand Up @@ -695,7 +696,8 @@ struct RaycastingScene::SYCLImpl : public RaycastingScene::Impl {
.wait();
queue_.memset(t_hit, 0, sizeof(float) * num_intersections).wait();

li_previous_geom_prim_ID_tfar = sycl::malloc_device<callbacks::GeomPrimID>(num_rays, queue_);
li_previous_geom_prim_ID_tfar =
sycl::malloc_device<callbacks::GeomPrimID>(num_rays, queue_);

// Check if allocation was successful
if (!li_previous_geom_prim_ID_tfar) {
Expand Down

0 comments on commit 5b6a6de

Please sign in to comment.