DEVICE_LINK_OPTIONS.txt 651 B

123456789101112
  1. Host And Device Specific Link Options
  2. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  3. .. versionadded:: 3.18
  4. When a device link step is involved, which is controlled by
  5. :prop_tgt:`CUDA_SEPARABLE_COMPILATION` and
  6. :prop_tgt:`CUDA_RESOLVE_DEVICE_SYMBOLS` properties and policy :policy:`CMP0105`,
  7. the raw options will be delivered to the host and device link steps (wrapped in
  8. ``-Xcompiler`` or equivalent for device link). Options wrapped with
  9. :genex:`$<DEVICE_LINK:...>` generator expression will be used
  10. only for the device link step. Options wrapped with :genex:`$<HOST_LINK:...>`
  11. generator expression will be used only for the host link step.