CryptoSpiel.com
No Result
View All Result
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams
No Result
View All Result
CryptoSpiel.com
No Result
View All Result

Numbast Bridges CUDA C++ and Python Ecosystems

October 25, 2024
in Blockchain
Reading Time: 2 mins read
A A
0
Nvidia Plans to add Innovation in the Metaverse with Software, Marketplace Deals
0
SHARES
9
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

RELATED POSTS

PLTR Price Prediction: Bulls Stalling Below $177 — Flush to $170 Before the Next Leg Higher

COIN Price Prediction: Smart Money is Long, But the Earnings Wreckage Has a Ceiling — $195 or Breakdown

ARB Price Prediction: Overbought at $0.17 — Pullback First, Then a Run at $0.20?

Buy JNews
ADVERTISEMENT
ShareTweetSendPinShare
Previous Post

X Empire’s Token Landed on Bybit with a Splash: Bybit Breaks Airdrop Records and Offers 920,000,000 X in Rewards

Next Post

ElevenLabs and Pictory Enhance AI Video Creation with Expanded Language Support

Related Posts

PLTR Price Prediction: The $186 Wall — Bearish Derivatives Pressure vs. Explosive AI Fundamentals
Blockchain

PLTR Price Prediction: Bulls Stalling Below $177 — Flush to $170 Before the Next Leg Higher

September 8, 2026
COIN Price Prediction: Smart Money is Long, But the Earnings Wreckage Has a Ceiling — $195 or Breakdown
Blockchain

COIN Price Prediction: Smart Money is Long, But the Earnings Wreckage Has a Ceiling — $195 or Breakdown

September 8, 2026
ARB Price Prediction: Overbought at $0.17 — Pullback First, Then a Run at $0.20?
Blockchain

ARB Price Prediction: Overbought at $0.17 — Pullback First, Then a Run at $0.20?

September 8, 2026
Next Post
Brazilian fintech giant XP Inc Launches Crypto Trading Platform XTAGE

ElevenLabs and Pictory Enhance AI Video Creation with Expanded Language Support

Nvidia Plans to add Innovation in the Metaverse with Software, Marketplace Deals

NVIDIA CEO Advocates for India's Autonomous AI Development

Recommended Stories

Here Are the Next Bullish Targets

Here Are the Next Bullish Targets

September 2, 2026
META Price Prediction: Stochastic Screaming Overbought While MACD Goes Dark — Brace for the $600 Test

META Price Prediction: Coiled at $616 — Bulls Have 48 Hours to Break $623 or Face a Fast Flush

September 6, 2026
Bitcoin’s best August since 2017 is hiding a major weakness

Bitcoin’s best August since 2017 is hiding a major weakness

August 31, 2026

Popular Stories

  • Winklevoss Twins Continue Crypto Donation Spree With Another $1,000,000 in Bitcoin (BTC)

    Trader Says DeFi Altcoin Aave Witnessing Clear Trend Switch, Updates Forecast on Two Low-Cap Coins

    0 shares
    Share 0 Tweet 0
  • The New RWA Meme Coin Meta Has TradFi CEOs Furious

    0 shares
    Share 0 Tweet 0
  • Ethereum Price Teases Breakout as Bulls Eye a Violent Move

    0 shares
    Share 0 Tweet 0
  • Render Royale May 2025: Winners Unveiled in a Fantastical Display

    0 shares
    Share 0 Tweet 0
  • TSLA Price Prediction: Cybercab Hype Fades Fast — $340 or $376, This Is Where Tesla Breaks

    0 shares
    Share 0 Tweet 0
CryptoSpiel.com

This is an online news portal that aims to provide the latest crypto news, blockchain, regulations and much more stuff like that around the world. Feel free to get in touch with us!

What’s New Here!

  • Uzbekistan Tests Sovereign-Bond-Backed Stablecoin for Payments
  • Cypherpunk Disavows Robinhood Token as Mow Labels ZEC ‘Pump and Dump’
  • Over 90% of France’s Crypto Gains Go Undeclared

Subscribe Now

Loading
  • Live Crypto Prices
  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

© 2021 - cryptospiel.com - All rights reserved!

No Result
View All Result
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams

© 2021 - cryptospiel.com - All rights reserved!

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