eyalroz / cuda-api-wrappers

Thin, unified, C++-flavored wrappers for the CUDA APIs
BSD 3-Clause "New" or "Revised" License
790 stars 80 forks source link

Disable surface-related functionality with CUDA 12.x #499

Closed eyalroz closed 1 year ago

eyalroz commented 1 year ago

CUDA 12.x deprecates "surface references"; so, let's not-build their wrappers when using CUDA 12 or later. This avoids warnings when building examples...