SWDEV-306642 - [ABI Break] Add texture/surface/device capabilities device struct entries

- alias hipGetDeviceProperties to hipGetDevicePropertiesR0600
- alias hipDeviceProp_t to hipDeviceProp_tR0600
- remove gcnArch from new device property struct
- add new requested struct members

Change-Id: If3f5dbef3d608487d9f6f419285f4bf577ea9bf0
This commit is contained in:
Jatin Chaudhary
2023-08-02 13:34:19 +01:00
کامیت شده توسط Rakesh Roy
والد 813907c29d
کامیت 2989840511
12فایلهای تغییر یافته به همراه854 افزوده شده و 430 حذف شده
@@ -76,7 +76,12 @@ bool RTCProgram::findIsa() {
}
void* sym_hipGetDevice = amd::Os::getSymbol(handle, "hipGetDevice");
void* sym_hipGetDeviceProperties = amd::Os::getSymbol(handle, "hipGetDeviceProperties");
void* sym_hipGetDeviceProperties =
amd::Os::getSymbol(handle, "hipGetDevicePropertiesR0600"); // Try to find the new symbol
if (sym_hipGetDeviceProperties == nullptr) {
sym_hipGetDeviceProperties =
amd::Os::getSymbol(handle, "hipGetDeviceProperties"); // Fall back to old one
}
if (sym_hipGetDevice == nullptr || sym_hipGetDeviceProperties == nullptr) {
LogInfo("ISA cannot be found to dlsym failure");