Skip to content

Commit

Permalink
[SYCLomatic][DOC]Adding notes to Migrate a CMake Build Script. (#2039)
Browse files Browse the repository at this point in the history
  • Loading branch information
lapel22 authored Jun 6, 2024
1 parent e928c6a commit 61b52f7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/dev_guide/migration/migrate-cmake-build.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ migration rule defined in ``rule_file.yaml``:
dpct -p=./ -in-root=./ -out-root=out --migrate-build-script=CMake
.. note::

View a `demo example <https://www.intel.com/content/www/us/en/developer/articles/technical/easily-migrate-cmake-cuda-sycl.html>`_ of CMake-based apps in Velocity-Bench.

Customize Migration of CMake Build Script
-----------------------------------------
Expand Down Expand Up @@ -76,8 +79,7 @@ migrating ``cuda_compile_ptx(obj_file kernel.cu)`` to

.. note::

``dpct_helper_compile_sycl_code()`` is provided by the tool. It is located in
``dpct.cmake`` in the cmake folder on the install path.
``dpct_helper_compile_sycl_code()`` is provided by the tool. It is located in ``dpct.cmake`` in the ``cmake`` folder on the install path, during the CMake script migration, ``dpct.cmake`` will be copied to the root folder of the migrated project and as a part of the migrated project.

.. code-block:: none
Expand Down

0 comments on commit 61b52f7

Please sign in to comment.