[Parallel_libs-commits] [PATCH] D24580: [SE] Let users specify CUDA path

James Price via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Wed Sep 14 14:35:49 PDT 2016


jprice added a comment.

Does this also need the CUDA library to be added to `streamexecutor-config` output for `--libs`?

At the moment (with this patch), if I try and link against SE using `streamexecutor-config`, I get undefined references to all of the CUDA driver functions. If I manually add `-framework cuda` (OS X), it all works. The CUDA SAXPY example works for me, but I can see from the verbose ninja output that the example is building with `-framework cuda` already.


https://reviews.llvm.org/D24580





More information about the Parallel_libs-commits mailing list