Skip to main content

Overview

Neurenix provides comprehensive CUDA support for NVIDIA GPUs, enabling high-performance deep learning and scientific computing. The framework includes support for:
  • CUDA compute operations
  • NVIDIA Tensor Cores for mixed precision
  • cuDNN for optimized neural network primitives
  • cuBLAS for accelerated linear algebra
  • TensorRT for inference optimization
  • Multi-GPU training and inference

Requirements

  • NVIDIA GPU with compute capability 3.5 or higher
  • CUDA Toolkit 11.0 or later
  • cuDNN 8.0 or later (optional but recommended)
  • TensorRT 8.0 or later (optional, for inference optimization)

Installation

Install Neurenix with CUDA support:

Device Management

Check CUDA Availability

Get Device Properties

Set Current Device

Memory Management

Allocate Memory

Memory Transfer

Memory Information

NVIDIA Tensor Cores

Overview

Tensor Cores provide accelerated mixed-precision matrix operations on compatible GPUs (Volta, Turing, Ampere, Hopper architectures).

Precision Modes

Optimized Matrix Multiplication

Model Optimization

Streams and Asynchronous Execution

Create Streams

Event Synchronization

Multi-GPU Training

Data Parallel

Distributed Training

Performance Optimization

Automatic Mixed Precision (AMP)

Kernel Fusion

Memory Optimization

Profiling and Debugging

CUDA Profiler

Memory Profiling

Synchronous Debugging

Environment Variables

Common Issues

Out of Memory

Performance Issues

See Also