The Jerusalem PostTrump adviser-turned-critic John Bolton gets six months in prison in classified documents caseColliderCollider’s Winter 2026 Preview Week Is Your Guide to the Season’s Biggest MoviesVarietyHow Blackpink’s Jennie Gave Tame Impala’s ‘Dracula’ a Second LifeDeadlineESPN Shuffles Top Exec Ranks, Giving New Titles And Roles To Rosalyn Durant And Burke MagnusInquirerClaire Castro denies regional briefings tied to purported Senate bidNOS SportNing in Thialf weer klasse apart op 1.500 meter, sterke Wennemars tweedeNOSE-sports immens populair bij Chinese jonge vrouwenSRF NewsKryptowährungen – Sicherheitsbedenken erschüttern Kryptomarkt – auch Trump trifftsCBS SportsUMass suspends basketball coach Frank Martin after audio leak of alleged tirade against his playersQuemMarina Ruy Barbosa posa de biquíni em cenário paradisíaco na ItáliaGlobal NewsA strong El Nino and lack of snow ‘very unusual’ for many parts of CanadaABC NewsSupreme Court declines to halt execution of Fort Hood shooter Nidal Hasan
The Daily Newsstand · Free, Always
Friday, December 4, 2026
Automatic translation is active. Articles in other languages will open in English.Enable automatic translation of articles from other languages into English.

Vulkan 1.4.370 Standardizes GPU Cooperative Vector Operations for Small AI Models

The article's text, from Joho no Todai's page.

Translate

Khronos Group released Vulkan 1.4.370, its graphics and compute API, on December 4. Of the four new extensions, VK_EXT_cooperative_vector is designed to accelerate inference and training for small neural networks on GPUs.

A rendering pipeline might run a small network for each pixel, for example, using numeric inputs to calculate color or lighting. Each invocation needs its own inputs and results.

The extension proposal envisages rendering techniques that evaluate such neural networks independently in each shader invocation. A shader is a program that runs on the GPU.

For cooperative matrix operations, a subgroup of shader invocations works together on a matrix. With cooperative vectors, each invocation owns its vector, and the operation does not require all invocations in the subgroup to participate or follow the same control flow.

Inside the GPU, multiple invocations can still cooperate on a matrix-vector product. The aim is to use specialized matrix hardware while preserving independent operations as seen by the program.

Individual parts of a rendering workload can run a small AI model when needed. That flexibility is an interesting way to bring neural networks into rendering.

From an NVIDIA-specific extension to a multi-vendor specification

Contributors from NVIDIA, AMD, Qualcomm, Imagination Technologies, and Google worked on VK_EXT_cooperative_vector. It carries forward compatible API functionality from NVIDIA’s earlier VK_NV_cooperative_vector.

The NVIDIA extension also lets each invocation work with independent values. It uses a dedicated cooperative vector type and instructions that combine loading from memory with computation. The EXT version uses ordinary vector types in SPIR-V, the intermediate representation for shaders, and works with existing arithmetic and type conversion instructions.

Loading a matrix, multiplying it by a vector, computing an outer product, and accumulating the result in memory are separate instructions. A computation can take a previously loaded matrix value as input.

Applications can query the GPU implementation for supported combinations of data types and convert matrices to internal layouts optimized for that implementation. Inference and training features are enabled separately, and the SPIR-V capabilities differ from those of the NV extension.

A common API can reduce the work of redesigning computations for each vendor. Implementers still have room to choose the computation and data layout that suit their GPUs.

This release updates the API specification. Using the extension requires driver implementation and support in the game or application. Developers can query the extensions and data types that a particular GPU implementation supports.

New extensions for Linux synchronization and avoiding unnecessary rendering

A Vulkan timeline semaphore represents progress numerically and can hold work until a specified value is reached. The VK_EXT_external_semaphore_drm_syncobj extension imports synchronization objects from Linux’s Direct Rendering Manager (DRM) as timeline semaphores and exports timeline semaphores as DRM synchronization objects.

It gives rendering programs and consumers of rendered output a way to share synchronization information and coordinate their work.

Another extension, VK_EXT_shader_early_and_late_fragment_tests, brings the core functionality of AMD’s VK_AMD_shader_early_and_late_fragment_tests to a multi-vendor specification.

Calculating colors for surfaces that are hidden behind other objects will not change what appears on screen. If a shader produces no side effects such as writes to memory, the GPU can do tests such as depth testing first and avoid unnecessary work. If the shader writes to a buffer, depth and stencil tests usually run after it, ensuring those writes take place.

The new SPIR-V execution mode EarlyAndLateFragmentTestsEXT lets developers allow early rejection when the shader’s writes for occluded fragments can be skipped. A fragment is a unit of work for rendering part of the screen. The GPU implementation decides whether to reject it early.

Storing several video resolutions in one image

NVIDIA’s VK_NV_ycbcr_image_mipmaps allows multiple mipmap levels for YCbCr formats that need sampler-based YCbCr conversion. YCbCr represents brightness and color differences, and a sampler reads the image. These formats were previously limited to one level.

Mipmaps store images at different resolutions so a program can use the level it needs. The extension lets applications manage a video frame and its downscaled versions as one image resource. Potential uses include video compression preprocessing, video analysis, and processing camera images.

Applications provide the image data for each level. The implementation reports how many levels it supports for a given format and other parameters. Applications separately query whether sampling with YCbCr conversion can span multiple levels.

The proposal says the extension is helpful when several operations reuse downscaled images. If a single scaled image is needed, generating it directly is more efficient. The right approach depends on the workload.

The provisional macOS portability extension leaves the specification

Khronos removed the provisional VK_KHR_portability_subset extension in this update. The change log cites the arrival of KosmicKrisp for macOS.

Khronos previously recommended KosmicKrisp as a fully conformant Vulkan 1.4 implementation for Apple Silicon Macs running macOS 26 or later and said it would deprecate MoltenVK. The provisional extension had allowed developers to port apps to drivers that implemented only a subset of mandatory Vulkan functionality.

Khronos says existing apps using MoltenVK can keep working. Rebuilding source code that depends on the provisional extension with the new headers requires removing that dependency.

The release also clarifies how ray tracing recursion depth is counted and how acceleration structure device addresses are defined. It corrects the specification to preserve writes to the ray payload, which carries data associated with a ray, in any-hit shaders that process ray intersections.

A shared API can give programs access to computation implemented differently on each GPU. KosmicKrisp meets Vulkan’s mandatory requirements through Apple’s Metal API. Both parts of the update expand the scope for sharing code across hardware and operating systems. A common specification also makes it possible to compare how different GPUs implement rendering techniques that use cooperative vectors.

View the original on Joho no Todai →