You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which fails when cross-compiling with CUDA (I use the Kokkos cross-portability library). Weirdly, this works perfectly fine, if instead of GCC I use LLVM (still with CUDA support ON). If you think this is not a pybind11 issue -- feel free to close, but just wanted to throw this in, as perhaps there is an easy thing I'm overlooking.
Here's the error message with GCC 14 and CUDA 12.8:
Required prerequisites
What version (or hash if on master) of pybind11 are you using?
stable
Problem description
I reduced the problem to a very simple snippet (see below; also see the repo with minimal example).
Which fails when cross-compiling with CUDA (I use the
Kokkos
cross-portability library). Weirdly, this works perfectly fine, if instead of GCC I use LLVM (still with CUDA support ON). If you think this is not apybind11
issue -- feel free to close, but just wanted to throw this in, as perhaps there is an easy thing I'm overlooking.Here's the error message with GCC 14 and CUDA 12.8:
Thanks in advance for you help, and for the cool library you've made!
Reproducible example code
Is this a regression? Put the last known working version here if it is.
Not a regression
The text was updated successfully, but these errors were encountered: