• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

shader-slang / slang-rhi / 16825951794

07 Aug 2025 03:04PM UTC coverage: 67.889% (-0.05%) from 67.934%
16825951794

push

github

web-flow
CUDA sync fixes (#473)

* Fix sync issues in CUDA backend

- there is no need for synchronize (texture caches get cleared before each kernel launch)
- fix a bug where we released resources for a command buffer early
- using events without timing (optimization)

* Add static_assert to make sure page size is valid

Allocation function depends on the fact that page size is a multiple of the alignment!

* Fix invalid return code

* Add missing error handling

* Remove obsolete calls to cuStreamSynchronize

The synchronous copy calls following later will implicitly sync.

10661 of 18664 branches covered (57.12%)

Branch coverage included in aggregate %.

2 of 3 new or added lines in 2 files covered. (66.67%)

23 existing lines in 2 files now uncovered.

31090 of 42835 relevant lines covered (72.58%)

109931.57 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

81.79
/src/cuda/cuda-device.cpp


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc