[PATCH] D80858: [HIP] Support accessing static device variable in host code

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 1 15:43:31 PDT 2020


JonChesterfield added a comment.

The value is based on llvm::sys::Process::GetRandomNumber(). So unless one provides a build-system-derived uuid for every compilation unit, recompiling identical source will yield an observably different binary.

The distinction between 'unique' and 'random' is significant for anyone depending on repeatable binary output, so this patch should probably rename 'unique' to 'random' everywhere.


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

https://reviews.llvm.org/D80858





More information about the cfe-commits mailing list