Suppress Finalizer loading attempts.
This has been the default mode for a while now since we don't
distribute or build the finalizer. Removing the attempt cleans
up debug mode messages that are causing confusion.
Change-Id: I8162c95abd5bbedaa22b90191f7a384a34c388ae
[ROCm/ROCR-Runtime commit: 3fe891d5da]
This commit is contained in:
@@ -1348,12 +1348,14 @@ void Runtime::LoadExtensions() {
|
||||
"libhsa-ext-image.so.1"};
|
||||
#endif
|
||||
|
||||
// Update Hsa Api Table with handle of Image extension Apis
|
||||
extensions_.LoadFinalizer(kFinalizerLib[os_index(os::current_os)]);
|
||||
// Update Hsa Api Table with handle of Finalizer extension Apis
|
||||
// Skipping finalizer loading since finalizer is no longer distributed.
|
||||
// LinkExts will expose the finalizer-not-present implementation.
|
||||
// extensions_.LoadFinalizer(kFinalizerLib[os_index(os::current_os)]);
|
||||
hsa_api_table_.LinkExts(&extensions_.finalizer_api,
|
||||
core::HsaApiTable::HSA_EXT_FINALIZER_API_TABLE_ID);
|
||||
|
||||
// Update Hsa Api Table with handle of Finalizer extension Apis
|
||||
// Update Hsa Api Table with handle of Image extension Apis
|
||||
extensions_.LoadImage(kImageLib[os_index(os::current_os)]);
|
||||
hsa_api_table_.LinkExts(&extensions_.image_api,
|
||||
core::HsaApiTable::HSA_EXT_IMAGE_API_TABLE_ID);
|
||||
|
||||
Reference in New Issue
Block a user