Commit Graph

7 Commits

Author SHA1 Message Date
Connor Baker
bdfb61e117 cudaPackages: use -Xfatbin=-compress-all; prune default cudaCapabilities 2023-03-10 23:10:57 -05:00
Someone Serge
ac64f07f9c
cudaPackages.cudaFlags: drop unused capabilitiesAndForward 2023-03-04 03:14:37 +02:00
Someone Serge
8bf5f5ac89
magma: use CMAKE_CUDA_ARCHITECTURES directly 2023-03-04 01:04:25 +02:00
Someone Serge
d378cc6fb2
opencv4: respect config.cudaCapabilities
This is needed for faster builds when debugging the opencv derivation,
and it's more consistent with other cuda-enabled packages

-DCUDA_GENERATION seems to expect architecture names, so we refactor
cudaFlags to facilitate easier extraction of the configured archnames
2023-03-04 00:59:21 +02:00
Someone Serge
cf7fb1d08f
python3Packages.tensorflow: add cudaCapabilities argument
Rearrange tensorflow to allow overriding cudaCapabilities.
This is needed when debugging the tensorflow derivation
2023-03-04 00:59:21 +02:00
Connor Baker
dddc103fdb cudaFlags: rewrite to capture all architechtures and fix #215436 2023-02-23 16:34:12 -05:00
Jason Miller
8392158289
cudaPackages: add cudaFlags (#205351)
* cudaPackages: add cudaFlags

* cudaNames -> cudaMicroarchitectureNames

* update documentation, remove config for static library removal

* doc link added to flags

* fix whitespace in assignment
2022-12-16 22:00:36 -08:00