Python API reference — nvMatmulHeuristics
Extended version of NvMatmulHeuristicsInterface that manages discovery profiles internally and allows precision to be specified per-call rather than at construction time. Initialize the extended interface. backend: Target backend type path: Path to nvMatmulHeuristics library flags: Flags to use for operations load_discovery_implicitly: Whether to automatically load discovery sets when needed gpu: Optional GPU to use. If None, no GPU will be set. Override to track loaded discovery sets. matmulLayout: Matrix layout hardware_descriptor: Hardware descriptor precision: Optional precision override True if the discovery set was loaded successfully Get GEMM configurations with optional precision override. problem: Problem configuration count: Number of configurations to retrieve precision: Optional precision override List of kernel configurations Get GEMM configurations with custom backend and optional precision override. problem: Problem configuration count: Number of configurations to retrie
Python API reference # class nvMatmulHeuristics. GemmConfig # Bases: object A GEMM kernel configuration. class nvMatmulHeuristics. MatmulProblem # Bases: object Description of a matrix multiplication problem. class nvMatmulHeuristics. NvMatmulHeuristicsTarget ( value ) # Bases: IntEnum Enumeration of supported heuristic target libraries and frameworks. GENERIC = 0 # NVFUSER = 1 # CUTLASS = 2 # TRITON = 3 # CUTLASS3 = 4 # RESERVED_1 = 5 # RESERVED_2 = 6 # END = 7 # class nvMatmulHeuristics. NvMatmulHeuristicsFlags ( value ) # Bases: IntEnum Bit-flag options controlling nvMatmulHeuristics behavi
Explore this link on the map →saved by
related reading
- Worklog: Optimising GEMM on NVIDIA H100 for cuBLAS-like Performance (WIP) – Hamza's Bloghamzaelshafie.bearblog.dev
- CVPR2023_eff_tutorial_molchanov.pdfnvlabs.github.io
- Inside NVIDIA GPUs: Anatomy of high performance matmul kernels - Aleksa Gordićaleksagordic.com
- GPU Performance Background User's Guide - NVIDIA Docsdocs.nvidia.com
- NVIDIA Tensor Core Evolution: From Volta To Blackwellnewsletter.semianalysis.com
- How to Optimize a CUDA Matmul Kernel for cuBLAS-like Performance: a Worklogsiboehm.com
- All About Rooflines | How To Scale Your Modeljax-ml.github.io
- Strangely, Matrix Multiplications on GPUs Run Faster When Given "Predictable" Data! [short]thonking.ai
- GitHub - wangzyon/NVIDIA_SGEMM_PRACTICE: Step-by-step optimization of CUDA SGEMM · GitHubgithub.com
- The Best GPUs for Deep Learning in 2023 — An In-depth Analysistimdettmers.com
- Outperforming cuBLAS on H100: a Worklogcudaforfun.substack.com
- CUTLASS: Fast Linear Algebra in CUDA C++ | NVIDIA Technical Blogdeveloper.nvidia.com