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

Question: CM RT Vebox parameters serializing #84

Open
activeobd opened this issue Jun 16, 2022 · 3 comments
Open

Question: CM RT Vebox parameters serializing #84

activeobd opened this issue Jun 16, 2022 · 3 comments

Comments

@activeobd
Copy link

The C for Media (Metal) Runtime provides the Vebox interface (CmVebox) with parameters passing as a CmBufferUP object. It's not clear how to convert from (assumedly) CM_VEBOX_PARAM_G10 to memory buffer correctly (for further feeding this to device->CreateBufferUP() and vebox->SetParam() accordingly). An attempt to copy the CM_VEBOX_PARAM_G10 structure instance memory as it is (contains pointers!) leads to a GPU hang / vecs0 resetting on reading the output surface.

i915 0000:00:02.0: [drm] GPU HANG: ecode 12:8:2cff3ffc, in cm-test [5023]

A working CM RT example with Vebox is very appreciated, as it's a part of the official API.

@vmustya
Copy link
Contributor

vmustya commented Jun 17, 2022

CM RT is obsolete, and it's support will be dropped. So please migrate your workloads to either OpenCL or LevelZero runtime and new CM Compute SDK.

Development package is present here: https://01.org/c-for-metal-development-package

@activeobd
Copy link
Author

Ok, so the VEBOX integration has been removed from the CM API (is not present in the SDK 20211028). Thanks for the response.

@vmustya
Copy link
Contributor

vmustya commented Jun 21, 2022

@activeobd, we are looking if it's possible to provide the VEBOX integration as an extension for OpenCL or Level Zero RT. Updates will be posted here.

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