Skip to content

RegisterCustomDeviceAllocator in onnxruntime_c_api.h #782

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

Open
NullP0interEx opened this issue Jun 8, 2021 · 2 comments
Open

RegisterCustomDeviceAllocator in onnxruntime_c_api.h #782

NullP0interEx opened this issue Jun 8, 2021 · 2 comments

Comments

@NullP0interEx
Copy link

NullP0interEx commented Jun 8, 2021

Hello, I'm trying to build the project with my own version of onnxruntime-osx-x64-1.7.1. Why does my onnxruntime_c_api.h not contain a RegisterCustomDeviceAllocator in OrtApi, but the header file from your S3 server does?
What am I doing wrong?

To Reproduce
ALL=1 CC=/usr/local/Cellar/gcc@9/9.4.0/bin/gcc-9 make -C opt clean build

Environment (please complete the following information):

  • OS: macOS
  • Version11.4
  • Platfrom x86
  • Runtime CPU

-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is AppleClang 12.0.5.12050022
-- Checking whether C compiler has -isysroot
-- Checking whether C compiler has -isysroot - yes
-- Checking whether C compiler supports OSX deployment target flag
-- Checking whether C compiler supports OSX deployment target flag - yes

@chayim
Copy link
Contributor

chayim commented Jun 8, 2021

@NullP0interEx We currently have a fork of onnxruntime that we're using to build the backend. We're working on better documentation for the back ends as well, but I think this should help!

Also, I see you're building on OSX. Please let me know the results, I haven't built on OSX in ages, and it's also on the cleanup backlog.

@NullP0interEx
Copy link
Author

Great thank you. I will test it.

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

No branches or pull requests

2 participants