[Openmp-commits] [PATCH] D95274: [libomptarget][cuda] Call v2 functions explicitly

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jan 25 08:18:44 PST 2021


jdoerfert added a comment.

In D95274#2520112 <https://reviews.llvm.org/D95274#2520112>, @kkwli0 wrote:

> In D95274#2520002 <https://reviews.llvm.org/D95274#2520002>, @JonChesterfield wrote:
>
>> What version of cuda are you using? It might be useful to know when things changed.
>>
>> I think we can dlopen cuda, and try to load cuMemcpyDtoHAsync_v2, and then try to load cuMemcpyDtoHAsync on failure. That would get us some degree of robustness to different symbol versions.
>
>
>
>   $ cat /usr/local/cuda/version.txt 
>   CUDA Version 10.2.89

This means dyn_cuda won't work for this version (and others I assume). We might need to look for both symbols in dyn_cuda, wdyt Jon?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95274



More information about the Openmp-commits mailing list