Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • TRADE
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

Stablecoin startups surpass 2021 venture capital peaks as institutional money spills.

June 28, 2025

Gala Games improves leader board rewards and introduces preference systems.

June 20, 2025

Ether Leeum Whale starts a $ 11 million leverage betting in the 30% increase in ETH prices.

June 12, 2025
Add A Comment

Comments are closed.

Recent Posts

Looking for an Affordable Crypto PR Agency? Here’s What to Know Before You Spend

July 3, 2025

Crypto PR Packages for Startups: What You Need & How to Choose the Right One

July 3, 2025

Cheap Crypto Press Release: How to Promote Your Project Without Overpaying

July 2, 2025

The Ultimate Guide to Crypto Public Relations Packages

July 2, 2025

Submit Your Website to Crypto Directories and Boost Your Visibility Instantly

July 2, 2025

Cardano (ADA) -It is not damaged, but there is no fireworks that can be moved yet.

July 2, 2025

Verifiable OffChain Compute Framework Powering AI Applications

July 2, 2025

How to Start a Crypto Press Release Side Hustle and Keep 100% Profit (Step-by-Step Guide)

July 2, 2025

Cryptocurrency PR: How to Build Trust and Exposure in Web3

July 2, 2025

WEMADE & Redlab Unleash Web3 MMORPG – Global Pre-Registration Open For Aug 2025

July 2, 2025

Crypto PR: The Ultimate Guide to Public Relations in the Blockchain Era

July 2, 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

Looking for an Affordable Crypto PR Agency? Here’s What to Know Before You Spend

July 3, 2025

Crypto PR Packages for Startups: What You Need & How to Choose the Right One

July 3, 2025

Cheap Crypto Press Release: How to Promote Your Project Without Overpaying

July 2, 2025
Most Popular

Bitcoin mining revolution with free cloud mining and sustainable technology

June 3, 2025

Heroes of Mavia surpasses 1 million downloads and ranks first in global app stores before token launch

February 5, 2024

Bitcoin and encryption in $ 1,580,000 BTC Plummets for $ 86,141 in 24 hours

February 25, 2025
  • 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.