Stop using deprecated Comgr option API
Update a use of the deprecated amd_comgr_action_info_set_options to instead use amd_comgr_action_info_set_option_list. Completely remove all references to amd_comgr_action_info_set_options and amd_comgr_action_info_get_options from the runtime. Change-Id: I12a0803c87430722364ec22818e249caf3798c88
This commit is contained in:
@@ -596,7 +596,7 @@ bool Program::compileAndLinkExecutable(const amd_comgr_data_set_t inputs,
|
||||
}
|
||||
|
||||
// Create executable from the relocatable data set
|
||||
amd::Comgr::action_info_set_options(action, "");
|
||||
amd::Comgr::action_info_set_option_list(action, nullptr, 0);
|
||||
if (status == AMD_COMGR_STATUS_SUCCESS) {
|
||||
status = amd::Comgr::do_action(AMD_COMGR_ACTION_LINK_RELOCATABLE_TO_EXECUTABLE,
|
||||
action, relocatableData, output);
|
||||
|
||||
Reference in New Issue
Block a user