[Openmp-commits] [PATCH] D105403: [OpenMP][iwyu] explicitly includes `<algorithm>` in CUDA rtl.cpp

Jon Chesterfield via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sun Jul 4 12:53:50 PDT 2021


JonChesterfield added inline comments.


================
Comment at: openmp/libomptarget/plugins/cuda/src/rtl.cpp:197
     // Initialize the next stream id
     std::fill(NextStreamId.begin(), NextStreamId.end(), 0);
 
----------------
std::fill use here, looks like we could memset to avoid including algorithm


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105403



More information about the Openmp-commits mailing list