Add .github/copilot-instructions.md for agent onboarding#220
Add .github/copilot-instructions.md for agent onboarding#220
Conversation
Co-authored-by: albertandaluz <176801700+albertandaluz@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Adds a .github/copilot-instructions.md file to onboard AI coding agents with comprehensive context about the FusedKernelLibrary repository, covering build system, CI, testing, core concepts, code style, and common workarounds.
Changes:
- New
copilot-instructions.mddocumenting project overview, repo structure, build/CI setup, test infrastructure, core API concepts, code style, and how to add new operations.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
clarifty that the macros exists, but we don't build and test with them and will soon be removed
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…-file-another-one' into copilot/add-copilot-instructions-file-another-one * origin/copilot/add-copilot-instructions-file-another-one: Update .github/copilot-instructions.md Update .github/copilot-instructions.md
Adds a
copilot-instructions.mdto give a coding agent the context needed to work efficiently in this repo without exploratory overhead.Contents
executeOperations), version, header-only natureinclude/,cmake/,tests/,utests/,benchmarks/ENABLE_CUDA,CUDA_ARCH,BUILD_TEST, etc.), Linux/Windows build commandsg++-13,clang++-21,cl,clang-cl), CUDA 12.9/13.0, and the convention of settingCC/CXX/CUDACXXvia env vars (not-Dflags).hfiles are auto-discovered,ONLY_CU/ONLY_CPUmarkers,launch()convention, how to add a testReadType,WriteType,UnaryType,BinaryType,ReadBackType, etc.),InstantiableOperationwrappers and aliases (Read<>,Write<>,Unary<>, …), DPPs, key data types, fusion API (.then()/operator&), compiler macros, NVRTC supportfkrules.ninjaempty nvcc path, MSVC/bigobj+/Zc:preprocessor, template depth, CUDAall-arch filtering below sm_70InstantiableOperation💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.