diff --git a/src/wrapper/wrap_cudadrv.cpp b/src/wrapper/wrap_cudadrv.cpp index 5912bf49ffa7d554c19287861a8c27a96179f591..58581f548076a40bbfb255399723760c70b2de8d 100644 --- a/src/wrapper/wrap_cudadrv.cpp +++ b/src/wrapper/wrap_cudadrv.cpp @@ -1055,6 +1055,8 @@ BOOST_PYTHON_MODULE(_driver) .value("COMPUTE_75", CU_TARGET_COMPUTE_75) .value("COMPUTE_80", CU_TARGET_COMPUTE_80) +#endif +#if (CUDAPP_CUDA_VERSION >= 11060) /* approximate, precise version unknown */ .value("COMPUTE_86", CU_TARGET_COMPUTE_86) #endif #if (CUDAPP_CUDA_VERSION >= 12000)