commit | e4ff2b51b95d26dcfb70f0351328d1a285c22800 | [log] [tgz] |
---|---|---|
author | Robert Maynard <rmaynard@nvidia.com> | Tue Apr 20 13:25:53 2021 -0400 |
committer | Robert Maynard <rmaynard@nvidia.com> | Tue Apr 20 13:25:53 2021 -0400 |
tree | 8cf53c4d51aa65fd95f51d055e3be610bd82dfb0 | |
parent | 63ffe210365ce2d1dd67fcabcc67e20913f320a8 [diff] |
Help: Demonstrate using set_target_properties with CUDA architectures A common anti-pattern is to copy from the `CUDA_ARCHITECTURES` documentation. If at any point the user tries to simplify by changin `set_property` to `set_target_properties` the code breaks. To better train users, provide and example of how to set multiple CUDA architectures with `set_target_properties`.