[PATCH] D75811: [CUDA] Choose default architecture based on CUDA installation

Christian Sigg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Mar 14 23:07:00 PDT 2020


csigg added a comment.

> I've gone with the approach of trying the architectures in the most recent non-deprecated order – sm_52, sm_30.

I'm curious why you added sm_52 (I'm currently writing bazel rules for better CUDA support, and I'm using just sm_30 because that's been nvcc's default for a while now).
Do you consider sm_52 GPUs to be particularly common or does sm_52 introduce a commonly used feature?
(fp16 requires sm_53, but I don't think that needs to be included in the out of the box experience)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D75811/new/

https://reviews.llvm.org/D75811





More information about the cfe-commits mailing list