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 Shape attribute to Surface #136

Merged
merged 1 commit into from
Feb 10, 2025
Merged

Add Shape attribute to Surface #136

merged 1 commit into from
Feb 10, 2025

Conversation

RomanArzumanyan
Copy link
Owner

This PR does the following:

  • Adds Surface.Shape attribute which returns numpy-like shape
  • Those formats which have multiple allocations (like YUV420) will return 1D shape, equal to Surface.HostSize
  • Fixes lack of GIL release in CudaStreamEvent.Wait

@RomanArzumanyan RomanArzumanyan merged commit b92608f into main Feb 10, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant