You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
318 B
15 lines
318 B
2 years ago
|
CUDA_FATBIN_COMPILATION
|
||
|
-----------------------
|
||
|
|
||
|
.. versionadded:: 3.27
|
||
|
|
||
|
Compile CUDA sources to ``.fatbin`` files instead of ``.obj`` files
|
||
|
within :ref:`Object Libraries`.
|
||
|
|
||
|
For example:
|
||
|
|
||
|
.. code-block:: cmake
|
||
|
|
||
|
add_library(myfbins OBJECT a.cu b.cu)
|
||
|
set_property(TARGET myfbins PROPERTY CUDA_FATBIN_COMPILATION ON)
|