Skip to content

Clean up first-party compiler warnings (WIP) - #1184

Merged
0xShug0 merged 5 commits into
mainfrom
refactor/code-cleanup
Nov 3, 2026
Merged

0xShug0 merged 5 commits into
mainfrom
refactor/code-cleanup

Conversation

@0xShug0

@0xShug0 0xShug0 commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Clean up first-party compiler warnings by making existing empty aggregate defaults explicit, removing unused internal helpers and declarations, and handling missing enum cases. Backend execution policies and active model computations are preserved. Test-only fixes remove unnecessary copies, clarify a lookup ID's lifetime, and correct comment syntax.

Also remove RE-USE's explicit HIP refusal after validating the existing implementation on AMD hardware. This changes backend availability only; it adds no kernels or model-math changes.

Validation:

  • Clean Debug build with the full model set and CPU, CUDA, Vulkan, and WebGPU enabled passed. First-party warning occurrences fell from 79 to 4, with no test warnings. Remaining warnings are the existing Irodori Unicode comparisons, eSpeak deleter attributes, and Music3 formatting warning.
  • Affected model and test targets built successfully; Qwen3-TTS also passed a C++17 syntax check with its HIP cache compile flag enabled.
  • RE-USE completed four sequential HIP cases on a Radeon 8060S: default → gfx1151_v1 → gfx1151_v1 → default, each with warmup and a measured 60-second request. All cases exited successfully and produced finite, non-silent WAVs. Output cosine similarity between implementations was 0.9999999999.

No compiler-warning suppression flags or new heavy CI tests are introduced.

@0xShug0
0xShug0 force-pushed the refactor/code-cleanup branch from ff2179a to 9d7a4bc Compare November 3, 2026 06:16
@0xShug0 0xShug0 changed the title Clean up first-party compiler warnings and enable RE-USE on HIP Clean up first-party compiler warnings Nov 3, 2026
@0xShug0
0xShug0 force-pushed the refactor/code-cleanup branch from 9d7a4bc to 44216aa Compare November 3, 2026 06:21
@0xShug0 0xShug0 changed the title Clean up first-party compiler warnings Clean up first-party compiler warnings (WIP) Nov 3, 2026
@0xShug0
0xShug0 merged commit e12ff11 into main Nov 3, 2026
12 checks passed
@0xShug0
0xShug0 deleted the refactor/code-cleanup branch November 3, 2026 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant