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

Using GPU in android with Unity Barracuda #331

Open
taeyunwoo opened this issue Oct 20, 2023 · 2 comments
Open

Using GPU in android with Unity Barracuda #331

taeyunwoo opened this issue Oct 20, 2023 · 2 comments

Comments

@taeyunwoo
Copy link

Hello,
Thank you for your work.

I'm using Barracuda with ONNX wrapped model.
In computer setting, I use GPU with:
worker = WorkerFactory.CreateWorker(WorkerFactory.Type.Compute, m_RuntimeModel);

However, in android unity application, I cannot use GPU with that code fragment.
My android build setting is 'OpenGLES3', not 'Vulkan'.
(Actually, I cannot use Vulkan for this build due to other dependency Nreal Light)

Can you give a solution for this?

Thanks.

@Aurimasp
Copy link
Collaborator

Hey, you can try upgrading the package version (It is called Sentis now) and use the GPUPixel backend.

@taeyunwoo
Copy link
Author

@Aurimasp Thank you for replying.
You mean that trying to upgrade the Barracuda to Unity sentis, right?

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