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:
Scott Linder
2020-02-12 17:34:20 -05:00
parent b81816f482
commit da2e4d449c
3 changed files with 1 additions and 13 deletions
+1 -1
View File
@@ -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);