Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

cross_system_copy_n: Dont attempt a copy if we're tyring to copy 0 elements #1329

Merged
merged 1 commit into from
Nov 5, 2020

Conversation

bjude
Copy link
Contributor

@bjude bjude commented Oct 24, 2020

Attempting to perform this copy with 0 elements caused a debug assertion when compiling with MSVC in debug mode.

Fixes #1275

@alliepiper alliepiper self-assigned this Oct 24, 2020
@alliepiper
Copy link
Collaborator

LGTM -- thanks for the patch!

@alliepiper alliepiper added the testing: gpuCI in progress Started gpuCI testing. label Oct 24, 2020
@alliepiper alliepiper added this to the 1.11.0 milestone Oct 24, 2020
…ements

Attempting to perform this copy with 0 elements caused a debug assertion when compiling with MSVC in debug mode.

Fixes NVIDIA#1275
@alliepiper
Copy link
Collaborator

Last push fixed a signed/unsigned comparison warning from gcc 7.

@alliepiper alliepiper added testing: gpuCI passed Passed gpuCI testing. and removed testing: gpuCI in progress Started gpuCI testing. labels Oct 25, 2020
@brycelelbach
Copy link
Collaborator

ok to test

@GPUtester
Copy link
Collaborator

Can one of the admins verify this patch?

@brycelelbach
Copy link
Collaborator

run tests

@alliepiper
Copy link
Collaborator

DVS CL: 29265527

@alliepiper alliepiper added the testing: internal ci in progress Currently testing on internal NVIDIA CI (DVS). label Oct 30, 2020
@alliepiper alliepiper added testing: internal ci passed Passed internal NVIDIA CI (DVS). and removed testing: internal ci in progress Currently testing on internal NVIDIA CI (DVS). labels Nov 3, 2020
@alliepiper alliepiper merged commit 1c4f25d into NVIDIA:main Nov 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
testing: gpuCI passed Passed gpuCI testing. testing: internal ci passed Passed internal NVIDIA CI (DVS).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CPU->GPU copy of a default-initialized vector [windows/vs2019]
4 participants