-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix NVRTC compilation for HyperConnection kernels #376
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,8 @@ | |
| #pragma clang diagnostic push | ||
| #pragma clang diagnostic ignored "-Wunknown-attributes" | ||
|
|
||
| #include <cuda_device_runtime_api.h> | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 warning: Unconditional, outside-guard placement (same at sm100_tf32_hc_prenorm_gemm.cuh:5). The only reference is at sm90:122 / sm100:139 inside 🤖 v4 |
||
|
|
||
| #include <cutlass/arch/barrier.h> | ||
| #include <cutlass/arch/reg_reconfig.h> | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 warning: Validation/scope. The original failure was NVRTC-specific, but the fix is unconditional and is now compiled by the NVCC/clang host/prebuilt and the non-NVRTC device paths as well. The PR only ran NVRTC compile-only regressions and
git diff --check, so a green NVRTC compile does not prove those other compiler configurations still compile/link, nor that device behavior is unchanged. A full build (NVCC/clang/prebuilt) and, if possible, a GPU run should be done before merge.🤖 v4