Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

hipMemcpy with hipamd pulls in full Comgr support #44

Description

@d1saster

Even compiling the simple square example, this obviously needs to use hipMemcpy.

However, I was kind of surprised that internally in hipMemcpy the BlitProgram is used which (in an OpenCL fashion) seems to be built on first use using the compiler manager, and thus requiring effectively a full llvm dependency. In particular the device libs need to be present (which was what made me even aware of this issue)

Doesn't this undermine the whole point of doing binary builds for each ISA in hipamd in the first place?

To reproduce the issue run

AMD_COMGR_SAVE_TEMPS=1 AMD_COMGR_REDIRECT_LOGS=stdout AMD_COMGR_EMIT_VERBOSE_LOGS=1 AMD_LOG_LEVEL=7 ./square

Ideally this should only happen if hiprtc is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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