• Live Crypto Prices
  • Crypto News
    • Worldwide
      • Bitcoin
      • Ethereum
      • Altcoin
      • Blockchain
      • Regulation
    • Australian Crypto News
  • Education
    • Cryptocurrency For Beginners
    • Where to Buy Cryptocurrency
    • Where to Store Cryptos
    • Cryptocurrency Tax in Australia 2021
No Result
View All Result
CryptoABC.net
No Result
View All Result

Numbast Bridges CUDA C++ and Python Ecosystems

October 25, 2024
in Blockchain
Reading Time: 2min read
0 0
A A
0
Nvidia Plans to add Innovation in the Metaverse with Software, Marketplace Deals
0
SHARES
5
VIEWS
ShareShareShareShareShare


Luisa Crawford
Oct 25, 2024 05:33

Numbast introduces an automated pipeline to convert CUDA C++ APIs into Numba bindings, enhancing Python developers’ access to CUDA’s performance.





The technological gap between Python developers and the CUDA C++ ecosystem is set to narrow significantly with the introduction of Numbast, according to the NVIDIA Technical Blog. This innovative tool automates the conversion of CUDA C++ APIs into Numba bindings, enhancing the performance capabilities accessible to Python developers.

Bridging the Gap

Numba has long enabled Python developers to write CUDA kernels using a syntax similar to C++. However, the vast array of libraries exclusive to CUDA C++, such as the CUDA Core Compute Libraries and cuRAND, remained out of reach for Python users. Manually binding each library to Python has been a cumbersome and error-prone process.

Introducing Numbast

Numbast addresses this issue by establishing an automated pipeline that reads top-level declarations from CUDA C++ header files, serializes them, and generates Numba extensions. This process ensures consistency and keeps Python bindings in sync with updates in CUDA libraries.

Demonstrating Numbast’s Capabilities

An illustrative example of Numbast’s functionality is the creation of Numba bindings for a simple myfloat16 struct, inspired by CUDA’s float16 header. This demo showcases how C++ declarations are transformed into Python-accessible bindings, allowing developers to operate with CUDA’s performance advantages within a Python environment.

Practical Application

One of the first supported bindings through Numbast is the bfloat16 data type, which can interoperate with PyTorch’s torch.bfloat16. This integration enables the development of custom compute kernels that leverage CUDA intrinsics for efficient processing.

Architecture and Functionality

Numbast comprises two main components: AST_Canopy, which parses and serializes C++ headers, and the Numbast layer itself, which generates Numba bindings. AST_Canopy ensures environment detection at runtime and offers flexibility in compute capability parsing, while Numbast serves as the translation layer between C++ and Python.

Performance and Future Prospects

Bindings generated with Numbast are optimized through foreign function invocation, with future enhancements expected to further close the performance gap between Numba kernels and native CUDA C++ implementations. Upcoming releases promise additional bindings, including NVSHMEM and CCCL, expanding the tool’s utility.

For more information, visit the NVIDIA Technical Blog.

Image source: Shutterstock


Credit: Source link

ShareTweetSendPinShare
Previous Post

Analyzing The Effect of Trump’s Political Agenda On Crypto Markets

Next Post

Chainlink Joins Bitcoin as Cardano Integrates $1.3T in BTC Liquidity

Next Post
Chainlink Joins Bitcoin as Cardano Integrates $1.3T in BTC Liquidity

Chainlink Joins Bitcoin as Cardano Integrates $1.3T in BTC Liquidity

You might also like

Analyst Charts Ethereum Long-Term Roadmap To $16,000 – There’s No Need To Panic

Ethereum Foundation Details Clear Signing Standards to Fight Phishing

June 21, 2026
VanEck flags $50B miner funding gap as Polymarket pegs BTC >$54K at 99.95%

Tech-stock slump rattles crypto as Polymarket puts 99% on BTC above $54K

June 26, 2026
US Senate CBDC Ban Puts Fed Digital Dollar Plans On Ice Unti

US Senate CBDC Ban Puts Fed Digital Dollar Plans On Ice Unti

June 23, 2026
Here’s How High The Bitcoin Price Will Climb If It Breaks The Current Bear Trend

Bitcoin Analysts Split Between Buyer Demand And Resistance C

June 21, 2026
KOSPI Shock Sends Fresh Warning Across Bitcoin And Risk Asse

KOSPI Shock Sends Fresh Warning Across Bitcoin And Risk Asse

June 23, 2026
Schwab Bets Big on Prediction Markets – But Keeps It Strictly Wall Street

Schwab Bets Big on Prediction Markets – But Keeps It Strictly Wall Street

June 22, 2026
CryptoABC.net

This is an Australian online news/education portal that aims to provide the latest crypto news, real-time updates, education and reviews within Australia and around the world. Feel free to get in touch with us!

What's New Here!

Fed Likely Holds Rate as Market Bets Persist on July Decision

GOP affordability feud hits headlines as Polymarket’s Newsom slips to 20.65%

June 27, 2026
XRP Prepares for July Bounce-Back as Price History Points to

XRP Prepares for July Bounce-Back as Price History Points to

June 27, 2026

Subscribe Now

  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

© 2021 cryptoabc.net - All rights reserved!

No Result
View All Result
  • Live Crypto Prices
  • Crypto News
    • Worldwide
      • Bitcoin
      • Ethereum
      • Altcoin
      • Blockchain
      • Regulation
    • Australian Crypto News
  • Education
    • Cryptocurrency For Beginners
    • Where to Buy Cryptocurrency
    • Where to Store Cryptos
    • Cryptocurrency Tax in Australia 2021

© 2021 cryptoabc.net - All rights reserved!

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
Please enter CoinGecko Free Api Key to get this plugin works.