diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -423,8 +423,6 @@ $ xmake ``` ```lua --- add helper function add_cugencodes -includes('add_cugencodes.lua') -- define target target("cuda_console") set_kind("binary") @@ -435,6 +433,11 @@ target("cuda_console") add_cugencodes("compute_30") ``` +<p class="tip"> +Starting with v2.2.7, the default build will enable device-link, @see https://devblogs.nvidia.com/separate-compilation-linking-cuda-device-code/ +If you want to disable device-link, you can set it with `add_values("cuda.devlink", false)`. +</p> + xmake will detect Cuda SDK automatically and we can also set the SDK directory manually. ```console |
