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
This commit is contained in:
Tony Tye
2021-01-10 12:17:06 +00:00
parent 4c16051f6d
commit c7e8d91e14
30 changed files with 1020 additions and 969 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ class Program : public device::Program {
);
virtual bool createBinary(amd::option::Options* options) = 0;
virtual const aclTargetInfo& info(const char* str = "") { return info_; }
virtual const aclTargetInfo& info() { return info_; }
protected:
//! Disable default copy constructor