Fix One Vulkan C++ Test
Fix exactly one C++ failure per invocation.
- Run
./dev.sh build. - After the build completes, run
./dev.sh test-cpp --fail-after=1. - Identify the first failing test and reproduce only that failure as needed.
- Do not modify test code. Modify implementation only under
mlx/mlx/backend/vulkan/. - Before editing, inspect corresponding CUDA and Metal implementations under
mlx/mlx/backend/cuda/andmlx/mlx/backend/metal/. - Make the smallest correct fix consistent with existing backend patterns and the async Vulkan pipeline policy.
- Run
./dev.sh build, then./dev.sh test-cpp --fail-after=1sequentially to verify the addressed failure. Continue only on the same failure until it passes or a clear blocker remains. - After implementation changes, run
./dev.sh generateto validate inference output coherence.
Report the failure addressed, Vulkan files changed, reference backend files consulted, and final test and generation results. Do not fix later or unrelated failures.