-
Notifications
You must be signed in to change notification settings - Fork 802
Closed
Description
I read the documentation about Dynamic linking of device code, which describe a scenario of using functions defined in a pre-compiled device image provided by the user.
May I know what are the compiler commands for this scenario? The documentation says that
user adds device image with definition of LibDeviceFunc to the fat object via special compiler option (like -fsycl-add-targets
But I don't understand how to do that in practice. Could you provide an example for the compilation command? Also, what if the pre-compiled device image is for an architecture different from the host's? Does the dynamic linking of device code still work in the case? Thank you!
Metadata
Metadata
Assignees
Labels
No labels