Skip to content

Commit

Permalink
Fix cmake for benchmarks and offline recon app.
Browse files Browse the repository at this point in the history
  • Loading branch information
ssheorey committed Jan 2, 2025
1 parent 19d44e7 commit 3e8a67c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 5 additions & 1 deletion cpp/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,8 @@ if (BUILD_GUI)
open3d_add_app_gui(Open3DViewer Open3D Open3DViewer)
endif()

open3d_add_app_common(OfflineReconstruction OfflineReconstruction OfflineReconstruction)
if (BUILD_SYCL_MODULE)
open3d_add_app_common(OfflineReconstruction OfflineReconstruction OfflineReconstruction Open3D::3rdparty_sycl)
else()
open3d_add_app_common(OfflineReconstruction OfflineReconstruction OfflineReconstruction)
endif()
3 changes: 3 additions & 0 deletions cpp/benchmarks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ if (BUILD_CUDA_MODULE)
find_package(CUDAToolkit REQUIRED)
target_link_libraries(benchmarks PRIVATE CUDA::cudart)
endif()
if (BUILD_SYCL_MODULE)
target_link_libraries(benchmarks PRIVATE Open3D::3rdparty_sycl)
endif()

open3d_show_and_abort_on_warning(benchmarks)
open3d_set_global_properties(benchmarks)
Expand Down
Binary file added docker/test2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 6 additions & 7 deletions docs/sycl.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,15 @@ compiler option) CMake variables. See the `compiler documentation
<https://github.com/intel/llvm/blob/sycl/sycl/doc/UsersManual.md>`_ for
information about building for specific hardware.

Current status:
---------------
Enabled features:
-----------------

Most Tensor API operations and tensor geometry operations without custom kernels
Many Tensor API operations and Tensor Geometry operations without custom kernels
can now be offloaded to SYCL devices. In addition, HW accelerated raycasting
queries in :ref:`RayCastingScene` are also supported. You will get an error if
an operation is not supported. We are working on adding more custom kernels and
improving performance. The implementation is tested on Linux on Intel integrated
and discrete GPUs. Currently, a single GPU (`SYCL:0`, if available) and the CPU
(`SYCL:1` if a GPU is available, else `SYCL:0`) are supported.
an operation is not supported. The implementation is tested on Linux on Intel
integrated and discrete GPUs. Currently, a single GPU (`SYCL:0`, if available)
and the CPU (`SYCL:1` if a GPU is available, else `SYCL:0`) are supported.

Installation:
-------------
Expand Down

0 comments on commit 3e8a67c

Please sign in to comment.