Add sm_100f support and make nvcc 13 happy (#157)

Signed-off-by: Xiwen Yu <13230610+VALLIS-NERIA@users.noreply.github.com>
This commit is contained in:
xiweny
2025-08-22 17:19:32 +08:00
committed by GitHub
parent f85ec649d7
commit affdb1cd90
4 changed files with 13 additions and 8 deletions

View File

@@ -25,9 +25,12 @@ public:
return {prop->major, prop->minor};
}
int get_arch() {
std::string get_arch() {
const auto& [major, minor] = get_arch_pair();
return major * 10 + minor;
if (major == 10 && minor != 1) {
return "100f";
}
return std::to_string(major * 10 + minor) + "a";
}
int get_arch_major() {