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);