Update code object handling for GSL, PAL and ROCm

- Correct GSL path to report targets using the TargetID syntax.

- Correct GSL path to check compatibility of code objects when
  loading.

- Add concept of an device isa and create a registery used by ROCm,
  PAL and GSL.

- Support XNACK and SRAMECC target features consistently for PAL and ROCm.

- Correct logic for NullDevices and asserts to avoid memory coruption.

- Allow all NullDevices to be created for HIP.

- Numerous other code improvements.

Change-Id: I40abf3d2b22249c1492d1af5919665f8184f4e0e
此提交包含在:
Tony Tye
2021-01-10 12:17:06 +00:00
父節點 4c16051f6d
當前提交 c7e8d91e14
共有 30 個檔案被更改,包括 1020 行新增969 行删除
+1 -1
查看文件
@@ -1166,7 +1166,7 @@ bool Kernel::SetAvailableSgprVgpr() {
bool hasVgprMeta = false;
amd_comgr_status_t status = amd::Comgr::get_isa_metadata(
prog().device().info().targetId_, &isaMeta);
prog().device().isa().isaName().c_str(), &isaMeta);
if (status == AMD_COMGR_STATUS_SUCCESS) {
hasIsaMeta = true;