2021-09-14 00:13:48 +02:00
|
|
|
Host And Device Specific Link Options
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-08-30 11:54:41 +02:00
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.18
|
|
|
|
When a device link step is involved, which is controlled by
|
|
|
|
:prop_tgt:`CUDA_SEPARABLE_COMPILATION` and
|
|
|
|
:prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties and policy :policy:`CMP0105`,
|
|
|
|
the raw options will be delivered to the host and device link steps (wrapped in
|
|
|
|
``-Xcompiler`` or equivalent for device link). Options wrapped with
|
2023-05-23 16:38:00 +02:00
|
|
|
:genex:`$<DEVICE_LINK:...>` generator expression will be used
|
|
|
|
only for the device link step. Options wrapped with :genex:`$<HOST_LINK:...>`
|
|
|
|
generator expression will be used only for the host link step.
|