Compatible with CUDA 13

This commit is contained in:
Chenggang Zhao
2025-08-22 17:29:10 +08:00
parent affdb1cd90
commit f20256fd50
4 changed files with 6 additions and 10 deletions

View File

@@ -27,9 +27,8 @@ public:
std::string get_arch() {
const auto& [major, minor] = get_arch_pair();
if (major == 10 && minor != 1) {
if (major == 10 and minor != 1)
return "100f";
}
return std::to_string(major * 10 + minor) + "a";
}