Close Menu
AsiaTokenFundAsiaTokenFund
  • Home
  • Crypto News
    • Bitcoin
    • Altcoin
  • Web3
    • Blockchain
  • Trading
  • Regulations
    • Scams
  • Submit Article
  • Contact Us
  • Terms of Use
    • Privacy Policy
    • DMCA
What's Hot

Dogecoin Slips Under Crucial Support as Investors Rotate Into 50x Potential Play Remittix

August 9, 2025

Coinpedia Digest: This Week’s Crypto News Highlights | 9th Aug, 2025

August 9, 2025

VivoPower Aims to Become the First US Firm to Offer Exposure in Ripple and XRP 

August 9, 2025
Facebook X (Twitter) Instagram
Facebook X (Twitter) YouTube LinkedIn
AsiaTokenFundAsiaTokenFund
ATF Capital
  • Home
  • Crypto News
    • Bitcoin
    • Altcoin
  • Web3
    • Blockchain
  • Trading
  • Regulations
    • Scams
  • Submit Article
  • Contact Us
  • Terms of Use
    • Privacy Policy
    • DMCA
AsiaTokenFundAsiaTokenFund

Numbast Bridges CUDA C++ and Python Ecosystems

0
By Aggregated - see source on October 25, 2024 Blockchain
Share
Facebook Twitter LinkedIn Pinterest Email


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

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Tezos (XTZ) Surges 8.89% as Bulls Target $1.10 Resistance Level

August 9, 2025

Litecoin (LTC) Price Surges to $125 as Institutional Interest and ETF Hopes Drive 25% Weekly Rally

August 9, 2025

Crypto Memecoin Group Behind WNBA Sex Toy Incidents: Report

August 8, 2025
Leave A Reply Cancel Reply

What's New Here!

Dogecoin Slips Under Crucial Support as Investors Rotate Into 50x Potential Play Remittix

August 9, 2025

Coinpedia Digest: This Week’s Crypto News Highlights | 9th Aug, 2025

August 9, 2025

VivoPower Aims to Become the First US Firm to Offer Exposure in Ripple and XRP 

August 9, 2025

Could Reduced Reserves Fuel the Next Shiba Inu Price Rally?

August 9, 2025
AsiaTokenFund
Facebook X (Twitter) LinkedIn YouTube
  • Home
  • Crypto News
    • Bitcoin
    • Altcoin
  • Web3
    • Blockchain
  • Trading
  • Regulations
    • Scams
  • Submit Article
  • Contact Us
  • Terms of Use
    • Privacy Policy
    • DMCA
© 2025 asiatokenfund.com - All Rights Reserved!

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

Ad Blocker Enabled!
Ad Blocker Enabled!
Our website is made possible by displaying online advertisements to our visitors. Please support us by disabling your Ad Blocker.