[Openmp-commits] [PATCH] D54342: Add omp_get_device_num() and update several other device API functions

Terry Wilmarth via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 29 14:39:12 PST 2018


tlwilmar added a comment.

In D54342#1313515 <https://reviews.llvm.org/D54342#1313515>, @gtbercea wrote:

> After this patch, omp_get_num_devices() seems to wrongly return 0 even when devices are present.


OK, on my internal build these are showing up as weak symbols with nm.  But on my LLVM build, not.  Will look into the LLVM build to make sure it allows for weak attribute.


Repository:
  rL LLVM

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

https://reviews.llvm.org/D54342





More information about the Openmp-commits mailing list