Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6474 +/- ##
===========================================
- Coverage 95.90% 94.79% -1.12%
===========================================
Files 845 548 -297
Lines 265399 160114 -105285
===========================================
- Hits 254531 151779 -102752
+ Misses 10868 8335 -2533 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
This PR adds Vulkan shader support for the GridSample layer, enabling GPU-accelerated grid sampling operations with bilinear, nearest, and bicubic interpolation modes.
Key Changes
- Implements a complete Vulkan compute shader for grid sampling with support for 2D and 3D input tensors
- Adds GridSample_vulkan class with pipeline creation, destruction, and forward pass implementation
- Supports multiple interpolation modes (bilinear, nearest, bicubic) and padding modes (zeros, border, reflection)
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| src/layer/vulkan/shader/gridsample.comp | Complete compute shader implementing grid sampling with coordinate transformations, boundary handling, and interpolation algorithms |
| src/layer/vulkan/gridsample_vulkan.h | Header file declaring the GridSample_vulkan class inheriting from GridSample base class |
| src/layer/vulkan/gridsample_vulkan.cpp | Implementation of Vulkan-specific pipeline management and forward pass with dynamic dimension handling |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
|
Please enable github action in YOUR FORKED REPO to make code-format workflow work |
No description provided.