From 1eec474566e3fb13e0e084f292e76db85a75bcca Mon Sep 17 00:00:00 2001 From: "Murillo Rojas, Luis" Date: Mon, 4 Nov 2024 16:57:44 -0800 Subject: [PATCH] Fix SYCL version of CountIntersections function --- cpp/open3d/t/geometry/RaycastingScene.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/open3d/t/geometry/RaycastingScene.cpp b/cpp/open3d/t/geometry/RaycastingScene.cpp index 8b1078bfa8f..d6993308658 100644 --- a/cpp/open3d/t/geometry/RaycastingScene.cpp +++ b/cpp/open3d/t/geometry/RaycastingScene.cpp @@ -615,8 +615,8 @@ struct RaycastingScene::SYCLImpl : public RaycastingScene::Impl { } // Copy the initialized data to the device - queue_.memcpy(host_previous_geom_prim_ID_tfar.get(), - previous_geom_prim_ID_tfar, + queue_.memcpy(previous_geom_prim_ID_tfar, + host_previous_geom_prim_ID_tfar.get(), num_rays * sizeof(callbacks::GeomPrimID)) .wait();