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

hipMemcpy with hipamd pulls in full Comgr support #44

Open
d1saster opened this issue May 29, 2023 · 0 comments
Open

hipMemcpy with hipamd pulls in full Comgr support #44

d1saster opened this issue May 29, 2023 · 0 comments

Comments

@d1saster
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant