Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
Crypto Flexs
Home»ADOPTION NEWS»Numbast bridges the CUDA C++ and Python ecosystems.
ADOPTION NEWS

Numbast bridges the CUDA C++ and Python ecosystems.

By Crypto FlexsOctober 26, 20242 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Numbast bridges the CUDA C++ and Python ecosystems.
Share
Facebook Twitter LinkedIn Pinterest Email

Louisa Crawford
October 25, 2024 05:33

Numbast improves Python developers’ access to CUDA power by introducing an automated pipeline that converts CUDA C++ APIs into Numba bindings.





According to the NVIDIA Technology Blog, the skills gap between Python developers and the CUDA C++ ecosystem will be significantly reduced with the introduction of Numbas. This innovative tool automatically converts CUDA C++ APIs to Numba bindings, increasing performance features accessible to Python developers.

Bridging the gap

Numba has long enabled Python developers to write CUDA kernels using a C++-like syntax. However, an extensive array of CUDA C++-specific libraries, such as CUDA Core Compute Libraries and cuRAND, remained inaccessible to Python users. Manually binding each library to Python was a cumbersome and error-prone process.

About Numbas

Numbast solves this problem by building an automated pipeline that reads the 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 to the CUDA libraries.

Proving the power of Numbas

An example demonstrating the capabilities of Numbas is creating a simple Numba binding. myfloat16 CUDA-inspired structures float16 header. This demo shows how C++ declarations can be converted to Python accessible bindings, allowing developers to take advantage of the performance benefits of CUDA within a Python environment.

practical application

One of the first bindings supported through Numbas is bfloat16 Data types that can interoperate with PyTorch torch.bfloat16. This integration allows the development of custom compute kernels that leverage CUDA’s built-in capabilities for efficient processing.

Architecture and features

Numbas consists of two main components: AST_CanopyThe Numba bindings that parse and serialize C++ headers, and the Numbas layer itself that generates the Numba bindings. AST_Canopy Ensuring environment detection at runtime and providing flexibility in parsing compute functions, Numbast acts as a translation layer between C++ and Python.

Performance and future prospects

Bindings generated with Numbas are optimized over external function calls, and future improvements are expected to further reduce the performance gap between the Numba kernel and the default CUDA C++ implementation. Future releases promise additional bindings, including NVSHMEM and CCCL, to expand the tool’s utility.

For more information, visit the NVIDIA Technology Blog.

Image source: Shutterstock


Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Floating Point 8: Low precision AI training innovation

June 4, 2025

Bitcoin (BTC) is faced with market volatility in economic changes.

June 4, 2025

BITMEX is a system downtime plan for maintenance on June 14, 2025

June 4, 2025
Add A Comment

Comments are closed.

Recent Posts

Price prediction of BTC, ETH, XRP, BNB, SOL, DOGE, ADA, Sui, Hype, Link

June 4, 2025

Did the Altcoin season end in 2025? Experts think that it was delayed that it was not dead.

June 4, 2025

Checkpoint #3: June 2025 Stats Ether Leeum Foundation Blog

June 4, 2025

Floating Point 8: Low precision AI training innovation

June 4, 2025

Is Ether Lee leading capital rotation to Bitcoin Dominance Falls -Altcoin Rally?

June 4, 2025

Bitcoin (BTC) is faced with market volatility in economic changes.

June 4, 2025

Huma joins the Global Dollar Network and develops Stablecoin adoption in solana.

June 4, 2025

Vechain is a crawling for the Renaissance upgrade among the veterinarian price pressure.

June 4, 2025

Director Trezor: What is the best hardware wallet in 2025?

June 4, 2025

Binance cracks down on bot agriculture in Binance Alpha.

June 4, 2025

BITMEX is a system downtime plan for maintenance on June 14, 2025

June 4, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Price prediction of BTC, ETH, XRP, BNB, SOL, DOGE, ADA, Sui, Hype, Link

June 4, 2025

Did the Altcoin season end in 2025? Experts think that it was delayed that it was not dead.

June 4, 2025

Checkpoint #3: June 2025 Stats Ether Leeum Foundation Blog

June 4, 2025
Most Popular

The SEC accuses Ramil Palafox that it has operated a $ 1.98 billion encryption fraud.

April 24, 2025

Stablecoins: Global Payment and the Future of the Future

May 16, 2025

AssemblyAI Integrates with Activepieces to Enhance Codeless Automation

September 19, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

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