DocumentationNeurondB Documentation

Metal Support

Overview

Metal support enables GPU acceleration on Apple Silicon (M1, M2, M3) Macs.

Configuration

postgresql.conf

shared_preload_libraries = 'neurondb'
neurondb.gpu_enabled = true
neurondb.gpu_backend = 'metal'

GPU Operations

Metal-accelerated vector operations

-- Metal-accelerated vector operations
SELECT vector_l2_distance_gpu(embedding, query) AS distance
FROM documents;

Learn More

For detailed documentation on Metal setup and Apple Silicon optimization, visit: Metal Support Documentation

Related Topics