Skip to content

Clean up driver dynamic library logic #635

@ftynse

Description

@ftynse

We have two places where we load libamdhip64.so or equivalent and throw from C++ invoked from python, aborting the entire process.

module = dlopen("libamdhip64.so", RTLD_NOW);

module = dlopen("libamdhip64.so", RTLD_NOW);

This should be cleaned up:

  • let's not duplicate code, especially with platform-specific logic;
  • provide a graceful mechanism to catch this error without aborting the process

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions