Skip to main content

Mojo module

mma

Matrix multiply-accumulate operations (deprecated - use gpu.compute.mma).

This module is deprecated. For new code, import from the gpu.compute.mma module instead:

# Deprecated:
from gpu.mma import mma, ld_matrix, st_matrix

# Recommended:
from gpu.compute.mma import mma, ld_matrix, st_matrix

This module provides warp-matrix-matrix-multiplication (WMMA) and tensor core operations for GPU programming.

Was this page helpful?