[GH-ISSUE #626] [question] about DeviceRuntime::get_arch #373

Open
opened 2026-10-26 09:59:32 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @fishautumn on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/626

why arch 10.x is specially converted to 100x instead of compile with original device arch?

    std::string get_arch(const bool& number_only = false,
                         const bool& support_arch_family = false) {
        const auto [major, minor] = get_arch_pair();
        if (major == 10 and minor != 1) {
            if (number_only)
                return "100";
            return support_arch_family ? "100f" : "100a";
        }
        return std::to_string(major * 10 + minor) + (number_only ? "" : "a");
    }
Originally created by @fishautumn on GitHub (May 7, 2026). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/626 why arch 10.x is specially converted to `100x` instead of compile with original device arch? ```c++ std::string get_arch(const bool& number_only = false, const bool& support_arch_family = false) { const auto [major, minor] = get_arch_pair(); if (major == 10 and minor != 1) { if (number_only) return "100"; return support_arch_family ? "100f" : "100a"; } return std::to_string(major * 10 + minor) + (number_only ? "" : "a"); } ```
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#373
No description provided.