Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TF_LoadPluggableDeviceLibrary API #381

Closed
wangjia184 opened this issue Sep 25, 2022 · 0 comments · Fixed by #402
Closed

Add TF_LoadPluggableDeviceLibrary API #381

wangjia184 opened this issue Sep 25, 2022 · 0 comments · Fixed by #402

Comments

@wangjia184
Copy link

Although TF_LoadPluggableDeviceLibrary is an experimental API, it is necessary to use GPU on platform like Mac Arm.

I tried to include this API in code generating but it caused other errors.
Now I always add it manually.

extern "C" {
    pub fn TF_LoadPluggableDeviceLibrary(
        library_filename: *const ::std::os::raw::c_char,
        status: *mut TF_Status,
    ) -> *mut TF_Library;
}

This API had better be included.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants