Repository navigation
docs: demonstrate workspace inference in README - #60
Open
kalidatuna wants to merge 1 commit into
Open
kalidatuna wants to merge 1 commit into
kalidatuna wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The existing README already has the badge, canonical links and Related projects section requested in #58. The remaining example uses the allocating API and does not check parsing or graph loading. This change replaces it with a caller-owned workspace inference helper, checks setup and execution results, and explains the required buffer setup and the allocation boundary. The existing tests and usage guide provide more detail. Adds an Unreleased changelog entry as required by CONTRIBUTING.md.
Related issue
Closes #58. Related audit: #57.
Type of change
How it was verified
cmake -S . -B build -DCMAKE_BUILD_TYPE=Debugcmake --build build --parallel 2ctest --test-dir build --output-on-failure: 46/46 passed.cc -std=c11 -Wall -Wextra -Werror, linked it against the built library, and executed a small Input-to-Output graph using bound workspace tensors. Verified a two-frame average of 3.0 and that zero-step and parse errors are returned.git diff --checkpassed.The
justexecutable is not installed; the equivalent CMake configure/build and ctest commands from its recipes were run directly. No runtime code, graph semantics, allocation or ABI changed. Release, sanitizer and target-device tests were not run locally. The documentation was prepared with AI assistance; the described tests were actually executed.Checklist