agentleFS
NVIDIAKnown publisherNVIDIA/MatX/AGENTS.md

MatX

AGENTS.md1.4k starsChanged 6 months agoBSD-3-ClauseView on GitHub

When adding or changing accelerated backends such as CUDA, cuBLAS, cuSolver, cuFFT, or MathDx paths, preserve the existing non-accelerated behavior unless the task explicitly calls for a breaking change. Prefer focused tests that compare the new backend against an existing trusted MatX path, and include negative tests for unsupported shape, dtype, rank, or configuration combinations when applicable.

Trending

Quiet since August.about the whole repository

Jan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 2 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the NVIDIA/MatX repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about NVIDIA/MatX

The biggest 5 of 16 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 16

Talked about on GitHub and Hacker News (16 times).

On GitHub · 15

10 more on GitHub

On Hacker News · 1

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every new public function, operator, transform, or backend path should include accompanying unit tests and documentation updates.

    line 14
  2. Distinctive:

    When adding or changing accelerated backends such as CUDA, cuBLAS, cuSolver, cuFFT, or MathDx paths, preserve the existing non-accelerated …

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Overview

MatX is a C++20 numerical computing library targeting both CPUs and NVIDIA GPUs. It tries to use syntax familiar to both Python and MATLAB users.

Environment Setup

MatX is a header-only library, but building examples, tests, and benchmarks requires a build environment with CMake, CUDA Toolkit, and a supported C++ host compiler. The current versions required for each dependency are listed in @docs_input/build.rst. For a reproducible build environment, users can build the Docker container in the @.devcontainer directory using the create_base_container.sh script. The python library hpccm is required to create the Dockerfile.

Compiling and Running

For use in external projects, MatX simply needs to be included by #include <matx.h>. To build unit tests the use the CMake option MATX_BUILD_TESTS=ON, benchmarks MATX_BUILD_BENCHMARKS=ON, and examples MATX_BUILD_EXAMPLES=ON. Individual tests can be compiled separately via different targets output from CMake.

Development Expectations

Every new public function, operator, transform, or backend path should include accompanying unit tests and documentation updates. Tests should cover the supported types, ranks, batching behavior, and important error or fallback cases for the new behavior. Documentation should describe how to use the feature, required build options or dependencies, and any limitations that would affect users or future maintainers. Any change to operators should also verify @docs_input/executor_compatibility.rst and update it if executor support, limitations, or backend requirements changed.

When adding or changing accelerated backends such as CUDA, cuBLAS, cuSolver, cuFFT, or MathDx paths, preserve the existing non-accelerated behavior unless the task explicitly calls for a breaking change. Prefer focused tests that compare the new backend against an existing trusted MatX path, and include negative tests for unsupported shape, dtype, rank, or configuration combinations when applicable.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.