cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

marxin
Journeyman III

Creation of an HSA program folded from multiple modules does not work

Hello.

1) As described in 15.2 Library Example (in Programmer's Reference manual), HSA runtime should support

programs folded from multiple modules. Unfortunately, taken example from the chapter does not work.

When I add a second module to the program, I received error from the following statement:

err = hsa_ext_program_add_module(program, module2);

Thank you,

Martin

0 Likes
2 Replies
jedwards
Staff

Could you please provide the error code, and if possible, the code generating the error. There is currently an issue regarding finalization of a program that uses interdependent modules, but you should be able to add more than one module to a program.

0 Likes
marxin
Journeyman III

Please feel free to download following build script that will add two modules to a program: hsa-multi-link.tar.bz2 - Google Drive

Thanks,

Martin

0 Likes