CUDA_RESOLVE_DEVICE_SYMBOLS.rst 485 B

123456789101112131415
  1. CUDA_RESOLVE_DEVICE_SYMBOLS
  2. ---------------------------
  3. CUDA only: Enables device linking for the specific static library target
  4. If set this will enable device linking on this static library target. Normally
  5. device linking is deferred until a shared library or executable is generated,
  6. allowing for multiple static libraries to resolve device symbols at the same
  7. time.
  8. For instance:
  9. .. code-block:: cmake
  10. set_property(TARGET mystaticlib PROPERTY CUDA_RESOLVE_DEVICE_SYMBOLS ON)