dwww Home | Show directory contents | Find package

CUDA_PTX_COMPILATION
--------------------

.. versionadded:: 3.9

Compile CUDA sources to ``.ptx`` files instead of ``.obj`` files
within :ref:`Object Libraries`.

For example:

.. code-block:: cmake

  add_library(myptx OBJECT a.cu b.cu)
  set_property(TARGET myptx PROPERTY CUDA_PTX_COMPILATION ON)

Generated by dwww version 1.15 on Fri Jun 28 23:51:47 CEST 2024.