Skip to content

feat: adding code for release v0.8.0 of CV-CUDA #165

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

Merged
merged 4 commits into from
May 31, 2024

Conversation

dlesage-nvidia
Copy link
Contributor

Adding code for release v0.8.0 of CV-CUDA

class OpAsImageFromNVCVImage(AbstractOpBase):
def setup(self, input):
# dummy run that does not use cache
img = nvcv.Image((128, 128), nvcv.Format.RGBA8)

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'img' is unnecessary as it is
redefined
before this value is used.
def setup(self, input):
# dummy run that does not use cache
nvcv.ImageBatchVarShape(100)
img = nvcv.Image((128, 128), nvcv.Format.RGBA8)

Check warning

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'img' is unnecessary as it is
redefined
before this value is used.

# NOTE: One must import PyCuda driver first, before CVCUDA or VPF otherwise
# things may throw unexpected errors.
import pycuda.driver as cuda # noqa: F401

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'cuda' is not used.

# NOTE: One must import PyCuda driver first, before CVCUDA or VPF otherwise
# things may throw unexpected errors.
import pycuda.driver as cuda # noqa: F401

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'cuda' is not used.

# NOTE: One must import PyCuda driver first, before CVCUDA or VPF otherwise
# things may throw unexpected errors.
import pycuda.driver as cuda # noqa: F401

Check notice

Code scanning / CodeQL

Unused import Note

Import of 'cuda' is not used.

} // namespace

void ExportOpResizeCropConvertReformat(py::module &m)

Check warning

Code scanning / CodeQL

Poorly documented large function Warning

Poorly documented function: fewer than 2% comments for a function of 229 lines.
@milesp-nvidia milesp-nvidia self-requested a review May 31, 2024 21:48
@milesp-nvidia milesp-nvidia self-requested a review May 31, 2024 21:54
@enmortensen enmortensen self-requested a review May 31, 2024 23:10
@milesp-nvidia milesp-nvidia merged commit b3bd172 into main May 31, 2024
4 checks passed
@dsuthar-nvidia dsuthar-nvidia deleted the feat/dlesage/v0.8.x branch May 2, 2025 17:09
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.

3 participants