blob: f8860aeda3df2da13f65b4103de96ab2749ca93a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
CUDA_CUBIN_COMPILATION
----------------------
.. versionadded:: 3.27
Compile CUDA sources to ``.cubin`` files instead of ``.obj`` files
within :ref:`Object Libraries`.
For example:
.. code-block:: cmake
add_library(mycubin OBJECT a.cu b.cu)
set_property(TARGET mycubin PROPERTY CUDA_CUBIN_COMPILATION ON)
|