NVIDIA / cuda-python

CUDA Python Low-level Bindings
https://nvidia.github.io/cuda-python/
Other
809 stars 63 forks source link

Remove duplicate code in vectorAddMMAP example #28

Closed pentschev closed 1 year ago

pentschev commented 1 year ago

The code to determine granularity is duplicated, immediately after perforing that check, the same code exists. The second entry is being eliminated by this change.

vzhurba01 commented 1 year ago

Thanks for pointing it out. As per CONTRIBUTING.md, at this time we don't accept merge requests and an issue should be filed instead.

I've applied a fix in the latest release, no further action needed: v12.0.0

leofang commented 1 year ago

@pentschev next time you can send an MR to the internal repo 🙂