rapids-cmake icon indicating copy to clipboard operation
rapids-cmake copied to clipboard

Add behavior change notices to `NATIVE`

Open robertmaynard opened this issue 3 years ago • 3 comments

Is your feature request related to a problem? Please describe. We want to announce behavior changes coming of the NATIVE case of CMAKE_CUDA_ARCHITECTURES from rapids-cmake.

Describe the solution you'd like Unlike #316 the swtich from NATIVE to native does have an observable side-effect on the project. The rapids-cmake NATIVE resolves down to the actual architecture value ( 75-real ) after the project() call, while native stays native as now nvcc supports flags like -arch=native.

What we want to do for 22.03 is add a behavior notice to rapids-cmake that NATIVE will map to native starting in 23.04.

robertmaynard avatar Dec 01 '22 21:12 robertmaynard

The behavior change should also state that NATIVE will be removed in 23.06

robertmaynard avatar Dec 01 '22 21:12 robertmaynard

Also remember to incldue "" in the behavior change / deprecation notice

robertmaynard avatar Dec 01 '22 22:12 robertmaynard

Was thinking about this again and wanted to measure the performance cost of using -arch=native compared to what rapids-cmake does.

For libcudf total compile times at -j20 go from 8min 42sec to 8min 44sec so basically noise. We shouldn't consider performance of -arch=native to a issue when switching rapids-cmake NATIVE over to native.

robertmaynard avatar Jun 05 '24 14:06 robertmaynard