Repository navigation
[vulkan] allocate convert_to_bool constants per lane - #9672
NekoAsakura wants to merge 4 commits into
Conversation
derek-gerstmann
left a comment
There was a problem hiding this comment.
Thanks for tracking down and fixing #9671! The target_type.bytes() * target_type.lanes() buffer sizing fix is spot on. Left a couple of inline notes on adjacent Type::bytes() places in the SPIR-V constant/cast path and expanding the test coverage.
|
Thanks, all done. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9672 +/- ##
==========================================
- Coverage 72.82% 72.81% -0.01%
==========================================
Files 266 266
Lines 83479 83480 +1
Branches 20499 20499
==========================================
- Hits 60792 60789 -3
- Misses 16207 16215 +8
+ Partials 6480 6476 -4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
derek-gerstmann
left a comment
There was a problem hiding this comment.
I think we can just make this a generic, non-vulkan specific test. Let's rename the source file to bool_vector_cast.cpp, and remove the if (!target.has_feature(Target::Vulkan)) so it runs on every device.
|
Sorry for the late reply. Added skip cases are either compile errors or silent errors (e.g. bfhalf read as half). I've tested on cpu, cuda, vulkan, wasm and opencl, but have no environment for the rest. |
#9671