rapidsai / cudf

cuDF - GPU DataFrame Library
https://docs.rapids.ai/api/cudf/stable/
Apache License 2.0
8.46k stars 908 forks source link

[FEA] JIT Compilation of CUDF Kernels #17399

Open lamarrr opened 1 day ago

lamarrr commented 1 day ago

Is your feature request related to a problem? Please describe. As described in #15366, we intend to adopt JIT compilation to some of our kernels using JITify/NVRTC. JITify presently only supports compilation of device code, this means we can't mix host code with it, like we'd do with NVCC. Some important headers are not supported, i.e.

Describe the solution you'd like We'd need to:

Describe alternatives you've considered

jrhemstad commented 19 hours ago

Patch Thrust and RMM headers to separate their headers into device-only code headers

Please no. RAPIDS is banned from applying any more patches to Thrust headers 🙂

You should only include RMM or Thrust headers in the host-only headers, so there shouldn't be any need to modify those.