-
Notifications
You must be signed in to change notification settings - Fork 0
Gen pr improve #23
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
Merged
Merged
Gen pr improve #23
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
10d66c9
fix: workflow
Sophomore42 a7bb217
fix: change compiler to clang
Sophomore42 daffaa1
fix: change model to kat-coder-pro
Sophomore42 d44342c
feat: add git ignore to avoid upload binary file
Sophomore42 e5bb49b
feat: build first before start pr
Sophomore42 cf402c0
feat: add cmakelist file
Sophomore42 9ff4c85
fix: export namespace not class
Sophomore42 2a99d22
fix: try to compile on clang18
Sophomore42 45e50f1
fix: try to compile on clang18
Sophomore42 2fbf98e
fix: ignore build dir
Sophomore42 d4db8bb
Merge branch 'dev' into gen_pr_improve
WSQS 12d716b
fix: remove bom
Sophomore42 a8594ea
fix: change config parameter
Sophomore42 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| /build |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,12 @@ | ||
| # gen-pr.config.yml | ||
| planning-model: openrouter/openrouter/polaris-alpha | ||
| planning-model: openrouter/kwaipilot/kat-coder-pro:free | ||
| reasoning-effort: high | ||
|
|
||
| repomix-extra-args: "--compress --remove-empty-lines --include '**/*.cpp' --include '**/*.ixx'" | ||
| repomix-extra-args: "--compress --remove-empty-lines --include '**/*.cpp' --include '**/*.ixx' --include '**/CMakeLists.txt'" | ||
|
|
||
| coding-tool: aider | ||
| aider-extra-args: "--model openrouter/openrouter/polaris-alpha" | ||
| aider-extra-args: "--model openrouter/kwaipilot/kat-coder-pro:free" | ||
| verbose: true | ||
|
|
||
| # Run build tests after code generation | ||
| test-command: "cmake -S . -B build" | ||
| test-command: "cmake --build ./build --config Debug" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,10 +2,18 @@ | |
| // Created by wsqsy on 11/14/2025. | ||
| // | ||
| module; | ||
| #include <SDL3/SDL_gpu.h> | ||
| module sdl_wrapper; | ||
|
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: module 'sdl_wrapper' not found [clang-diagnostic-error] >
^ |
||
| import :gpu; | ||
| import :pipeline; | ||
| namespace sopho | ||
| { | ||
| BufferWrapper GpuWrapper::create_buffer(SDL_GPUBufferUsageFlags flag, uint32_t size) | ||
| { | ||
| SDL_GPUBufferCreateInfo create_info{flag, size}; | ||
| auto buffer = SDL_CreateGPUBuffer(m_device, &create_info); | ||
| BufferWrapper result(shared_from_this(), buffer); | ||
| return result; | ||
| } | ||
| PipelineWrapper GpuWrapper::create_pipeline() { return PipelineWrapper{shared_from_this()}; } | ||
| } | ||
| } // namespace sopho | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: included header SDL_gpu.h is not used directly [misc-include-cleaner]