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

shader-slang / slang-rhi / 26593948464
68%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 06:27PM UTC
Jobs 3
Files 253
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 May 2026 06:24PM UTC coverage: 68.63% (-0.03%) from 68.663%
26593948464

push

github

web-flow
vulkan: gate NVX and ray tracing extensions behind opt-out flags (#760)

* vulkan: gate NVX and ray tracing extensions behind opt-out flags

Add two new DeviceDesc flags, both default true to preserve historical
behavior:

* enableCUDALaunchFromGfx gates VK_NVX_binary_import and
  VK_NVX_image_view_handle, which expose vkCmdCuLaunchKernelNVX
  (launching CUDA-style kernels from inside a Vulkan command buffer).
  Enabling these on the NVIDIA Linux driver brings up a dual-purpose
  CUDA primary context that has been observed to poison cuDNN's MHA
  dispatcher on Blackwell sm_120 + driver 595.x: torch's
  _scaled_dot_product_cudnn_attention starts returning
  mha_graph.execute(...).is_good() == false on the first attention call.

* enableRayTracing gates VK_KHR_acceleration_structure and dependent
  RT extensions (ray_tracing_pipeline, ray_query, position_fetch,
  NV_ray_tracing_linear_swept_spheres, NV_cluster_acceleration_structure).
  Enabling these initializes a CUDA-adjacent BVH/RT execution path that
  exhibits the same cuDNN MHA poisoning on the same hardware.

Applications that don't use vkCmdCuLaunchKernelNVX or ray tracing can
opt out by setting these flags to false. Default-true preserves existing
behavior for all other consumers.

Confirmed on RTX PRO 6000 Blackwell + Ubuntu 26.04 + driver 595.71.05
via a minimal repro that creates a Vulkan device with subsets of
slang-rhi's extension set; the bug reproduces only when NVX_binary_import
or acceleration_structure are present in ppEnabledExtensionNames.

* Updated comments

* Address review: simplify docs and drop NVX_image_view_handle gate

12069 of 20476 branches covered (58.94%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

19 existing lines in 2 files now uncovered.

35667 of 49080 relevant lines covered (72.67%)

278182.46 hits per line

Coverage Regressions

Lines Coverage ∆ File
16
65.15
-0.84% src/cuda/optix-api-impl.cpp
3
42.08
-1.54% src/device.h
Jobs
ID Job ID Ran Files Coverage
1 windows-x86_64 - 26593948464.1 28 May 2026 06:30PM UTC 227
68.08
GitHub Action Run
2 macos-aarch64 - 26593948464.2 28 May 2026 06:29PM UTC 166
38.38
GitHub Action Run
3 linux-x86_64 - 26593948464.3 28 May 2026 06:25PM UTC 173
64.67
GitHub Action Run
Source Files on build 26593948464
  • Tree
  • List 253
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #26593948464
  • e14007f0 on github
  • Prev Build on main (#26576377852)
  • Next Build on main (#26745088319)
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