hawk.compile.host_flags

Contents

hawk.compile.host_flags#

hawk.compile.host_flags(*, extra=(), profile=None, opt=None)[source]#

The host .so recipe: the profile’s code-generation flags (host_codegen_flags(), carrying the resolved opt level), then PIC, shared, C++23, and the standalone-artifact build mode (one self-contained TU, dlopen-ed by eagle, never linked against a CUDA-language aether TU).

Return type:

list[str]

Parameters:
  • profile (str | None)

  • opt (str | None)