HomePhabricator

[CUDA][HIP] Re-apply part of r372318.

Description

[CUDA][HIP] Re-apply part of r372318.

  • r372318 causes violation of use-of-uninitialized-value detected by MemorySanitizer. Once Viable field is set to false, FailureKind needs setting as well as it will be checked during destruction if Viable is not true.
  • Revert the part trying to skip std::vector erasing.

Details

Committed
hliaoThu, Sep 19, 2:26 PM
Parents
rL372355: Request commit access for nicholas
Branches
Unknown
Tags
Unknown