[Openmp-commits] [PATCH] D68367: Initialise workFn to zero explicitly

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Oct 3 09:11:08 PDT 2019


JonChesterfield added a comment.

I think it needs to be initialized to zero to handle the case where there is no work, though I'm not the original author of the patch.

Iirc cuda/nvcc will implicitly zero initialize this and hip/clang does not.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68367/new/

https://reviews.llvm.org/D68367





More information about the Openmp-commits mailing list