mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #284] Windows support #342
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#342
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/284
Author: @tori29umai0123
Created: 2/2/2026
Status: 🔄 Open
Base:
main← Head:windows-support📝 Commits (4)
ff59631Add Windows/MSVC compatibility supportf2ee7a4bug fix1fab197Windows compatible8d143f8Windows compatible📊 Changes
30 files changed (+811 additions, -534 deletions)
View changed files
📝
.gitignore(+8 -1)📝
CMakeLists.txt(+19 -4)📝
README.md(+58 -1)📝
csrc/apis/gemm.hpp(+55 -35)📝
csrc/jit/cache.hpp(+3 -2)📝
csrc/jit/compiler.hpp(+42 -10)📝
csrc/jit/handle.hpp(+34 -4)📝
csrc/jit/kernel_runtime.hpp(+29 -12)📝
csrc/jit_kernels/heuristics/common.hpp(+15 -9)📝
csrc/jit_kernels/heuristics/sm100.hpp(+3 -3)📝
csrc/jit_kernels/impls/sm100_bf16_gemm.hpp(+61 -61)📝
csrc/jit_kernels/impls/sm100_bmk_bnk_mn.hpp(+11 -12)📝
csrc/jit_kernels/impls/sm100_fp8_gemm_1d1d.hpp(+72 -77)📝
csrc/jit_kernels/impls/sm100_tf32_hc_prenorm_gemm.hpp(+12 -13)📝
csrc/jit_kernels/impls/sm90_bf16_gemm.hpp(+61 -61)📝
csrc/jit_kernels/impls/sm90_bmk_bnk_mn.hpp(+10 -11)📝
csrc/jit_kernels/impls/sm90_fp8_gemm_1d1d.hpp(+31 -31)📝
csrc/jit_kernels/impls/sm90_fp8_gemm_1d2d.hpp(+58 -58)📝
csrc/jit_kernels/impls/sm90_tf32_hc_prenorm_gemm.hpp(+12 -13)📝
csrc/jit_kernels/impls/smxx_clean_logits.hpp(+11 -11)...and 10 more files
📄 Description
Summary
This PR adds Windows/MSVC build support for DeepGEMM while maintaining full compatibility with existing Linux/GCC
builds.
Changes
MSVC Compatibility Layer
csrc/utils/msvc_compat.hppwith POSIX compatibility macros (popen,pclose,WEXITSTATUS)DG_MSVCpreprocessor macro for platform-conditional compilationCode Fixes for MSVC
std::filesystem::pathhandling (use.string()for conversions, asc_str()returnswchar_t*on Windows).exesuffix for Windows executables (nvcc.exe, cuobjdump.exe)Build System
setup.pywith Windows-specific compiler flags (/std:c++latest,/O2,/EHsc, etc.)win_amd64)Documentation
Testing
Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.