Skip to content

Rework library linking #917

@luraess

Description

@luraess

Adaptations to GPUCompiler could benefit from the approach as done in JuliaGPU/CUDA.jl#3131

Currently, AMDGPU requires a two pass approach. The first pass feeds functions into the optimizer. The second pass catches symbols the runtime introduced after the optimizer ran.

Maybe CUDA's runtime doesn't introduce new references to libdevice symbols after link_libraries! runs? Which allows the single pass + lazy linking approach?

In any case, this could be reworked eventually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions