Close Menu
Cryprovideos
    What's Hot

    Ripple ETFs Defy Mass Exodus Development however XRP Value Fails to Capitalize

    May 24, 2026

    Chainlink Expands Throughout 5 Main Blockchain Networks – Right here Is Why the Crypto Trade Is Paying Consideration – BlockNews

    May 24, 2026

    Headed to $0? Adam Again Questions Lengthy-Time period Worth of Altcoins, Memecoins – U.Right now

    May 24, 2026
    Facebook X (Twitter) Instagram
    Cryprovideos
    • Home
    • Crypto News
    • Bitcoin
    • Altcoins
    • Markets
    Cryprovideos
    Home»Markets»NVIDIA CUDA 13.1 Drops CUB Boilerplate with New Single-Name API
    NVIDIA CUDA 13.1 Drops CUB Boilerplate with New Single-Name API
    Markets

    NVIDIA CUDA 13.1 Drops CUB Boilerplate with New Single-Name API

    By Crypto EditorJanuary 22, 2026No Comments3 Mins Read
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Felix Pinkston
    Jan 21, 2026 21:57

    NVIDIA simplifies GPU growth with CUB single-call API in CUDA 13.1, eliminating repetitive two-phase reminiscence allocation code with out efficiency loss.

    NVIDIA CUDA 13.1 Drops CUB Boilerplate with New Single-Name API

    NVIDIA has shipped a big quality-of-life improve for GPU builders with CUDA 13.1, introducing a single-call API for the CUB template library that eliminates the clunky two-phase reminiscence allocation sample builders have labored round for years.

    The change addresses a long-standing ache level. CUB—the C++ template library powering high-performance GPU primitives like scans, kinds, and histograms—beforehand required builders to name every perform twice: as soon as to calculate required reminiscence, then once more to truly run the algorithm. This meant each CUB operation seemed one thing like this verbose dance of reminiscence estimation, allocation, and execution.

    PyTorch’s codebase tells the story. The framework wraps CUB calls in macros particularly to cover this two-step invocation, a workaround widespread throughout manufacturing codebases. Macros obscure management stream and complicate debugging—a trade-off groups accepted as a result of the choice was worse.

    Zero Overhead, Much less Code

    The brand new API cuts straight to the purpose. What beforehand required express reminiscence allocation now matches in a single line, with CUB dealing with momentary storage internally. NVIDIA’s benchmarks present the streamlined interface introduces zero efficiency overhead in comparison with the guide strategy—reminiscence allocation nonetheless occurs, slightly below the hood by way of asynchronous allocation embedded inside gadget primitives.

    Critically, the outdated two-phase API stays obtainable. Builders who want fine-grained management over reminiscence—reusing allocations throughout a number of operations or sharing between algorithms—can proceed utilizing the present sample. However for almost all of use circumstances, the single-call strategy ought to turn into the default.

    The Setting Argument

    Past simplifying fundamental calls, CUDA 13.1 introduces an extensible “env” argument that consolidates execution configuration. Builders can now mix customized CUDA streams, reminiscence sources, deterministic necessities, and tuning insurance policies by a single type-safe object fairly than juggling a number of perform parameters.

    Reminiscence sources—a brand new utility for allocation and deallocation—may be handed by this setting argument. NVIDIA gives default sources, however builders can substitute their very own customized implementations or use CCCL-provided options like gadget reminiscence swimming pools.

    Presently, the setting interface helps core algorithms together with DeviceReduce operations (Cut back, Sum, Min, Max, ArgMin, ArgMax) and DeviceScan operations (ExclusiveSum, ExclusiveScan). NVIDIA is monitoring further algorithm assist by way of their CCCL GitHub repository.

    Sensible Implications

    For groups sustaining GPU-accelerated functions, this replace means much less wrapper code and cleaner integration. The CUB library already serves as a foundational part of NVIDIA’s CUDA Core Compute Libraries, and simplifying its API reduces friction for builders constructing customized CUDA kernels.

    The timing aligns with broader business motion towards extra accessible GPU programming. As AI workloads drive demand for optimized GPU code, decreasing boundaries to utilizing high-performance primitives issues.

    CUDA 13.1 is offered now by NVIDIA’s developer portal. Groups at the moment utilizing macro wrappers round CUB calls ought to consider migrating to the native single-call API—it delivers the identical abstraction with out the debugging complications.

    Picture supply: Shutterstock




    Supply hyperlink

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

    Related Posts

    Headed to $0? Adam Again Questions Lengthy-Time period Worth of Altcoins, Memecoins – U.Right now

    May 24, 2026

    SUI Worth Falls Again to Key Help – Right here Is Why Merchants Are Watching Carefully – BlockNews

    May 24, 2026

    Eightco Holdings treasury replace: $337 million AI, WLD, Beast wager

    May 24, 2026

    Hyperliquid (HYPE) Tanks 25%, However the Worth is In some way Up – U.At present

    May 24, 2026
    Latest Posts

    Will XRP Hit $1 Subsequent?; Bollinger Bands Maintain $91,500 Bitcoin Prediction Alive; Dogecoin Drops to tenth as Hyperliquid Surges – Morning Crypto Report – U.At the moment

    May 24, 2026

    Did Mark Cuban Promote Bitcoin on the Backside? – U.Immediately

    May 24, 2026

    HYPE Hits New All-Time Excessive as BTC, ETH, and XRP Rebound: Weekend Watch

    May 24, 2026

    Bitcoin Spot ETFs Bleed $1.26 Billion In Largest Internet Outflows In 3 Months – Particulars | Bitcoinist.com

    May 24, 2026

    Why is Bitcoin Down Regardless of Professional-Crypto Kevin Warsh Changing into Fed Chair?

    May 24, 2026

    Financial institution of America Dumps Ethereum and Solana for Bitcoin – U.At this time

    May 24, 2026

    Cathie Wooden’s Bitcoin Crypto Forecast Turns Heads – Right here Is Why the $800K Goal Issues – BlockNews

    May 24, 2026

    Bitcoin ETFs Bleed $1.2 Billion – U.As we speak

    May 24, 2026

    CryptoVideos.net is your premier destination for all things cryptocurrency. Our platform provides the latest updates in crypto news, expert price analysis, and valuable insights from top crypto influencers to keep you informed and ahead in the fast-paced world of digital assets. Whether you’re an experienced trader, investor, or just starting in the crypto space, our comprehensive collection of videos and articles covers trending topics, market forecasts, blockchain technology, and more. We aim to simplify complex market movements and provide a trustworthy, user-friendly resource for anyone looking to deepen their understanding of the crypto industry. Stay tuned to CryptoVideos.net to make informed decisions and keep up with emerging trends in the world of cryptocurrency.

    Top Insights

    High Crypto Gainers At the moment Jan 25- Polkadot, Uniswap, Aptos, Cronos

    January 26, 2025

    Ripple, SEC Ask Court docket to Dissolve XRP Injunction, Launch $125M in Escrow – Decrypt

    June 15, 2025

    Bitcoin Layer-2 GOAT Community Will Let Customers Stake Dogecoin to Earn Crypto – Decrypt

    November 28, 2024

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    • Home
    • Privacy Policy
    • Contact us
    © 2026 CryptoVideos. Designed by MAXBIT.

    Type above and press Enter to search. Press Esc to cancel.