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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user